@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* =====================
   BRAND CSS TOKENS
   ===================== */
:root {
    --gold-light: #ecca52;
    --gold:       #d4a017;
    --gold-dark:  #b8860b;

    /* Light mode surfaces */
    --surface-1:  #ffffff;
    --surface-2:  #fbfcfb;
    --surface-3:  #f3f6f4;
    --text-1:     #041828;
    --text-2:     #041828;
    --text-3:     #041828;
    --border:     #e1eae2;
}

.dark {
    /* Dark mode surfaces */
    --surface-1:  #041828;
    --surface-2:  #0b2338;
    --surface-3:  #17354f;
    --text-1:     #f3f7f4;
    --text-2:     #d6e4dc;
    --text-3:     #8fb0a0;
    --border:     rgba(212,160,23,0.18);
}

/* =====================
   NAVY GRADIENT BACKGROUND
   Applied to large dark panels (footer, emerald/dark sections).
   ===================== */
.navy-gradient,
section.bg-emerald-deep,
section.bg-dark-900,
section.bg-dark-950,
.dark section.dark\:bg-dark-900,
.dark section.dark\:bg-dark-950 {
    background-image: radial-gradient(ellipse at 50% 15%, #1C3A57 0%, #0B2338 45%, #041828 75%, #031524 100%);
}

/* =====================
   TYPOGRAPHY
   ===================== */
body {
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.font-display { font-family: 'Playfair Display', serif; }

/* =====================
   GOLD GRADIENT UTILITIES
   ===================== */
.gold-gradient-bg {
    background: linear-gradient(135deg, #b8860b 0%, #e2b52b 25%, #d4a017 50%, #f4e08a 75%, #946a0a 100%);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #d4a017 0%, #f4e08a 30%, #b8860b 70%, #946a0a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================
   GLASS CARD
   Light: translucent white with soft shadow
   Dark:  translucent slate with gold-glow border
   ===================== */
.glass-card {
    background:   rgba(255, 255, 255, 0.85);
    border:       1px solid rgba(0,0,0,0.07);
    box-shadow:   0 4px 20px rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:   all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255,255,255,0.98);
    border-color: rgba(212, 160, 23, 0.45);
    box-shadow:  0 20px 40px -10px rgba(0,0,0,0.12), 0 0 25px -5px rgba(212,160,23,0.18);
    transform:   translateY(-6px);
}

.dark .glass-card {
    background: rgba(11, 35, 56, 0.55);
    border:     1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.dark .glass-card:hover {
    background:   rgba(15, 56, 74, 0.8);
    border-color: rgba(212, 160, 23, 0.45);
    box-shadow:   0 20px 40px -15px rgba(0,0,0,0.5), 0 0 25px -5px rgba(212,160,23,0.18);
}

/* =====================
   STICKY HEADER GLASS
   ===================== */
.glass-nav {
    background:      rgba(255,255,255,0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom:   1px solid rgba(0,0,0,0.07);
}

.dark .glass-nav {
    background:    rgba(15, 56, 74, 0.88);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =====================
   UNDERLINE HOVER EFFECT
   ===================== */
.premium-border-hover {
    position: relative;
    overflow: hidden;
}

.premium-border-hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, #d4a017, #f4e08a, #b8860b);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.premium-border-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =====================
   HERO SLIDER HEIGHT
   ===================== */
.hero-slider-height { height: 650px; }

@media (max-width: 768px) {
    .hero-slider-height { height: 500px; }
}

/* =====================
   CUSTOM SCROLLBAR
   ===================== */
::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: var(--surface-2); }
::-webkit-scrollbar-thumb  { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* =====================
   DARK MODE TOGGLE ANIMATION
   ===================== */
#theme-toggle {
    cursor: pointer;
    transition: all 0.2s ease;
}

#theme-toggle:active {
    transform: scale(0.92);
}
/* =====================
   ROYAL THEME — gold buttons read best with deep-green text
   ===================== */
.bg-gold-500.text-white, .bg-gold-600.text-white,
[class*="from-gold-"].text-white, [class*="from-gold-"] .text-white { color: #041828; }
.bg-gold-500.text-white:hover, .bg-gold-600.text-white:hover, [class*="from-gold-"].text-white:hover { color: #041828; }
.dark body { background-image: radial-gradient(circle at 15% 0%, rgba(212,160,23,0.06), transparent 40%); }
