/* Premium Fonts */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Custom Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(-8deg); }
    100% { transform: translateY(0px) rotate(-10deg); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Glass effect for light mode */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Gradient text utilities */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4A373 0%, #B45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-sunset {
    background: linear-gradient(to right, #E88D67, #D97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom DuoTone Icon Styling */
.icon-sunset {
    --fa-primary-color: #5D4037;  /* Espresso */
    --fa-secondary-color: #D4AF37; /* Gold */
    --fa-secondary-opacity: 1;
}

.icon-sunset-reverse {
    --fa-primary-color: #D4AF37;
    --fa-secondary-color: #5D4037;
    --fa-secondary-opacity: 1;
}

/* Premium Card Styles */
.premium-card {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.9);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(212, 175, 55, 0.15); /* Gold shadow */
    border-color: rgba(212, 175, 55, 0.3);
}

.premium-section-title {
    background: linear-gradient(to right, #8E7014 0%, #D4AF37 40%, #F0DEAA 50%, #D4AF37 60%, #8E7014 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    /* Drop shadow for readability on light backgrounds */
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.5));
}

.premium-title {
    background: linear-gradient(90deg, #5D4037 0%, #B08D1E 50%, #5D4037 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.8s ease;
}

.premium-gradient-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B08D1E 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F0DEAA 0%, #D4AF37 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.premium-gradient-btn:hover::before {
    opacity: 1;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Texture Utilities */
.bg-grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

.bg-waves-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 1600 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 400C300 350 500 450 800 400C1100 350 1300 450 1600 400V800H0V400Z' fill='currentColor' fill-opacity='0.05'/%3E%3Cpath d='M0 600C300 550 500 650 800 600C1100 550 1300 650 1600 600V800H0V600Z' fill='currentColor' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

/* ============================================
   STEAM EFFECT - Sauna Atmosphere
   Rising wisps that continuously float upward
   ============================================ */

.steam-container {
    filter: url(#steam-turbulence);
}

/* Main rising animation - continuous upward flow */
@keyframes steamFloat {
    0% {
        transform: translateY(0) translateX(0) scale(0.4);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    40% {
        opacity: 0.5;
        transform: translateY(-35vh) translateX(var(--drift-x, 15px)) scale(0.8);
    }
    70% {
        opacity: 0.25;
        transform: translateY(-65vh) translateX(var(--drift-x2, -10px)) scale(1.2);
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift-x3, 20px)) scale(1.6);
        opacity: 0;
    }
}

/* Organic wobble for realistic movement */
@keyframes steamWobble {
    0%, 100% { 
        border-radius: 60% 40% 55% 45% / 55% 45% 50% 50%;
    }
    25% { 
        border-radius: 45% 55% 50% 50% / 40% 60% 45% 55%;
    }
    50% { 
        border-radius: 50% 50% 40% 60% / 50% 50% 55% 45%;
    }
    75% { 
        border-radius: 55% 45% 55% 45% / 60% 40% 50% 50%;
    }
}

.steam-wisp {
    position: absolute;
    bottom: -15%;
    width: var(--steam-size, 80px);
    height: var(--steam-size, 80px);
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(220, 220, 220, 0.15) 60%,
        transparent 80%
    );
    border-radius: 50%;
    filter: blur(var(--steam-blur, 15px));
    animation: 
        steamFloat var(--rise-duration, 6s) linear infinite,
        steamWobble 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform, opacity;
    pointer-events: none;
}

/* Left edge steam cluster */
.steam-wisp-1 {
    left: 3%;
    --steam-size: 70px;
    --steam-blur: 14px;
    --rise-duration: 5s;
    --delay: 0s;
    --drift-x: 30px;
    --drift-x2: -20px;
    --drift-x3: 35px;
}

.steam-wisp-2 {
    left: 10%;
    --steam-size: 55px;
    --steam-blur: 12px;
    --rise-duration: 4.2s;
    --delay: 1.5s;
    --drift-x: -25px;
    --drift-x2: 30px;
    --drift-x3: -15px;
}

.steam-wisp-3 {
    left: 18%;
    --steam-size: 65px;
    --steam-blur: 16px;
    --rise-duration: 5.5s;
    --delay: 3s;
    --drift-x: 20px;
    --drift-x2: -35px;
    --drift-x3: 25px;
}

/* Center area - very subtle, frames the text */
.steam-wisp-4 {
    left: 38%;
    --steam-size: 100px;
    --steam-blur: 28px;
    --rise-duration: 7s;
    --delay: 0.8s;
    --drift-x: -25px;
    --drift-x2: 20px;
    --drift-x3: -30px;
    opacity: 0.4;
}

.steam-wisp-5 {
    left: 55%;
    --steam-size: 85px;
    --steam-blur: 24px;
    --rise-duration: 6.5s;
    --delay: 4s;
    --drift-x: 30px;
    --drift-x2: -25px;
    --drift-x3: 20px;
    opacity: 0.4;
}

/* Right edge steam cluster */
.steam-wisp-6 {
    right: 15%;
    left: auto;
    --steam-size: 60px;
    --steam-blur: 13px;
    --rise-duration: 4.8s;
    --delay: 2.2s;
    --drift-x: -30px;
    --drift-x2: 25px;
    --drift-x3: -20px;
}

.steam-wisp-7 {
    right: 8%;
    left: auto;
    --steam-size: 75px;
    --steam-blur: 15px;
    --rise-duration: 5.2s;
    --delay: 0.5s;
    --drift-x: 25px;
    --drift-x2: -30px;
    --drift-x3: 35px;
}

.steam-wisp-8 {
    right: 2%;
    left: auto;
    --steam-size: 50px;
    --steam-blur: 11px;
    --rise-duration: 4s;
    --delay: 3.5s;
    --drift-x: -20px;
    --drift-x2: 25px;
    --drift-x3: -25px;
}

/* Extra wisps for density */
.steam-wisp-9 {
    left: 25%;
    --steam-size: 55px;
    --steam-blur: 13px;
    --rise-duration: 4.5s;
    --delay: 1.8s;
    --drift-x: 25px;
    --drift-x2: -20px;
    --drift-x3: 30px;
}

.steam-wisp-10 {
    right: 25%;
    left: auto;
    --steam-size: 60px;
    --steam-blur: 14px;
    --rise-duration: 5s;
    --delay: 2.8s;
    --drift-x: -22px;
    --drift-x2: 28px;
    --drift-x3: -18px;
}

.steam-wisp-11 {
    left: 45%;
    --steam-size: 45px;
    --steam-blur: 10px;
    --rise-duration: 3.8s;
    --delay: 4.5s;
    --drift-x: 15px;
    --drift-x2: -22px;
    --drift-x3: 18px;
    opacity: 0.35;
}

.steam-wisp-12 {
    left: 52%;
    --steam-size: 50px;
    --steam-blur: 12px;
    --rise-duration: 4.3s;
    --delay: 1.2s;
    --drift-x: -18px;
    --drift-x2: 25px;
    --drift-x3: -22px;
    opacity: 0.35;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .steam-wisp {
        animation: none;
        opacity: 0.15;
        bottom: 20%;
        transform: scale(1.2);
    }
}
