/* ============================================
   LAYOUT.CSS — Hero + glass-box (MVC)
   ============================================ */

.hero {
    min-height: calc(100svh - var(--header-offset));
    height: auto;
    background: url("../../stratford-bg.jpg") no-repeat center/cover;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: clamp(56px, 8vw, 120px);
    padding-bottom: clamp(56px, 7vw, 90px);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.45) 0%,
            rgba(37, 99, 235, 0.12) 40%,
            rgba(124, 58, 237, 0.1) 70%,
            rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero-text {
    width: 80%;
    max-width: 1200px;
    text-align: left;
}

.hero-text h3 {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: var(--ls-tight);
}

.hero-text h1 {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 700;
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

.glass-box {
    margin-top: 60px;
    width: 85%;
    max-width: 1500px;
    min-height: 220px;
    padding: clamp(24px, 4vw, 50px) clamp(20px, 4vw, 60px);
    text-align: center;
    background: rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-box p {
    font-size: clamp(1.3rem, 3vw, 2.8rem);
    font-weight: bold;
    line-height: 1.4;
    color: white;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    padding: 0;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-down:hover {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-down i {
    pointer-events: none;
}

/* COMPACT LAPTOP */
body.compact-laptop .top-bar {
    padding: 10px 18px;
}

body.compact-laptop .logo-area img {
    width: 38px;
}

body.compact-laptop .logo-area h2 {
    font-size: 1rem;
}

body.compact-laptop .icon-btn {
    font-size: 18px;
    margin-left: 6px;
}

body.compact-laptop .hero {
    padding-top: clamp(34px, 5vh, 58px);
    padding-bottom: clamp(30px, 4.5vh, 52px);
}

body.compact-laptop .hero-text {
    width: 88%;
}

body.compact-laptop .hero-text h3 {
    font-size: clamp(1.2rem, 2.1vw, 1.7rem);
    margin-bottom: 8px;
}

body.compact-laptop .hero-text h1 {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
}

body.compact-laptop .glass-box {
    width: 90%;
    margin-top: 18px;
    min-height: 130px;
    padding: 16px 20px;
}

body.compact-laptop .glass-box p {
    font-size: clamp(0.95rem, 1.8vw, 1.3rem);
    line-height: 1.28;
}

body.compact-laptop .scroll-down {
    display: none;
}

@media (max-width: 1200px) {
    .hero {
        padding-top: 110px;
    }

    .glass-box {
        width: 90%;
        margin-top: 40px;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: calc(100svh - var(--header-offset));
    }

    .hero-text {
        width: 90%;
    }

    .glass-box {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .glass-box {
        width: 92%;
        border-radius: var(--radius-lg);
    }

    .scroll-down {
        bottom: 18px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 56px;
    }

    .hero-text {
        width: 92%;
    }

    .hero-text h3 {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
        margin-bottom: 8px;
    }

    .hero-text h1 {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .glass-box {
        width: 94%;
        min-height: 120px;
        margin-top: 20px;
        border-radius: 14px;
        padding: 18px 16px;
    }

    .glass-box p {
        font-size: clamp(1rem, 3.8vw, 1.3rem);
        line-height: 1.35;
    }

    .glass-box p br {
        display: none;
    }
}

@media (max-width: 420px) {
    .hero {
        padding-top: 84px;
    }

    .glass-box {
        padding: 16px 14px;
    }
}

@media (max-height: 820px) {
    .hero {
        padding-top: clamp(38px, 6vh, 70px);
        padding-bottom: clamp(36px, 6vh, 64px);
    }

    .glass-box {
        margin-top: 24px;
        min-height: 150px;
    }

    .glass-box p {
        font-size: clamp(1.1rem, 2.4vw, 1.9rem);
        line-height: 1.3;
    }

    .scroll-down {
        bottom: 10px;
    }
}

@media (max-height: 700px) {
    .hero-text h3 {
        font-size: clamp(1.1rem, 2.2vw, 1.5rem);
        margin-bottom: 8px;
    }

    .hero-text h1 {
        font-size: clamp(1.35rem, 2.7vw, 2rem);
    }

    .glass-box {
        margin-top: 16px;
        min-height: 120px;
        padding: 16px 18px;
    }

    .glass-box p {
        font-size: clamp(0.95rem, 2vw, 1.25rem);
    }

    .scroll-down {
        display: none;
    }
}