﻿ /* ------------------------------ 
    VARIABLES + GLOBAL RESET
--------------------------------*/
:root {
    --primary-green: #006d44;
    --light-bg: #f0eee6;
    --accent-green: #2e8b57;
    --light-green: #e8f5e9;
    --dark-green: #004d30;
    --light-gray: #f1f3f5;
    /* Lighter shadows for performance */
    --shadow-sm: 0 2px 6px rgba(0, 109, 68, 0.07);
    --shadow-md: 0 4px 10px rgba(0, 109, 68, 0.10);
    --shadow-lg: 0 4px 10px rgba(0, 109, 68, 0.10);
    --transition: all 0.25s ease;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html, body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ------------------------------
    HERO SECTION
--------------------------------*/
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    color: #fff;
    z-index: 3;
}

    .hero-content h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.25);
        opacity: 0;
        animation: fadeInCenter 0.6s ease-out forwards;
    }
.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInCenter 0.9s ease-out forwards;
}

/* Scroll icon */
.hero-scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #fff;
    z-index: 4;
    animation: gentleBounce 2s infinite ease-in-out;
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}




@keyframes fadeInCenter {
    0% {
        opacity: 0;
        transform: translate(-50%, -55%);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes gentleBounce {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}


/* ------------------------------
    MAIN CONTAINER
--------------------------------*/
.CommonPage {
    background: #fff;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -8px 16px rgba(0,0,0,0.07);
}

.TripSection {
    padding: 70px 20px;
    max-width: 1200px;
    margin: auto;
}

/* ------------------------------
    TITLES
--------------------------------*/
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    position: relative;
    margin-bottom: 1rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        height: 4px;
        background: var(--primary-green);
        border-radius: 2px;
    }

.section-desc {
    max-width: 700px;
    text-align: center;
    margin: 0 auto 55px;
    color: #666;
    font-size: 1.1rem;
}


/* ------------------------------
    CARD GRID
--------------------------------*/
.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.card-rating i.fas {
    color: #FFD700 !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.25);
}

.month-suggestion-title {
    font-size: 2rem;
    font-weight: 700;
    color: #444;
    font-family: 'Poppins', sans-serif;
}
/* ------------------------------
    CARD
--------------------------------*/
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* GPU boost */
    box-shadow: var(--shadow-sm);
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

/* Card Image */
.card-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.card:hover {
    will-change: transform;
}

.card-img-top:hover {
    will-change: transform;
}




.card:hover .card-img-top {
    transform: scale(1.045);
}

/* Badge */
.card-badge,
.card-duration,
.card-rating {
    position: absolute;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    z-index: 2;
    background: rgba(0,0,0,0.65);
    color: #fff;
}

/* Individually adjust positions */
.card-badge {
    top: 12px;
    left: 12px;
    background: var(--primary-green);
}

.card-duration {
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.card-rating {
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
}

/* Card body */
.card-body {
    padding: 18px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-green);
    min-height: 56px;
}

/* ------------------------------
    PRICING
--------------------------------*/
.price-info {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.current-price {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.original-price {
    text-decoration: line-through;
    color: #888;
}

.discount {
    background: #ff6b6b;
    color: #fff;
    padding: 3px 6px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* View button */
.btn-view-details {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    width: 100%;
    transition: background 0.25s ease;
}

    .btn-view-details:hover {
        background: var(--dark-green);
    }

/* ------------------------------
    FEATURE CARDS
--------------------------------*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border-top: 4px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.feature-icon {
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-bottom: 18px;
}

/* ------------------------------
    QUOTE BOX
--------------------------------*/
.quote-container {
    max-width: 800px;
    margin: 55px auto;
    padding: 40px;
    border-radius: 12px;
    background: #fff;
    border-left: 4px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
}

    .quote-container::before {
        content: "“";
        font-size: 5rem;
        opacity: 0.12;
        position: absolute;
        left: 20px;
        top: 10px;
        color: var(--primary-green);
    }

.blockquote {
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.blockquote-footer {
    text-align: right;
    color: #666;
    font-weight: 600;
}

/* ------------------------------
    BOTTOM IMAGE SECTION
--------------------------------*/
.bottom-image-section img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.bottom-desc-container {
    max-width: 900px;
    margin: -75px auto 40px;
    padding: 35px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-green);
    position: relative;
}

/* ------------------------------
    ANIMATIONS
--------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,100% {
        transform: translate(-50%,0);
    }

    50% {
        transform: translate(-50%,-12px);
    }
}

/* ------------------------------
    RESPONSIVE
--------------------------------*/
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .bottom-desc-container {
        margin-top: -50px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}
