/* Homepage only: hero and "Why Choose" sections (loaded from index.php via $pageStyles) */

/* Hero */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 68vh, 660px);
    background-color: var(--color-black);
    border-bottom: 1px solid var(--color-gold);
    overflow: hidden;
    isolation: isolate;
}

.home-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 38%;
    z-index: -2;
}

.home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 55%;
    filter: brightness(0.8) saturate(1.05) sepia(0.22);
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 48%, rgba(0, 0, 0, 0.25) 64%, rgba(0, 0, 0, 0.05) 85%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, rgba(212, 175, 55, 0.08) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 35%);
}

.home-hero .container {
    width: 100%;
    max-width: 1400px;
}

.home-hero-content {
    max-width: 640px;
    padding: var(--spacing-xl) 0;
}

.home-hero-eyebrow {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-text);
    margin-bottom: 1.1rem;
}

.home-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.005em;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.home-hero h1 .gold {
    color: var(--color-gold-text);
    background: linear-gradient(180deg, #F8DFAD 0%, #EDCE98 45%, #D9B477 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero-text {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    max-width: 580px;
    margin-bottom: 2rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 56px;
    padding: 0.8rem 1.75rem;
    border-radius: 6px;
    font-family: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.home-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.home-btn-primary {
    color: #111111;
    background: var(--gold-button);
    border: 1px solid #F8DFAD;
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
    background: var(--gold-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--gold-button-glow);
}

.home-btn-outline {
    color: var(--color-gold-text);
    background-color: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--color-gold-text);
}

.home-btn-outline:hover,
.home-btn-outline:focus-visible {
    color: #111111;
    background: var(--gold-button);
    border-color: #F8DFAD;
    transform: translateY(-2px);
}

.home-btn:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}

/* Why Choose */
.home-why {
    padding: 5rem 0 5.5rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.07) 0%, transparent 60%),
        var(--color-black);
}

.home-why-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-family: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 1rem;
}

/* Champagne gold sampled from the NTC logo */
.home-why-title .gold {
    color: #E4C48B;
    background: linear-gradient(180deg, #F8DFAD 0%, #EDCE98 45%, #D9B477 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-why-title::before,
.home-why-title::after {
    content: '';
    flex: 0 0 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold));
}

.home-why-title::after {
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.home-why-subtitle {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    max-width: 760px;
    margin: 0 auto 3rem;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.home-why-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.9rem 2.1rem;
    background: linear-gradient(180deg, #181818 0%, #121212 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.home-why-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.25), 0 0 24px rgba(212, 175, 55, 0.12);
}

.home-why-card-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.home-why-icon {
    flex-shrink: 0;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    color: var(--color-gold-text);
}

.home-why-icon svg {
    width: 24px;
    height: 24px;
}

.home-why-card h3 {
    font-family: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-gold-text);
}

.home-why-card p {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

/* Tablets */
@media (max-width: 1080px) {
    .home-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Phones */
@media (max-width: 768px) {
    .home-hero {
        min-height: 0;
        align-items: flex-end;
    }

    .home-hero-media {
        left: 0;
    }

    .home-hero-media img {
        object-position: 90% 50%;
    }

    .home-hero::before {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 45%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0.25) 100%);
    }

    .home-hero-content {
        padding: 9rem 0 3rem;
    }

    .home-hero-eyebrow {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

    .home-hero-text {
        font-size: 1.08rem;
    }

    .home-hero-actions {
        flex-direction: column;
        gap: 0.9rem;
    }

    .home-btn {
        width: 100%;
    }

    .home-why {
        padding: 3.5rem 0 4rem;
    }

    .home-why-title::before,
    .home-why-title::after {
        display: none;
    }

    .home-why-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .home-why-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-why-card {
        padding: 1.6rem 1.4rem 1.7rem;
    }

    .home-why-card h3 {
        font-size: 1.3rem;
    }
}
