@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Jost:wght@200;300;400;500;600&display=swap');

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
============================================ */
:root {
  --forest: #1a3d2b;
  --forest-mid: #2d5a3d;
  --forest-light: #3d7a52;
  --gold: #c9a84c;
  --gold-light: #e8c97e;
  --gold-pale: #f5e6c0;
  --cream: #faf6ee;
  --cream-dark: #f0e8d5;
  --earth: #8b5e3c;
  --earth-dark: #5c3d22;
  --text-dark: #1c1208;
  --text-mid: #4a3520;
  --text-light: #7a6045;
  --white: #ffffff;
  --shadow-soft: 0 8px 40px rgba(26, 61, 43, 0.12);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height: 80px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  cursor: none;
}

::selection { background: var(--gold); color: var(--forest); }

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ============================================
   CUSTOM CURSOR
============================================ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, background 0.3s;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

.cursor-ring.hovered {
  width: 56px;
  height: 56px;
  border-color: var(--gold-light);
  opacity: 1;
  background: rgba(201, 168, 76, 0.08);
}

/* ============================================
   LOADER
============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold);
  font-size: 2rem;
  letter-spacing: 0.15em;
  animation: loaderPulse 1.5s ease infinite;
  margin-bottom: 2rem;
}

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: loaderBar 2s ease forwards;
}

.loader-tagline {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(201, 168, 76, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

@keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
@keyframes loaderBar { 0%{width:0} 100%{width:100%} }

/* ============================================
   NAVIGATION
============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(26, 61, 43, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  height: 64px;
}

.navbar.transparent { background: transparent; }

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-main {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.nav-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem;
  color: rgba(201, 168, 76, 0.7);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--forest) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open { display: flex; opacity: 1; }

.mobile-menu a {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--gold-light); transform: scale(1.05); }

/* ============================================
   SECTIONS & UTILITIES
============================================ */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section Labels */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before, .section-label::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  line-height: 1.1;
  color: var(--forest);
}

.section-title.light { color: var(--cream); }

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.6;
  margin-top: 1rem;
}

/* Divider ornament */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}

.ornament-divider::before, .ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornament-divider span {
  color: var(--gold);
  font-size: 1.2rem;
}

/* Gold underline */
.gold-underline {
  display: inline-block;
  position: relative;
}

.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-110%);
  transition: transform 0.5s ease;
  skewX: -15deg;
}

.btn:hover::before { transform: translateX(110%); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--forest);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--forest);
  transform: translateY(-3px);
}

.btn-light {
  background: rgba(255,255,255,0.95);
  color: var(--forest);
}

.btn-light:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Arrow icon */
.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow { transform: translateX(5px); }

/* ============================================
   SCROLL REVEAL ANIMATIONS
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   FLOATING PARTICLES
============================================ */
.particles-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.4);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo-main { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.footer-brand .nav-logo-sub { display: block; margin-bottom: 20px; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(250, 246, 238, 0.65);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(250, 246, 238, 0.65);
  font-size: 0.88rem;
  transition: color 0.3s, padding-left 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p {
  color: rgba(250, 246, 238, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(250, 246, 238, 0.4);
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(250, 246, 238, 0.4);
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* Decorative leaf in footer bg */
.footer-deco {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 400px;
  opacity: 0.04;
  pointer-events: none;
}

/* ============================================
   BACK TO TOP
============================================ */
.back-to-top {
  position: fixed;
  bottom: 40px; right: 40px;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--forest);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-5px); }

/* ============================================
   WHATSAPP FLOAT
============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 100px; right: 38px;
  width: 52px; height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: whatsappPulse 2s ease infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }

@keyframes whatsappPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

/* ============================================
   RESPONSIVE — GLOBAL
============================================ */

/* ---- Tablet (1024px) ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-container { padding: 0 30px; }
}

/* ---- Tablet Portrait (768px) ---- */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .container { padding: 0 20px; }
  .section { padding: 60px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer { padding: 60px 0 0; }

  /* Disable custom cursor on touch */
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  /* Buttons */
  .btn { padding: 14px 28px; font-size: 0.68rem; }

  /* Section labels */
  .section-label { font-size: 0.62rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  /* Back to top & WhatsApp */
  .back-to-top { bottom: 24px; right: 20px; width: 44px; height: 44px; font-size: 1rem; }
  .whatsapp-float { bottom: 80px; right: 18px; width: 46px; height: 46px; font-size: 1.2rem; }
}

/* ---- Mobile (480px) ---- */
@media (max-width: 480px) {
  :root { --nav-height: 58px; }

  .container { padding: 0 16px; }
  .section { padding: 50px 0; }

  .nav-container { padding: 0 16px; }
  .nav-logo-main { font-size: 1.1rem; }
  .nav-logo-sub { font-size: 0.55rem; }

  /* Mobile menu */
  .mobile-menu a { font-size: 1.3rem; padding: 14px 0; }

  /* Footer */
  .footer-brand p { font-size: 0.85rem; }
  .footer-col h4 { font-size: 1rem; }
  .footer-col ul li a { font-size: 0.82rem; }
  .footer-contact-item p { font-size: 0.82rem; }
  .footer-bottom p { font-size: 0.72rem; }
  .footer-bottom-links a { font-size: 0.72rem; }
  .social-link { width: 36px; height: 36px; font-size: 0.8rem; }

  /* Section headings */
  .section-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .section-subtitle { font-size: 0.9rem; }

  /* Buttons */
  .btn { padding: 12px 24px; }
  .btn-primary, .btn-outline { width: 100%; max-width: 300px; justify-content: center; text-align: center; }

  .back-to-top { bottom: 20px; right: 16px; }
  .whatsapp-float { bottom: 74px; right: 14px; }
}

/* ---- Very small (360px) ---- */
@media (max-width: 360px) {
  :root { --nav-height: 56px; }
  .container { padding: 0 12px; }
  .nav-logo-main { font-size: 1rem; }
  .section { padding: 40px 0; }
}