/* ============================================ */
/* TEXTILE-INSPIRED HERO SECTION */
/* Key fix: padding-top = nav height so nothing hides behind nav */
/* ============================================ */

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(25, 118, 210, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a1929 0%, #132f4c 50%, #0d1721 100%);
    background-size: cover;
    background-position: center;
}

/* Background image support */
.hero.has-image {
    background-image: 
        linear-gradient(135deg, rgba(10, 25, 41, 0.65) 0%, rgba(19, 47, 76, 0.55) 100%),
        url('../../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
}

/* Woven fabric overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(201, 184, 150, 0.04) 6px, rgba(201, 184, 150, 0.04) 12px),
        repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(201, 184, 150, 0.04) 6px, rgba(201, 184, 150, 0.04) 12px);
    pointer-events: none;
    z-index: 1;
}

/* ============================================ */
/* HERO LEFT - CONTENT SECTION */
/* padding-top pushes content below the fixed nav */
/* ============================================ */

.hero-left {
    flex: 0 0 50%;
    padding-top: var(--nav-height);
    padding-bottom: 2rem;
    padding-left: 6%;
    padding-right: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(to right,
        rgba(10, 25, 41, 0.95) 0%,
        rgba(10, 25, 41, 0.90) 60%,
        rgba(10, 25, 41, 0.75) 90%,
        rgba(10, 25, 41, 0.5) 100%
    );
    box-sizing: border-box;
    height: 100vh;
}

/* Embroidered thread border on right */
.hero-left::before {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 10%;
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--gold-accent) 5%, 
        var(--logo-blue) 20%,
        var(--gold-accent) 40%,
        var(--logo-blue) 60%,
        var(--gold-accent) 80%,
        var(--logo-blue) 95%,
        transparent 100%
    );
    opacity: 0.6;
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.4),
        0 0 30px rgba(25, 118, 210, 0.3);
}

.hero-content {
    max-width: 680px;
    animation: fadeInSlideUp 1s ease-out;
}

/* ============================================ */
/* HERO BADGE */
/* ============================================ */

.hero-logo-badge {
    margin-bottom: 1.2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(25, 118, 210, 0.25) 100%);
    border: 2px solid var(--gold-accent);
    border-radius: 6px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--soft-gold);
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
}

.hero-badge::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
}

/* ============================================ */
/* HERO TITLE */
/* ============================================ */

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: 8px;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--soft-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--soft-gold);
    font-style: italic;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    opacity: 0.95;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.93;
    border-left: 3px solid var(--gold-accent);
    padding-left: 1.5rem;
}

/* ============================================ */
/* USP ITEMS */
/* ============================================ */

.hero-usps {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 1.4rem;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.18) 0%, rgba(212, 175, 55, 0.12) 100%);
    border-left: 5px solid var(--gold-accent);
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.usp-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.8s ease;
}

.usp-item:hover::before {
    transform: translateX(100%) translateY(100%);
}

.usp-item:hover {
    transform: translateX(12px);
    border-left-width: 7px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.usp-icon {
    font-size: 1.5rem;
    width: 36px;
    text-align: center;
    color: var(--gold-accent);
}

.usp-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.5px;
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */

.hero-buttons {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cta-button {
    padding: 1.1rem 2.6rem;
    font-family: 'Crimson Text', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

/* Internal dashed border */
.cta-button::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
}

/* Shimmer */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-primary {
    background: linear-gradient(135deg, var(--logo-blue), var(--accent-blue));
    color: white;
    border: 2px solid var(--logo-blue);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(25, 118, 210, 0.6);
}

.cta-secondary {
    background: transparent;
    color: var(--gold-accent);
    border: 2px solid var(--gold-accent);
}

.cta-secondary:hover {
    background: var(--gold-accent);
    color: var(--primary-navy);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

/* ============================================ */
/* HERO RIGHT - TIMELINE SHOWCASE */
/* padding-top pushes content below fixed nav */
/* ============================================ */

.hero-right {
    flex: 1;
    padding-top: var(--nav-height);
    padding-bottom: 2rem;
    padding-left: 2%;
    padding-right: 4%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(to left,
        rgba(10, 25, 41, 0.5) 0%,
        rgba(10, 25, 41, 0.3) 100%
    );
    overflow: hidden;
    height: 100vh;
    box-sizing: border-box;
}

.timeline-showcase {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-header-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.timeline-badge-hero {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(25, 118, 210, 0.25) 100%);
    border: 1px solid var(--gold-accent);
    border-radius: 50px;
    color: var(--soft-gold);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.timeline-title-hero {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--cream);
}

/* ============================================ */
/* TIMELINE ROPE */
/* ============================================ */

.timeline-rope-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    flex: 1;
    min-height: 0;
    max-height: 580px;
}

.timeline-years-track {
    flex: 0 0 180px;
    position: relative;
    height: 100%;
}

.timeline-rope {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--gold-accent) 0%, 
        var(--logo-blue) 30%,
        var(--gold-accent) 50%,
        var(--logo-blue) 70%,
        var(--gold-accent) 100%
    );
    border-radius: 2px;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.5),
        0 0 40px rgba(25, 118, 210, 0.3);
}

.timeline-rope::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg, 
        transparent, transparent 3px, 
        rgba(255, 255, 255, 0.15) 3px, 
        rgba(255, 255, 255, 0.15) 4px
    );
}

.rope-pull-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--gold-accent) 50%, transparent 100%);
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 10;
}

.rope-pull-indicator.pulling {
    opacity: 1;
    animation: ropePull 0.6s ease;
}

@keyframes ropePull {
    0% { top: 0; transform: translateX(-50%) scaleY(1); }
    50% { top: 50%; transform: translateX(-50%) scaleY(1.3); }
    100% { top: 100%; transform: translateX(-50%) scaleY(1); }
}

.timeline-years-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.timeline-years-list {
    position: absolute;
    left: 0;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================ */
/* TIMELINE YEAR NODES */
/* ============================================ */

.timeline-year-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.8rem 0;
    position: relative;
}

.year-node-badge {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.95) 0%, rgba(19, 47, 76, 0.95) 100%);
    border: 4px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.timeline-year-node.active .year-node-badge {
    border-color: var(--gold-accent);
    border-width: 5px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(212, 175, 55, 0.6);
    transform: scale(1.12);
}

.year-node-badge::before,
.year-node-badge::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    transition: border-color 0.4s ease;
}

.timeline-year-node.active .year-node-badge::before,
.timeline-year-node.active .year-node-badge::after {
    border-color: var(--gold-accent);
}

.year-node-badge::before {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.year-node-badge::after {
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.year-node-badge h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--soft-gold);
    transition: all 0.4s ease;
}

.timeline-year-node.active .year-node-badge h3 {
    background: linear-gradient(135deg, var(--gold-accent), var(--soft-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.1rem;
}

/* .timeline-year-node::after {
    content: '';
    position: absolute;
    /* Sit on the rope line, vertically centered on node */
    left: calc(50% - 80px); /* rope center (50%) minus half badge width (65px) minus dot offset */
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--logo-blue);
    border: 3px solid rgba(10, 25, 41, 0.9);
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(25, 118, 210, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    z-index: 5;
    transition: all 0.4s ease;
} */

.timeline-year-node.active::after {
    background: var(--gold-accent);
    border-color: var(--primary-navy);
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.9),
        0 0 50px rgba(212, 175, 55, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
}

/* ============================================ */
/* TIMELINE CONTENT CARDS */
/* ============================================ */

.timeline-content-display {
    flex: 1;
    position: relative;
    height: 100%;
}

.timeline-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.timeline-card.exit {
    transform: translateX(-50px);
    opacity: 0;
}

.timeline-content-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 240, 0.95) 100%);
    border: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.timeline-image-hero {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--beige), rgba(201, 184, 150, 0.8));
}

.timeline-image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-card.active .timeline-image-hero img {
    animation: imageZoomIn 0.8s ease forwards;
}

@keyframes imageZoomIn {
    from { transform: scale(1.15); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}

.fabric-pin-hero {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, var(--gold-accent) 25%, rgba(212, 175, 55, 0.7) 60%, transparent);
    border-radius: 50%;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(212, 175, 55, 0.7);
    z-index: 2;
}

.pin-tl-hero { top: 18px; left: 18px; }
.pin-tr-hero { top: 18px; right: 18px; }

.timeline-text-hero {
    padding: 1.8rem 2rem 2rem;
}

.timeline-text-hero h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-navy), var(--logo-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-text-hero p {
    color: var(--secondary-navy);
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0.9;
}

.timeline-pause-indicator {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--soft-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-showcase:hover .timeline-pause-indicator {
    opacity: 1;
}

/* ============================================ */
/* RESPONSIVE - TABLET (1200px) */
/* Timeline hidden, left side only full height */
/* ============================================ */

@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .hero-left {
        flex: none;
        width: 100%;
        height: 100vh;
        min-height: 600px;
        padding-top: var(--nav-height);
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 3rem;
        background: linear-gradient(to bottom,
            rgba(10, 25, 41, 0.97) 0%,
            rgba(10, 25, 41, 0.93) 100%
        );
        justify-content: center;
    }

    .hero-left::before,
    .hero-left::after {
        display: none;
    }

    .hero-right {
        display: none;
    }

    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: 5px;
    }
}

/* ============================================ */
/* RESPONSIVE - MOBILE (968px) */
/* ============================================ */

@media (max-width: 968px) {
    .hero-left {
        padding-top: var(--nav-height-mobile);
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 0.98rem;
    }

    .usp-item {
        padding: 0.8rem 1.2rem;
    }

    .usp-icon {
        font-size: 1.4rem;
        width: 32px;
    }

    .usp-text {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 1rem 2.2rem;
        font-size: 0.9rem;
    }
}

/* ============================================ */
/* RESPONSIVE - SMALL MOBILE (640px) */
/* ============================================ */

@media (max-width: 640px) {
    .hero-left {
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.65rem 1.3rem;
        letter-spacing: 1.5px;
    }

    .hero-tagline {
        font-size: 0.92rem;
        margin-bottom: 1.3rem;
    }

    .hero-usps {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .usp-item {
        padding: 0.75rem 1rem;
    }

    .usp-text {
        font-size: 0.88rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
}

/* ============================================ */
/* RESPONSIVE - SHORT SCREENS */
/* ============================================ */

@media (max-height: 650px) and (min-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .hero-tagline {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }

    .hero-usps {
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }

    .usp-item {
        padding: 0.65rem 1.2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
    }

    .timeline-rope-container {
        max-height: 480px;
    }

    .timeline-image-hero {
        height: 220px;
    }
}

@media (max-height: 500px) {
    .usp-item:nth-child(3) { display: none; }
}

@media (max-height: 420px) {
    .usp-item:nth-child(2) { display: none; }
}