/* The Artful Postman — Home (Hero) */

:root {
    --home-font: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.home-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 24px;
    padding-left: calc(24px + env(safe-area-inset-left));
    padding-right: calc(24px + env(safe-area-inset-right));
    box-sizing: border-box;
    background-image: url("../../assets/h4.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.home-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-top: 80px;
}

.home-hero__brand {
    font-family: var(--home-font);
    font-weight: 700;
    font-size: 60px;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0;
    text-align: center;
}

.home-hero__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}

.home-hero__tagline {
    font-family: var(--home-font);
    font-style: italic;
    font-size: 22px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 0 20px;
    text-align: center;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    min-height: 40px;
    font-family: var(--home-font);
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    background: #FFFFFF;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.home-hero__btn:hover {
    background: #F5F5F5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.home-hero__btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .home-hero {
        padding-left: calc(20px + env(safe-area-inset-left));
        padding-right: calc(20px + env(safe-area-inset-right));
    }

    .home-hero__top {
        padding-top: 60px;
    }

    .home-hero__bottom {
        padding-bottom: 48px;
        padding-bottom: calc(48px + env(safe-area-inset-bottom));
    }

    .home-hero__brand {
        font-size: 40px;
    }

    .home-hero__tagline {
        font-size: 18px;
    }

    .home-hero__btn {
        padding: 14px 36px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding-left: calc(16px + env(safe-area-inset-left));
        padding-right: calc(16px + env(safe-area-inset-right));
    }

    .home-hero__top {
        padding-top: 48px;
    }

    .home-hero__bottom {
        padding-bottom: 40px;
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .home-hero__brand {
        font-size: clamp(28px, 8vw, 40px);
    }

    .home-hero__tagline {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .home-hero__btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .home-hero__brand {
        font-size: 26px;
    }

    .home-hero__tagline {
        font-size: 15px;
    }
}
