/* ========================================
   HOME PAGE STYLES
   Specific styles for tripgogo/templates/tripgogo/home.html
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url("/static/images/hero-bg.jpg");
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.hero-logo {
    height: 56px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-btn {
    background: var(--accent);
    color: var(--neutral-dark);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 32px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.9rem 2.2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hero section feature cards */
.hero-feature-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    color: var(--neutral-dark);
}

.hero-feature-card {
    background: var(--neutral-light);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 4px 8px 0 0 var(--secondary);
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-feature-card i {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

/* Responsive adjustments for hero feature cards */
@media (max-width: 768px) {
    .hero-feature-cards {
        gap: 0.5rem;
    }

    .hero-feature-card {
        min-width: 120px;
        max-width: 150px;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-feature-cards {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature-card {
        min-width: 200px;
        max-width: 250px;
        width: 100%;
    }
}

/* ========================================
   TRAVELERS SECTION
   ======================================== */

.travelers-section {
    background: var(--white);
    padding: 3rem 0 2rem 0;
    text-align: center;
}

.travelers-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.travelers-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.traveler-card {
    background: var(--neutral-light);
    border-radius: 16px;
    box-shadow: 4px 8px 0 0 var(--secondary);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    transition: box-shadow 0.18s, transform 0.18s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.traveler-card:hover {
    box-shadow: 8px 16px 0 0 var(--secondary);
    transform: translateY(-2px);
}

.traveler-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
    display: block;
    margin: 0 auto 12px auto;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 3rem 0 2rem 0;
    text-align: center;
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--light-gray);
    border-radius: 16px;
    box-shadow: 4px 4px 8px 0 lightgray;
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.18s;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    background: #f8f9fa;
    padding: 2.5rem 0 2rem 0;
}

.stats-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 2rem 2.5rem;
    min-width: 180px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #4B421B;
    font-size: 1.1rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 3rem 0 2rem 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonials-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: 16px;
    box-shadow: 4px 4px 8px 0 lightgray;
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-style: italic;
    transition: box-shadow 0.18s;
}

.testimonial-card span {
    margin-top: 1rem;
    color: #4B421B;
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    text-align: center;
    padding: 2.5rem 0 3rem 0;
}

/* ========================================
   SUGGESTED TRIPS SECTION
   ======================================== */

.suggested-trips-section {
    padding: 2.5rem 0 2rem 0;
    background: var(--white);
    text-align: center;
    max-width: 100vw;
    overflow-x: hidden;
}

.suggested-trips-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.suggested-trips-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0 2.5vw 1rem 2.5vw;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 2.5vw;
}

/* Suggested trip cards - home page specific */
.suggested-trip-card {
    background: var(--neutral-light);
    border-radius: 18px;
    box-shadow: 4px 8px 0 0 var(--secondary);
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    scroll-snap-align: start;
    transition: box-shadow 0.18s;
    text-decoration: none !important;
    overflow: hidden;
}

.suggested-trip-card:hover {
    box-shadow: 8px 16px 0 0 var(--secondary);
    text-decoration: none !important;
}

.suggested-trip-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    margin-bottom: 1rem;
}

.suggested-trip-info {
    padding: 0 0.5rem 0 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.suggested-trip-title {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.suggested-trip-desc {
    color: var(--text-dark);
    font-size: 1.05rem;
    opacity: 0.7;
    line-height: 1.3;
    text-align: left;
    padding-bottom: 1rem;
    flex: 1;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet and smaller screens */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Responsive layout for sections */
    .stats-list, .features-list, .testimonials-list, .travelers-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* Mobile screens */
@media (max-width: 600px) {
    .hero-content {
        padding: 2rem 0.5rem;
    }

    .stat-card, .feature-card, .testimonial-card, .traveler-card {
        min-width: 70vw;
        max-width: 98vw;
    }
}

/* Responsive adjustments for suggested trip cards */
@media (max-width: 900px) {
    .suggested-trip-card {
        min-width: 210px;
        max-width: 210px;
        flex: 0 0 210px;
    }

    .suggested-trip-img {
        height: 120px;
    }

    .suggested-trips-carousel {
        gap: 1.2rem;
        padding: 0 1vw 1rem 1vw;
    }
}
