/* Unified Hero Styling for Taste of Kingship */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,900&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    --elegant-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Core Glass Effect */
.glass-panel {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--elegant-shadow);
}

/* High-end Hero Container */
.elegant-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0d0205;
}

/* Ambient Visuals */
.hero-ambient-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-visual-bg {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) contrast(1.1) saturate(1.1);
    will-change: transform;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 2, 5, 0.55); /* Increased for more depth and contrast */
    z-index: 1.5;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(13, 2, 5, 0.6) 0%, 
        rgba(13, 2, 5, 0.2) 40%, 
        rgba(13, 2, 5, 0) 60%,
        rgba(13, 2, 5, 0.85) 100%
    );
    z-index: 2;
}

.hero-glow-spot {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: plus-lighter;
}

/* Content Layout */
.hero-content-elegant {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    text-align: center;
}

/* Typography Reveal Animations */
.reveal-text {
    overflow: hidden;
    display: block;
    padding-bottom: 0.25em; /* Prevent descender cut-off for g, p, etc. */
    margin-bottom: -0.25em; /* Preserve original line spacing */
}

.reveal-text span {
    display: block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-text.active span {
    transform: translateY(0);
}

/* Specific Hero Elements */
.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--golden, #FFD34E);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInReveal 1s forwards 0.3s;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: white;
    margin-bottom: 3rem;
}

.hero-glass-desc {
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 3rem;
    max-width: 720px;
    margin: 0 auto 4rem;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.hero-glass-desc::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--hot-pink, #F13A7A), transparent);
}

.hero-tagline-sub {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.7;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

/* CTA Buttons */
.elegant-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.elegant-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.elegant-btn:hover {
    color: black;
    border-color: white;
    letter-spacing: 0.4em;
}

.elegant-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.elegant-btn-primary {
    background: var(--hot-pink, #F13A7A);
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(241, 58, 122, 0.2);
}

.elegant-btn-primary:hover {
    box-shadow: 0 20px 60px rgba(241, 58, 122, 0.4);
    background: white;
}

/* Animations */
@keyframes fadeInReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes elegantKenBurns {
    from { transform: scale(1.02); }
    to { transform: scale(1.12); }
}

.animate-ken-burns {
    animation: elegantKenBurns 40s infinite alternate linear;
}

/* Mobile Responsiveness for Fixed Header */
@media (max-width: 768px) {
    .elegant-hero {
        padding-top: 100px;
    }
    .hero-main-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 2rem;
    }
    .hero-glass-desc {
        padding: 1.5rem;
    }
}
