/* SLX Stay - main.css - v1.12.0 */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #FAFAF8; color: #1C1C1C; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
ul { list-style: none; }

#main-content { overflow-x: hidden; }

/* CSS muutujad */
:root {
  --color-bg:         #FAFAF8;
  --color-bg-alt:     #F2EDE4;
  --color-text:       #1C1C1C;
  --color-text-muted: #666666;
  --color-accent:     #C9A96E;
  --color-accent-dark:#A8824A;
  --color-border:     #E8E4DC;
  --color-white:      #FFFFFF;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: #1C1C1C;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.section-subtitle {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.03em;
}

/* Nupp */
.btn-primary {
  display: inline-block;
  background: #C9A96E;
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: #A8824A;
  color: #fff;
}

/* =====================
   HEADER & NAV
   ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: #FAFAF8;
  box-shadow: 0 1px 0 #E8E4DC;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
}

.nav-logo a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.site-header.scrolled .nav-logo a {
  color: #1C1C1C;
}

.nav-logo-accent {
  color: #C9A96E;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.site-header.scrolled .nav-links a {
  color: #666;
}

.nav-links a:hover {
  color: #C9A96E;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switcher {
  font-family: Inter, sans-serif;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-divider {
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}

.site-header.scrolled .lang-divider {
  color: #ccc;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  padding: 0;
  font-family: Inter, sans-serif;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.site-header.scrolled .lang-btn {
  color: #999;
}

.lang-btn.active {
  color: #C9A96E;
  font-weight: 500;
}

.nav-book {
  padding: 10px 24px;
  font-size: 12px;
}

.hamburger {
  display: none;
}

/* =====================
   HERO
   ===================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 28, 28, 0.55) 0%,
    rgba(28, 28, 28, 0.1) 50%,
    transparent 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 80px;
  right: 80px;
  color: #fff;
}

.hero-location {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.5);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* =====================
   HIGHLIGHTS
   ===================== */
.highlights-section {
  background: #1C1C1C;
  padding: 28px 0;
}

.highlights-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-family: Inter, sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.highlight-icon {
  color: #C9A96E;
  font-size: 10px;
}

/* =====================
   KIRJELDUS
   ===================== */
.description-section {
  padding: 100px 0;
  background: #FAFAF8;
}

.description-content p {
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 48px;
}

.description-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid #E8E4DC;
  padding-top: 40px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A96E;
}

.detail-value {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #1C1C1C;
}

/* =====================
   GALERII
   ===================== */
.gallery-section {
  padding: 100px 0;
  background: #FAFAF8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.4s;
  aspect-ratio: 1;
}

.gallery-item--large img {
  aspect-ratio: 4/3;
}

.gallery-item img:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.gallery-note {
  text-align: center;
  margin-top: 16px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
}

/* =====================
   MUGAVUSED
   ===================== */
.amenities-section {
  padding: 100px 0;
  background: #F2EDE4;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #1C1C1C;
  padding: 20px;
  background: #FAFAF8;
  border: 0.5px solid #E8E4DC;
  border-radius: 4px;
}

.amenity-icon {
  color: #C9A96E;
  font-size: 10px;
  flex-shrink: 0;
}

/* =====================
   MAJA REEGLID
   ===================== */
.rules-section {
  padding: 100px 0;
  background: #FAFAF8;
}

.rules-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.rule-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rule-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A96E;
}

.rule-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #1C1C1C;
  letter-spacing: 0.02em;
}

/* =====================
   KALENDER
   ===================== */
.calendar-section {
  padding: 100px 0;
  background: #F2EDE4;
}

.calendar-wrapper {
  margin: 40px 0;
}

.calendar-cta {
  text-align: center;
  margin-top: 40px;
}

/* iCal kalender */
.slx-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.slx-calendar__month-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #1C1C1C;
  text-align: center;
  margin-bottom: 16px;
}

/* 7-veeruline grid */
.slx-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  width: 100%;
}

.slx-calendar__wd {
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C9A96E;
  text-align: center;
  padding: 6px 0;
}

.slx-calendar__day {
  font-family: Inter, sans-serif;
  font-size: 12px;
  text-align: center;
  padding: 7px 2px;
  border-radius: 3px;
  line-height: 1;
}

.slx-calendar__day--free {
  color: #1C1C1C;
  background: #fff;
  border: 0.5px solid #E8E4DC;
}

.slx-calendar__day--booked {
  color: #bbb;
  background: #F2EDE4;
  text-decoration: line-through;
}

.slx-calendar__day--past {
  color: #ccc;
  background: transparent;
}

.slx-calendar__day--empty {
  background: transparent;
}

/* =====================
   ASUKOHT
   ===================== */
.location-section {
  padding: 100px 0;
  background: #FAFAF8;
}

.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E8E4DC;
}

.map-wrapper iframe {
  display: block;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: #1C1C1C;
  padding: 80px 0 40px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #F5F5F0;
  margin-bottom: 12px;
}

.footer-logo-accent {
  color: #C9A96E;
}

.footer-tagline {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.footer-btn {
  display: inline-block;
  margin-bottom: 48px;
}

.footer-copy {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #555;
}
