/* styles.css */
body,
html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform: translate(-50%, -50%);
}

.services {
    display: flex;
    justify-content: space-around;
    padding: 30px 20px;
    background-color: #f9f9f9;
    flex-wrap: wrap;
}

.service-card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .service-card {
        width: 25%;
        margin: 0 10px;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 36px;
    color: #ff6f61;
    margin-bottom: 15px;
}

.service-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #555;
}

.holiday-packages {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.holiday-packages h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.holiday-packages p {
    font-size: 18px;
    color: #777;
    margin-bottom: 40px;
}

.package-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .package-card {
        width: 23%;
        margin: 0 1%;
    }
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.package-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.package-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.package-card p {
    font-size: 14px;
    color: #555;
}

.well-known-destinations {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.well-known-destinations h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.well-known-destinations p {
    font-size: 18px;
    color: #777;
    margin-bottom: 40px;
}

.destination-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-card {
    width: 100%;
    margin: 10px 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .destination-card {
        width: 23%;
        margin: 0 1%;
    }
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-align: left;
}

.tours-departures {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

.destination-card h3 {
    font-size: 24px;
    margin: 0;
    color: white;
}

.trending-tours {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.trending-tours h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.trending-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .trending-card {
        width: 23%;
        margin: 0 1%;
    }
}

.trending-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-card:hover .card-image img {
    transform: scale(1.1);
}

.trending-card h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #333;
}

.card-buttons {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.card-buttons .call-now-button,
.card-buttons .view-details {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Ensure it behaves like a button */
    text-align: center; /* Center text */
}

.card-buttons .call-now-button {
    background-color: #ff6f61;
    color: white;
}

.card-buttons .call-now-button:hover {
    background-color: #e65a50;
}

.card-buttons .view-details {
    background-color: #333;
    color: white;
}

.card-buttons .view-details:hover {
    background-color: #555;
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .dropdown-content {
        position: static;
        width: 100%;
    }
}

.social-bar {
    background-color: green;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.social-bar .text {
    color: white;
    font-size: 18px;
}

.social-bar .icons {
    display: flex;
    gap: 15px;
}

.social-bar a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

.social-bar a:hover {
    opacity: 0.7;
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

footer h4 {
    margin-bottom: 15px;
}

footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-links {
    display: flex;
    gap: 10px;
}

footer .social-links a {
    font-size: 24px;
}

footer .copyright {
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .social-bar {
        flex-direction: column;
        text-align: center;
    }

    .social-bar .icons {
        justify-content: center;
        margin-top: 10px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-section {
        flex: 1 1 100%;
    }

    footer .social-links {
        justify-content: center;
    }
}

/* Mobile-specific adjustments for trending cards */
@media (max-width: 768px) {
    .trending-cards {
        display: flex;
        flex-direction: column;
        gap: 20px; /* Adds space between cards */
        padding: 10px; /* Adds padding around the container */
    }

    .trending-card {
        width: 100%; /* Ensures full width on mobile */
        margin: 0; /* Removes default margin */
        padding: 15px; /* Adds padding inside each card */
        box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
    }

    .trending-card:hover {
        transform: none; /* Disable hover effect on mobile for better usability */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Keep a subtle shadow */
    }
}