/* ========================================
   HERO SECTION
   Editorial split-layout hero with luxury typography
   ======================================== */

.hero-section {
    background: var(--bg-dark);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Left Content */
.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--color-gold); /* use gold to highlight it beautifully on maroon */
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
    padding-left: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s ease-out 0.3s forwards;
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1.5px;
    background-color: var(--color-gold);
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.15;
    margin: 0 0 28px 0;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    animation: hero-fade-up 0.9s ease-out 0.45s forwards;
}

.hero-title-accent {
    color: var(--color-gold);
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted-light);
    line-height: 1.8;
    margin: 0 0 24px 0;
    max-width: 480px;
    opacity: 0;
    transform: translateY(25px);
    animation: hero-fade-up 0.9s ease-out 0.6s forwards;
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s ease-out 0.7s forwards;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-item i {
    color: var(--color-accent);
    font-size: 0.95rem;
}

.hero-trust-divider {
    color: var(--border-medium);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s ease-out 0.8s forwards;
}

.hero-cta-primary {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-primary); /* Dark text on gold button */
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--color-gold); /* Gold background to contrast with dark Hero bg */
    padding: 16px 38px;
    display: inline-block;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary:hover {
    background-color: #ffffff; /* White background on hover */
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(197, 168, 128, 0.3);
}

.hero-cta-secondary {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--color-gold);
    padding: 15px 38px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.hero-cta-secondary:hover {
    background-color: var(--color-gold);
    color: #FFFDF8;
    transform: translateY(-2px);
}

/* Right Image */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: translateX(40px);
    animation: hero-slide-in 1s ease-out 0.5s forwards;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    max-width: 560px;
    height: 680px;
    max-height: calc(100vh - 180px);
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    display: none;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    max-width: 560px;
    height: 100%;
    border: 1px solid var(--border-medium);
    pointer-events: none;
}

/* Decorative Elements */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: hero-fade-up 0.8s ease-out 1.2s forwards;
}

.hero-scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--color-text-muted-light);
    text-transform: uppercase;
    writing-mode: vertical-lr;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: hero-scroll-pulse 2s ease-in-out infinite;
}

@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hero-scroll-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* ========================================
   TYPEWRITER ANIMATION STYLES
   ======================================== */
.hero-title .char {
    opacity: 0;
    display: inline;
    transition: opacity 0.05s ease;
}

.hero-title .char.reveal {
    opacity: 1;
}

.hero-title .space {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 300;
    margin-left: 2px;
    animation: cursor-blink 0.7s infinite;
}

.typewriter-cursor.finished {
    animation: cursor-blink 0.7s infinite, cursor-fade 1.5s forwards;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes cursor-fade {
    to { opacity: 0; }
}

/* ========================================
   RESPONSIVE OVERRIDES
   ======================================== */
@media (min-width: 1920px) {
    .hero-title { font-size: 5rem; }
    .hero-image { height: 700px; }
    .hero-image-accent { height: 100%; }
}

@media (max-width: 1440px) {
    .hero-container { padding: 0 30px; }
    .hero-title { font-size: 3.8rem; }
}

@media (max-width: 1280px) {
    .hero-title { font-size: 3.4rem; }
    .hero-image { height: 540px; }
    .hero-image-accent { height: 100%; }
}

@media (max-width: 1024px) {
    .hero-container { flex-direction: column; text-align: center; gap: 50px; }
    .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-label { margin-bottom: 18px; }
    .hero-title { font-size: 3.2rem; }
    .hero-subtitle { max-width: 540px; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-image-wrapper { justify-content: center; margin-top: 0; }
    .hero-image { max-width: 480px; height: 440px; }
    .hero-image-accent { max-width: 480px; height: 100%; }
    .hero-scroll-indicator { display: none; }
}

@media (max-width: 768px) {
    .hero-section { padding-top: 130px; min-height: auto; padding-bottom: 110px; }
    .hero-container { padding: 0 24px; gap: 60px; }
    .hero-title { font-size: 2.9rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-image { max-width: 100%; height: 540px; }
    .hero-image-accent { display: none; }
}

@media (max-width: 425px) {
    .hero-container { padding: 0 20px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-actions { flex-direction: column; width: 100%; gap: 14px; }
    .hero-cta-primary,
    .hero-cta-secondary { width: 100%; text-align: center; box-sizing: border-box; }
    .hero-image { height: 480px; }
}

@media (max-width: 375px) {
    .hero-title { font-size: 2.2rem; }
    .hero-label { font-size: 0.72rem; }
    .hero-image { height: 440px; }
}

@media (max-width: 320px) {
    .hero-title { font-size: 1.9rem; }
    .hero-subtitle { font-size: 0.85rem; }
    .hero-cta-primary,
    .hero-cta-secondary { padding: 13px 24px; font-size: 0.68rem; }
    .hero-image { height: 380px; }
}


