/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* Navigation Bar */
header {
    width: 100%;
    background: #005f73;
    position: fixed; /* Make navbar fixed at the top */
    top: 0;
    z-index: 1000; /* Ensure it's above other items */
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Set a fixed height for the navbar */
}

.nav-brand {
    color: #edf6f9;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-item {
    padding: 10px 15px;
    color: #edf6f9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #2a9d8f;
}

.menu-toggle {
    display: none;
}

.hamburger-menu {
    width: 25px;
    height: 3px;
    background: #edf6f9;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu::after,
.hamburger-menu::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #edf6f9;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu::before {
    transform: translateY(-8px);
}

.hamburger-menu::after {
    transform: translateY(8px);
}

/* Hero Section */
.hero {
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-inner {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Enhance CTA button visibility */
.cta-button {
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
    padding: 15px 40px;
    background: rgba(42, 157, 143, 0.9); /* Semi-transparent background */
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(38, 70, 83, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Featured Destinations */
.featured-destinations {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.featured-destinations .container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-destinations h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.destination-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-info {
    padding: 20px;
}

.destination-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.destination-info p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.btn-learn-more {
    padding: 10px 25px;
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-learn-more:hover {
    background-color: #00397a;
}

/* Tour Packages */
.blog-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.blog-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.blog-post {
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0056b3;
}

.blog-excerpt {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.blog-read-more {
    padding: 10px 25px;
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.blog-read-more:hover {
    background-color: #00397a;
}
/* Footer */
footer {
    background: #073b4c;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Tour Packages */
.tour-packages {
    background: #fff;
    padding: 40px 20px;
    display: flex; /* Use flexbox */
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-around; /* Distribute space around items */
    row-gap: 20px; /* Space between rows */
}

.package-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px; /* Space between the cards vertically */
    width: calc(33.333% - 20px); /* Subtract margin from the width for 3 columns */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #005f73;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
    }

    .nav-item {
        padding: 20px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .destination-card,
    .package-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .destination-card,
    .package-card {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav .nav-wrapper a {
        padding: 10px;
    }

    .nav-wrapper {
        text-align: center;
    }

    .nav-mobile {
        display: block;
    }
    
}
@media (max-width: 1024px) {
    .package-card {
        width: calc(50% - 20px); /* Two columns for smaller desktops and tablets */
    }
}

@media (max-width: 768px) {
    .package-card {
        width: calc(50% - 20px); /* Keep two columns for tablets */
    }
}

@media (max-width: 480px) {
    .package-card {
        width: 100%; /* Full width for mobile devices */
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .featured-destinations h2 {
        font-size: 2rem;
    }

    .destination-image {
        height: 150px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-post {
        width: calc(50% - 20px); /* Two columns for smaller desktops and tablets */
    }
}

@media (max-width: 768px) {
    .blog-post {
        width: 100%; /* Full width for tablets and mobile devices */
    }
}