/* General Resets and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif; 
}

.hero-section {
    background: url('./person-traveling-enjoying-their-vacation.jpg') no-repeat center center/cover;
    height: 100vh; 
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.0) 50%, rgba(0, 0, 0, 0.15));
    z-index: 1;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10; 
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: white;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 5px #fff; 
    backdrop-filter: blur(2px); 
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    width: 80%;
    max-width: 900px; 
    margin-top: -150px; 
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 300; 
}

.hero-content p {
    font-size: 14px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-weight: 200;
}


.search-bar-container {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden; 
}

.search-input-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 15px 20px; 
    position: relative;
}

.search-icon-left {
    opacity: 0; 
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0; 
    color: #333;
    padding-left: 5px; 
}

.placeholder-span {
    height: 20px;
    width: 30%; 
    border-left: 1px solid #eee; 
    margin-left: 20px;
}

.find-trip-btn {
    background-color: #28a745; 
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap; 
}

.find-trip-btn:hover {
    background-color: #1e7e34; 
}

.find-trip-btn .fa-magnifying-glass {
    margin-left: 10px;
    font-size: 14px;
}


.about-stats-section {
    padding: 80px 0; 
    background-color: white; 
    overflow: hidden; 
}

.about-stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center; 
    gap: 100px; 
}

.image-gallery {
    position: relative;
    width: 50%; 
    height: 550px; 
}

.image-box {
    position: absolute;
    overflow: hidden;
    border-radius: 999px 50px 999px 999px; 
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.2)); 
    box-shadow: none; 
    border: 3px solid white;
    transition: all 0.3s ease;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-image {
    width: 200px;
    height: 400px;
    top: 0px;
    left: 0;
    z-index: 9; 
    border-radius: 999px 999px 999px 999px; 
}

.secondary-image-1 {
    width: 200px;
    height: 400px;
    top: 85px; 
    left: 150px; 
    z-index: 8; 
    border-radius: 999px 999px 999px 999px;
}

.secondary-image-2 {
    width: 200px;
    height: 400px;
    top: 150px;
    left: 300px; 
    z-index: 7; 
    border-radius: 999px 999px 999px 999px; 
}

.content-stats {
    width: 50%;
    padding-right: 50px;
}

.sub-heading {
    display: block;
    color: #28a745; 
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.content-stats h2 {
    font-size: 38px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-stats p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-description {
    font-size: 15px;
    color: #28a745; 
    font-weight: 500;
}

.destination-section {
    padding: 80px 50px;
    background-color: white; 
    max-width: 1200px;
    margin: 0 auto;
}

.destination-header {
    text-align: center;
    margin-bottom: 50px;
}

.destination-sub-heading {
    display: block;
    color: #28a745; 
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.destination-header h2 {
    font-size: 38px;
    color: #333;
    font-weight: 700;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.destination-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.price {
    color: #333;
    font-weight: bold;
}

.duration {
    color: #6c757d; 
    display: flex;
    align-items: center;
}

.duration i {
    color: #28a745; 
    margin-right: 5px;
}

.testimonial-section {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f8f8; 
}

.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-sub-heading {
    display: block;
    color: #28a745; 
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-header h2 {
    font-size: 38px;
    color: #333;
    font-weight: 700;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-header-testi {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4); 
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.testimonial-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.main-footer {
    background-color: #1e6438; 
    color: white;
    padding-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr; 
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: bold;
    color: white;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #28a745; 
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact ul li i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #28a745; 
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    color: white;
    font-size: 16px;
    margin-left: 15px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #28a745;
    border-color: #28a745;
}


@media (max-width: 992px) {
    .header {
        padding: 20px 30px;
    }
    
    .navbar {
        display: none; 
    }

    .hero-content {
        width: 90%;
        margin-top: -100px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }

    .search-bar-container {
        flex-direction: column;
    }

    .search-input-wrapper {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .placeholder-span {
        display: none; 
    }

    .find-trip-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .about-stats-section .container {
        flex-direction: column;
        gap: 50px;
    }

    .image-gallery, .content-stats {
        width: 100%; 
    }

    .image-gallery {
        height: 400px; 
    }
    
    .main-image, .secondary-image-1, .secondary-image-2 {
        width: 200px;
        height: 300px;
    }

    .main-image {
        top: 50px;
        left: 50px;
        z-index: 9; 
    }
    .secondary-image-1 {
        top: 0; 
        left: 180px;
        z-index: 8;
    }
    .secondary-image-2 { top
        : 100px; 
        left: 280px;
        z-index: 7;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .destination-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .logo {
        font-size: 22px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 13px;
    }

    .about-stats-section .container {
        padding: 0 20px;
    }
    
    .image-gallery {
        height: 450px; 
        margin-top: 30px;
        margin-bottom: 30px;
        width: 100%; 
    }

    .secondary-image-1, .secondary-image-2 {
        display: block;
    }

    .main-image {
        width: 30%; 
        height: 250px;
        top: -50px;
        left: 65%;
        transform: translateX(-50%);
        z-index: 9;
    }
    
    .secondary-image-1 {
        width: 30%; 
        height: 250px;
        top: 100px;
        left: 50%;
        transform: translateX(-50%); 
        z-index: 8;
    }

    .secondary-image-2 {
        width: 30%; 
        height: 250px;
        top: 250px; 
        left: 35%;
        transform: translateX(-50%);
        z-index: 7; 
    }

    .content-stats h2 {
        font-size: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .destination-section {
        padding: 60px 20px;
    }
    
    .destination-grid {
        grid-template-columns: 1fr;
    }
    
    .destination-header h2 {
        font-size: 30px;
    }

    .testimonial-section {
        padding: 60px 20px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr; 
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px 30px;
    }
    
    .footer-content .footer-col {
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-bottom p {
        margin-bottom: 15px;
    }
    
    .social-links {
        margin-left: 0;
    }
}
