/* =====================================================
   CAMPSITE NOTES - HOMEPAGE HERO STYLES
   This file contains styles specific to the homepage hero
   and landing page sections. Base styles are in site.css.
   ===================================================== */

/* =====================================================
   BASE STYLES FOR HOMEPAGE
   ===================================================== */
.homepage-body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--background-soft);
}

/* =====================================================
HERO SECTION
===================================================== */
.hero-section-new {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.60) 0%,
        rgba(0, 0, 0, 0.40) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 600px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtext {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-secondary-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.hero-secondary-link:hover {
    color: #fff;
}

.hero-secondary-link i {
    margin-left: 0.25rem;
}

@keyframes heroArrowBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.hero-trust-text {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   PRODUCT PREVIEW SECTION
   ===================================================== */
.product-preview-section {
    background: var(--background-soft);
    padding: 3.5rem 0 3.25rem;
}

.section-label {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.section-label-soft {
    color: var(--text-muted);
}

.product-preview-title {
    margin-bottom: 1.5rem;
}

.product-preview-card {
    max-width: 1120px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
    backdrop-filter: blur(6px);
}

.dashboard-image-wrap {
    background: var(--background-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.dashboard-preview-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: cover;
}

.product-preview-caption {
    margin: 1rem auto 0;
    max-width: 760px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.product-preview-benefits {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.product-preview-cta {
    margin-top: 1.5rem;
    text-align: center;
}

/* Keep breathing room between preview and example section */
.example-trip-section {
    padding-top: 4.5rem;
}

.benefit-bullet {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.benefit-bullet i {
    color: var(--accent-warm);
}

/* =====================================================
   EXAMPLE TRIP SECTION
   ===================================================== */
.example-trip-section {
    background: var(--background-soft);
    padding: var(--section-padding-desktop) 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.trip-card {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.trip-card-inner {
    display: flex;
    flex-wrap: wrap;
}

.trip-photos {
    flex: 0 0 45%;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.trip-photo {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--background-soft);
}

.trip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
}

.trip-details {
    flex: 0 0 55%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trip-date {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.trip-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.trip-location i {
    color: var(--accent-warm);
}

.trip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.trip-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trip-stat i {
    color: var(--accent-warm);
    font-size: 1.1rem;
}

.trip-memory {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 1.25rem;
    background: var(--background-soft);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent-warm);
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.how-it-works-section {
    background: var(--background-white);
    padding: var(--section-padding-desktop) 0;
}

.how-it-works-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-soft);
    border-radius: 50%;
    color: var(--accent-warm);
    font-size: 2rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* =====================================================
   EMOTIONAL QUOTE SECTION
   ===================================================== */
.quote-section {
    background: var(--background-soft-alt);
    padding: var(--section-padding-desktop) 0;
    text-align: center;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.quote-text em {
    color: var(--accent-warm);
    font-style: normal;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
    background: var(--background-white);
    padding: var(--section-padding-desktop) 0;
}

.features-section .section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 2.25rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.feature-list {
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--accent-warm);
    font-size: 1.25rem;
}

/* =====================================================
   FINAL CTA SECTION
   ===================================================== */
.final-cta-section {
    background: linear-gradient(135deg, var(--background-soft) 0%, var(--background-soft-alt) 100%);
    padding: var(--section-padding-desktop) 0;
    text-align: center;
}

.final-cta-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.final-cta-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.final-cta-trust {
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 991.98px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subtext {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section-new {
        min-height: 85vh;
    }
    
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.30) 100%
        );
    }
    
    .hero-headline {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.1rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
        padding-top: 64px;
    }

    .hero-trust-text {
        font-size: 0.9rem;
    }
    
    .hero-secondary-link {
        display: block;
        text-align: center;
    }

    .hero-secondary-link i {
        display: inline-block;
        animation: heroArrowBob 1.5s ease-in-out infinite;
        will-change: transform;
    }

    .hero-section-new {
        padding-bottom: 1.25rem;
    }

    .product-preview-section {
        padding-top: 0;
        margin-top: -32px;
        position: relative;
        z-index: 20;
    }

    .product-preview-card {
        border-radius: var(--radius-lg);
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
    }
    
    .trip-card-inner {
        flex-direction: column;
    }
    
    .trip-photos {
        flex: 0 0 100%;
    }
    
    .trip-details {
        flex: 0 0 100%;
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .example-trip-section,
    .how-it-works-section,
    .quote-section,
    .features-section,
    .final-cta-section {
        padding: var(--section-padding-mobile) 0;
    }

    .product-preview-section {
        padding: 2.5rem 0 2.25rem;
    }

    .product-preview-card {
        padding: 1rem;
    }

    .product-preview-caption {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .btn-warm {
        width: 100%;
        text-align: center;
    }
    
    .trip-stats {
        gap: 1rem;
    }
    
    .step-card {
        padding: 1.5rem 1rem;
    }
}
