@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --color-forest-green: #0B3D2E;
  --color-emerald-green: #176B4D;
  --color-warm-gold: #D4A84F;
  --color-cream: #F7F4EC;
  --color-white: #FFFFFF;
  --color-charcoal: #17201C;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-charcoal);
}
::-webkit-scrollbar-thumb {
  background: var(--color-forest-green);
  border: 2px solid var(--color-charcoal);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-warm-gold);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

/* Custom Utilities & Premium Styles */
.bg-forest-green { background-color: var(--color-forest-green); }
.bg-emerald-green { background-color: var(--color-emerald-green); }
.bg-warm-gold { background-color: var(--color-warm-gold); }
.bg-cream { background-color: var(--color-cream); }
.bg-charcoal { background-color: var(--color-charcoal); }

.text-forest-green { color: var(--color-forest-green); }
.text-emerald-green { color: var(--color-emerald-green); }
.text-warm-gold { color: var(--color-warm-gold); }
.text-charcoal { color: var(--color-charcoal); }

.border-forest-green { border-color: var(--color-forest-green); }
.border-warm-gold { border-color: var(--color-warm-gold); }

/* Glassmorphism Header & Cards */
.glass-header {
  background: rgba(11, 61, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 79, 0.15);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-light {
  background: rgba(247, 244, 236, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(11, 61, 46, 0.05);
}

/* Gold Accent Lines */
.gold-accent-line {
  position: relative;
}
.gold-accent-line::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-warm-gold);
  border-radius: 2px;
}
.gold-accent-line-center::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-warm-gold);
  border-radius: 2px;
}

/* Premium Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseGold {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 168, 79, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px 5px rgba(212, 168, 79, 0.2);
  }
}

.animate-pulse-gold {
  animation: pulseGold 2.5s infinite ease-in-out;
}

/* Smooth Hero Slider */
.hero-slide {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(11, 61, 46, 0.15);
  border-color: rgba(212, 168, 79, 0.5);
}

.image-zoom-container {
  overflow: hidden;
}
.image-zoom {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.image-zoom-container:hover .image-zoom {
  transform: scale(1.08);
}

/* Accordion Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item.active .accordion-content {
  max-height: 500px; /* arbitrary height to fit contents */
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 61, 46, 0.95);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .hero-slide {
    height: 100%;
  }
}

@keyframes blinkCall {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 0 rgba(249, 115, 22, 0.5);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 14px 8px rgba(249, 115, 22, 0.4);
  }
}

.blink-call {
  animation: blinkCall 1.8s infinite ease-in-out;
}
