/* ========================================
   HOMEPAGE STYLES - CLEANED & OPTIMIZED
   ======================================== */

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Hide scrollbar */
body::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

h1 {
    font-size: 24px;
}

p {
    font-size: 14px;
    color: #3C3131;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

#main {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#cover{
    width: 100%;
    position: relative;
    bottom: 25px;
}
.hero h1 {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 600;
    width: 50%;
    max-width: 600px;
    text-align: center;
    line-height: 36px;
    font-size: 28px;
    z-index: 2;
}

.hero span {
    color: #FF9D00;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== CTA BUTTON ========== */
.cta-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FF9D00 0%, #e6a825 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 183, 50, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 183, 50, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========== POPULAR DESTINATIONS SECTION ========== */
.popular-destination {
    margin: 40px 0;
    width: 100%;
}

.popular-destination h1 {
    font-weight: 600;
    color: #1a1a1a;
    margin-left: 25px;
    margin-bottom: 10px;
    text-align: left;
}

.popular-destination p {
    color: #84847A;
    margin-left: 25px;
    margin-bottom: 20px;
    text-align: left;
}

/* ========== DESTINATION CAROUSEL (MOBILE) ========== */
.carousel {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    max-width: 550px;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    display: flex;
    gap: 15px;
}

.card {

    height: auto;
    aspect-ratio: 1/1;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card span {
    position: absolute;
    bottom: 18px;
    left: 18px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

/* Carousel Indicators */
.indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: #FF9D00 1px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: #FF9D00;
    transform: scale(1.2);
    border: none;
}

/* Desktop Destinations */
.destination-pc {
    display: none;
}

/* ========== UPCOMING TRIPS SECTION ========== */
.upcoming {
    margin: 50px 0;
    padding: 0 20px;
}

.upcoming h1 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.upcoming p {
    text-align: center;
    color: #84847A;
    margin-bottom: 30px;
}

/* Trip Container */
.trip {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* ========== TRIP CARDS ========== */
.trip-card {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.trip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.trip-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trip-card:hover .trip-card-image img {
    transform: scale(1.1);
}

.trip-card-content {
    padding: 20px;
}

.trip-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.trip-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trip-card-info {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.trip-duration,
.trip-schedule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.trip-duration img,
.trip-schedule img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.trip-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trip-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-label {
    font-size: 12px;
    color: #666;
}

.price-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discounted-price {
    font-size: 24px;
    font-weight: 700;
    color: #FF9D00;
}

.book-now-btn {
    padding: 10px 24px;
    background: #FF9D00;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* Trip Carousel (Mobile & Tablet) */
.trip-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 20px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trip-carousel::-webkit-scrollbar {
    display: none;
}

.trip-carousel .trip-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    margin: 0;
}

/* Desktop Trip Grid */
.trip-grid {
    display: none;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    width: 90%;
    margin: 50px auto;
}

.test-top {
    margin-bottom: 20px;
}

.testimonials h1 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.test-bottom {
    text-align: center;
    color: #FF9D00;
    margin-bottom: 30px;
}

/* Testimonial Carousel */
.carousel-container {
    max-width: 480px;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease-out;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16/9;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #FF9D00;
    background-color: white;
    transition: background 0.3s;
    cursor: pointer;
}

.indicator.active {
    background: #FF9D00;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background-color: #FF9D001A;
    padding: 40px 20px;
}

.cta-section img {
    width: 300px;
    margin: 20px 0px;
    display: block;
}

.cta-section h1 {
    width: 90%;
    max-width: 600px;
    font-weight: 600;
    margin: 0 auto 15px;
    text-align: center;
}

.cta-section p {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    margin: 0 auto;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: #FF9D00;
    box-shadow: 0 0 0 3px rgba(255, 157, 0, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF9D00 0%, #e6a825 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 157, 0, 0.4);
}

/* ========== TABLET & DESKTOP RESPONSIVE ========== */
@media (min-width: 576px) {
    .hero {
        height: 450px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 40px;
        top:65px;
    }
    #cover{
  bottom: 42px;
}
}

@media (min-width: 768px) {
    .trip-carousel {
        padding: 0 40px 20px;
    }

    .trip-card {
        max-width: 280px;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 50px;
        top: 100px;
    }
    #cover{
  bottom: 75px;
}
    /* Show desktop destination grid */
    .carousel {
        display: none;
    }

    .destination-pc {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: center;
    }

    .card {
        width: calc(33.333% - 15px);
        max-width: 280px;
        margin: 0;
    }

    /* Show desktop trip grid */
    .trip-carousel {
        display: none;
    }

    .trip-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        padding: 0 40px;
    }

    .trip-grid .trip-card {
        width: calc(33.333% - 20px);
        max-width: 350px;
        margin: 0;
    }

    .popular-destination h1,
    .popular-destination p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .popular-destination h1 {
        max-width: 600px;
    }

    .popular-destination p {
        max-width: 800px;
    }

    .upcoming h1,
    .upcoming p {
        max-width: 800px;
        margin: 20px auto;
    }

    /* CTA Section Desktop Layout */
    .cta-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        gap: 40px;
    }

    .cta-text {
        flex: 1;
        text-align: left;
    }

    .cta-text h1,
    .cta-text p {
        text-align: left;
        margin: 0 0 20px 0;
    }

    .form-container {
        flex: 0 0 400px;
        margin: 0;
    }
}

@media (min-width: 1400px) {
    .hero {
        height: 600px;
    }

    .hero h1 {
        font-size: 45px;
        top: 150px;
    }
    #cover{
  bottom: 105px;
}
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us {
    padding: 60px 20px;
    background-color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* ========== IMAGE GALLERY (LEFT SIDE) ========== */
.image-gallery {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    max-height: 700px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Layout - Bento Box Style */
.gallery-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.gallery-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.gallery-item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.gallery-item-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

.gallery-item-5 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

/* ========== CONTENT (RIGHT SIDE) ========== */
.content {
    width: 100%;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.quote {
    margin-bottom: 20px;
}

.quote p {
    font-size: 16px;
    font-style: italic;
    color: #333;
    line-height: 1.6;
}

.description {
    margin-bottom: 25px;
}

.description p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.view-more-btn {
    padding: 12px 30px;
    background: transparent;
    color: #2196F3;
    border: 2px solid #2196F3;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.view-more-btn:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* ========== STATS GRID ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3F2FD;
    border-radius: 50%;
}

.stat-icon i {
    font-size: 28px;
    color: #2196F3;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Mobile (Portrait) */
@media (max-width: 576px) {
    .why-choose-us {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .gallery-grid {
        max-height: 500px;
        gap: 10px;
    }

    .gallery-item {
        border-radius: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 24px;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 991px) {
    .why-choose-us {
        padding: 50px 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .gallery-grid {
        max-height: 600px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .container {
        grid-template-columns: 45% 55%;
        gap: 60px;
        align-items: center;
    }

    .why-choose-us {
        padding: 80px 40px;
    }

    .section-title {
        font-size: 42px;
    }

    .quote p {
        font-size: 18px;
    }

    .description p {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .gallery-grid {
        max-height: 700px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .section-title {
        font-size: 48px;
    }

    .stats-grid {
        gap: 40px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 15px;
    }
}