/* --- Variables --- */
:root {
    --bg-white: #ffffff;
    --text-main: #1a1a1a;
    --text-grey: #555555;
    --brand-accent: #C0A062; 
    --glass-bg-light: rgba(255, 255, 255, 0.7);
    --glass-border-light: rgba(255, 255, 255, 0.9);
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* --- Base Layout --- */
.premium-hero {
    position: relative;
    width: 100%;
    height: 480px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg-white);
    color: var(--text-main);
}

/* --- Background Slider --- */
.hero-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 25%; /* Default for desktop */
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* --- White Gradient Overlay (ADJUSTED TRANSPARENCY) --- */
.hero-overlay-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,0.85) 0%,  /* Was 0.95 */
        rgba(255,255,255,0.5) 45%,  /* Was 0.7 */
        rgba(255,255,255,0.0) 100%
    );
    z-index: 1;
}

/* --- Smooth Curve Bottom --- */
.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
    transform: rotate(180deg);
}

.hero-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave-divider .shape-fill {
    fill: var(--bg-white);
}

/* --- Content Wrapper --- */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-bottom: 20px;
}

.hero-text-box {
    max-width: 550px;
    padding-left: 10px;
}

/* Typography */
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.line-reveal {
    display: block;
    opacity: 0;
    transform: translateY(15px);
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.line-reveal:nth-child(1) { animation-delay: 0.1s; }
.line-reveal:nth-child(2) { animation-delay: 0.3s; }

.highlight-text {
    font-family: var(--font-main);
    font-weight: 800;
    color: var(--text-main);
}

.hero-description {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-grey);
    margin-bottom: 25px;
    max-width: 420px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.5s;
}

/* --- Buttons --- */
.cta-group {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.7s;
}

.btn-primary {
    position: relative;
    padding: 12px 32px;
    background: var(--text-main);
    color: var(--bg-white);
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    display: inline-block;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.btn-primary .liquid-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--brand-accent);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-primary:hover .liquid-bg {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 160, 98, 0.3);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* --- Glass Card --- */
.glass-info-card {
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 15px 25px;
    min-width: 150px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.9s;
    transform: translateY(20px);
    flex-direction: column;
    gap: 10px;
    border-radius: 8px;
}

.info-item .number {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
}

.info-item .label {
    font-family: var(--font-main);
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-grey);
    letter-spacing: 1px;
}

.glass-info-card .divider {
    height: 1px;
    width: 100%;
    background: rgba(0,0,0,0.05);
}

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet (< 991px) */
@media (max-width: 991px) {
    .premium-hero {
        height: 380px;
    }
    .hero-text-box {
        max-width: 450px;
    }
    .glass-info-card {
        display: none;
    }
    .hero-slide {
        background-position: center center; /* Better alignment */
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .premium-hero {
        height: 320px;
    }
    /* Reduced Mobile Overlay Opacity */
    .hero-overlay-gradient {
        background: linear-gradient(
            90deg, 
            rgba(255,255,255,0.85) 0%, 
            rgba(255,255,255,0.65) 60%, 
            rgba(255,255,255,0.1) 100%
        );
    }
    .hero-content-wrapper {
        justify-content: flex-start;
        padding-left: 0;
    }
    .hero-text-box {
        padding-left: 0;
        max-width: 100%;
    }
    .hero-headline {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .hero-description {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 15px;
        max-width: 280px;
    }
    .btn-primary {
        padding: 10px 24px;
        font-size: 11px;
    }
    .hero-wave-divider svg {
        height: 40px;
    }
}