/* ============================================
   HOME CSS — Hero Section
   ============================================ */

.hero-section {
    background-color: #f0e2cc;
    background-image: url('../assets/images/bg_image.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
    height: 100vh;
    min-height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    padding-bottom: 90px;
}

.hero-section.fallback-bg {
    background-image: linear-gradient(160deg, #f4e8d8 0%, #e4d0b0 50%, #c4956a 100%);
}

/* ---- Hero Top — Logo ---- */
.hero-top {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    z-index: 10;
}

.hero-logo {
    width: 62px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(184, 132, 77, 0.3));
    /* FAST float animation for the centered logo */
    animation: heroLogoFloat 3s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-16px) rotate(0.6deg);
    }
    50% {
        transform: translateY(-8px) rotate(-0.4deg);
    }
    75% {
        transform: translateY(-14px) rotate(0.3deg);
    }
}

/* ---- Hero Center ---- */
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: -30px;
    z-index: 10;
}

.hero-title {
    color: #BF6430;
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: #3a3a3a;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 36px;
    letter-spacing: 0.4px;
}

/* ---- Hero Bottom ---- */
.hero-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    z-index: 10;
}

.photo-credit {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    margin-left: 6px;
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
    .hero-section {
        padding: 60px 48px 90px;
    }
    .hero-logo {
        width: 72px;
    }
    .hero-subtitle {
        margin-bottom: 44px;
    }
}

@media (max-width: 640px) {
    .hero-bottom {
        justify-content: center;
    }
    .download-buttons {
        gap: 10px;
    }
    .store-button {
        min-width: 140px;
    }
}

@media (max-width: 375px) {
    .hero-center {
        margin-top: -50px;
    }
}
