/* ===== WARM RUSTIC THEME — Pūjalgi ===== */

:root {
  --green: #2d5016;
  --brown: #8B6914;
  --cream: #FFF8E7;
  --orange: #C4652A;
  --dark-brown: #3a2a0a;
  --celebration: #5C3D2E;
  --soft-white: #FFFDF5;
  --gallery-bg: #F5EFE0;
  --text: #2a2118;
  --text-light: #5a4a3a;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--brown);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(42, 33, 24, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--cream);
}

.lang-switcher {
  display: flex;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.7;
}

.lang-active { font-weight: 700; opacity: 1; }
.lang-inactive { cursor: pointer; opacity: 0.5; }
.lang-inactive:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.1) sepia(0.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 33, 24, 0.3) 0%,
    rgba(42, 33, 24, 0.1) 40%,
    rgba(42, 33, 24, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
}

.hero-logo-area { margin-bottom: 16px; }

.hero-leaf {
  width: 60px;
  height: 60px;
  opacity: 0.8;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--cream);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.4s;
  text-decoration: none;
}

.hero-cta:hover {
  background: var(--cream);
  color: var(--dark-brown);
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--dark-brown);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-title.light { color: var(--cream); }
.section-title.light::after { background: var(--cream); opacity: 0.5; }

/* ===== ABOUT ===== */
.about { background: var(--cream); }

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-text strong { color: var(--green); }

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  filter: sepia(0.05) saturate(1.1);
}

.bio-farm {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background: var(--soft-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(139, 105, 20, 0.1);
}

.bio-farm-image img {
  border-radius: var(--radius-sm);
  filter: sepia(0.05) saturate(1.1);
}

.bio-farm-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 16px;
}

.bio-farm-text p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-to-celebration { background: var(--cream); }
.wave-from-celebration { background: var(--celebration); }
.wave-to-gallery { background: var(--cream); }
.wave-to-contact { background: var(--gallery-bg); }

/* ===== CELEBRATION ===== */
.celebration {
  background: var(--celebration);
  color: var(--cream);
}

.celebration-tagline {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.8;
  margin-top: -32px;
  margin-bottom: 48px;
}

.celebration-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.celebration-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 28px;
}

.celebration-features {
  list-style: none;
  margin-bottom: 24px;
}

.celebration-features li {
  font-size: 1.05rem;
  padding: 8px 0;
  opacity: 0.9;
}

.celebration-contact {
  margin-bottom: 28px;
  opacity: 0.85;
}

.celebration-contact p {
  margin-bottom: 6px;
}

.celebration-contact a {
  color: var(--cream);
  opacity: 0.9;
}

.celebration-contact a:hover {
  opacity: 1;
  color: var(--orange);
}

.celebration-gallery {
  columns: 2;
  column-gap: 10px;
}

.celebration-gallery img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  filter: sepia(0.05) brightness(1.05);
  transition: transform 0.4s, filter 0.4s;
}

.celebration-gallery img:hover {
  transform: scale(1.03);
  filter: sepia(0) brightness(1.1);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-warm {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.btn-warm:hover {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.celebration .btn-warm:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--dark-brown);
}

/* ===== SPACES ===== */
.spaces { background: var(--cream); }

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.space-card {
  display: block;
  background: var(--soft-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(139, 105, 20, 0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.space-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  color: inherit;
}

.space-card-img {
  height: 220px;
  overflow: hidden;
}

.space-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.05) saturate(1.1);
  transition: transform 0.6s;
}

.space-card:hover .space-card-img img {
  transform: scale(1.08);
}

.space-card-body {
  padding: 20px 24px 24px;
}

.space-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark-brown);
  margin-bottom: 8px;
}

.space-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.space-card-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: transform 0.3s;
}

.space-card:hover .space-card-link {
  transform: translateX(4px);
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--gallery-bg);
}

.gallery-grid {
  columns: 4;
  column-gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: sepia(0.05) saturate(1.05);
  transition: transform 0.5s, filter 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: sepia(0) saturate(1.2) brightness(1.05);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--dark-brown);
  color: var(--cream);
}

.contact-compact {
  padding: 60px 0;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.contact-links-center {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--cream);
}

.contact-item a {
  color: rgba(255, 248, 231, 0.8);
}

.contact-item a:hover { color: var(--orange); }

.contact-item p {
  color: rgba(255, 248, 231, 0.8);
  margin: 0;
}

.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255, 248, 231, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 231, 0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 248, 231, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 248, 231, 0.1);
}

.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-map iframe { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-brown);
  color: var(--cream);
  padding: 0 0 40px;
  position: relative;
}

.footer-leaves { line-height: 0; }
.footer-leaves svg { display: block; width: 100%; height: 40px; }

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 248, 231, 0.1);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-brand p {
  color: rgba(255, 248, 231, 0.6);
  font-size: 0.9rem;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  color: rgba(255, 248, 231, 0.5);
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--orange); }

.footer-nav { display: flex; gap: 24px; }

.footer-nav a {
  color: rgba(255, 248, 231, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--cream); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  color: rgba(255, 248, 231, 0.4);
  font-size: 0.85rem;
}

/* ===== LIGHTBOX / SLIDESHOW ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  transition: opacity 0.2s;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 10;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 8px;
  opacity: 0.6;
  transition: opacity 0.3s, background 0.3s;
  z-index: 10;
  line-height: 1;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.2);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-content .about-image { order: -1; }

  .bio-farm {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .celebration-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .celebration-tagline { margin-top: -24px; margin-bottom: 36px; }

  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid { columns: 3; }

  .contact-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(42, 33, 24, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s ease;
  }

  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }

  .section { padding: 48px 0; }
  .section-title { margin-bottom: 28px; font-size: 1.8rem; }

  .about-content { gap: 24px; margin-bottom: 36px; }
  .bio-farm { padding: 20px; gap: 16px; }
  .bio-farm-text h3 { font-size: 1.3rem; }

  .celebration-tagline { margin-top: -16px; margin-bottom: 28px; font-size: 1rem; }

  .spaces-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .space-card-img { height: 180px; }

  .contact-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-links-center { flex-direction: column; align-items: stretch; }
  .contact-links-center .btn { text-align: center; }

  .gallery-grid { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }

  .celebration-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-wave svg { height: 50px; }

  .contact-links { flex-direction: column; }
  .contact-links .btn { text-align: center; }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 8px 14px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
