/* ================================== */
/* GOOGLE FONT IMPORT         */
/* ================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap');

/* ================================== */
/* CSS VARIABLES (ROOT)       */
/* ================================== */
:root {
    --primary-color: #2c5b3d; /* A deep, natural green */
    --secondary-color: #f7b733; /* A warm, sunny yellow/gold */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f9f9f9;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

/* ================================== */
/* GLOBAL STYLES           */
/* ================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--text-color-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 600;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

section {
    padding: 60px 0;
}

/* ================================== */
/* HEADER & NAVIGATION        */
/* ================================== */
.main-header {
    background: var(--text-color-light);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* --- Hamburger Icon Styling --- */
.hamburger {
    display: none; /* Hidden on desktop by default */
    position: relative;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101; /* Ensure it's on top of other content */
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color); /* Use your main green color */
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.25s ease-in-out;
}

/* Position the three bars */
.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}
/* ================================== */
/* HERO SECTION             */
/* ================================== */
.hero {
    /* Define the background layers: a dark overlay AND your image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('background.png');

    /* Tell the image to cover the entire area */
    background-size: cover;

    /* Center the image within the section */
    background-position: center;

    /* Ensure the image does not repeat */
    background-repeat: no-repeat;

    /* Keep the rest of your styles for height, color, and layout */
    min-height: 90vh;
    color: var(--text-color-light);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--text-color-dark);
    padding: 8px 25px;
    border-radius: 2px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #e6a82e; /* A slightly darker shade of secondary color */
}

/* ================================== */
/* FEATURED DESTINATIONS         */
/* ================================== */
.featured-destinations {
    background-color: var(--background-light);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--text-color-light);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    flex-grow: 1; /* Allows the content to fill the card height */
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-content ul {
    list-style: none; /* Make sure there are no default bullets */
    padding-left: 0;  /* Remove default padding */
    margin-bottom: 20px; /* Add some space below the list */
}

.card-content li {
    padding-left: 0; /* Override any other li styles if needed */
}

.card-content a.cta-button {
    margin-top: auto; /* This is the key part that pushes the button down */
}

.read-more {
    font-weight: 600;
}

/* ================================== */
/* WELCOME & FOOTER          */
/* ================================== */
.welcome-section {
    text-align: center;
}
.welcome-section p {
    max-width: 800px;
    margin: 0 auto;
}

.main-footer {
    background: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}


/* ================================== */
/* RESPONSIVE (MOBILE)        */
/* ================================== */
@media (max-width: 768px) {
    .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 65px; 
    left: 0;
    background: white;
    text-align: center;
    z-index: 100; /* <-- ADD THIS LINE to bring it to the front */
}
    
   .main-header.nav-open .nav-links {
    display: flex;
}

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block; /* Show the hamburger button */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    /* Add this INSIDE the @media (max-width: 768px) block */

/* When menu is active, transform hamburger to an 'X' */
.main-header.nav-open .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}
.main-header.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}
.main-header.nav-open .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}
}
/* ================================== */
/* STYLES FOR DESTINATIONS PAGE     */
/* ================================== */

/* --- Page Header --- */
/* This styles the green banner at the top of the page */
.page-header {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 40px 20px;
}

.page-header h1 {
    font-size: 3rem;
}

/* --- Destinations List Layout --- */
.destinations-list {
    padding-top: 40px;
}

.destination-entry {
    display: grid;
    /* Creates a two-column layout: 1 part for the image, 2 parts for text */
    grid-template-columns: 1fr 2fr; 
    gap: 40px; /* Space between image and text */
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee; /* A light line to separate entries */
}

/* For every second entry, we can flip the layout */
.destination-entry:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

/* We need to re-order the elements inside the flipped entry */
.destination-entry:nth-child(even) img {
    grid-column: 2;
    grid-row: 1;
}
.destination-entry:nth-child(even) .entry-content {
    grid-column: 1;
    grid-row: 1;
}

.destination-entry img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.entry-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.entry-content h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 10px;
}

.entry-content ul {
    list-style: none;
    padding-left: 0;
}

.entry-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

/* Adds a custom checkmark bullet point for activities */
.entry-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ================================== */
/* CARD BUTTON ALIGNMENT FIX       */
/* ================================== */

/* Make the entire card a flex container */
.card {
    display: flex;
    flex-direction: column;
}

/* Make the content area expand to fill empty space */
.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Push the button to the bottom of the content area */
.card-content a.cta-button {
    margin-top: auto;
}

/* ================================== */
/* DESTINATIONS PAGE RESPONSIVE      */
/* ================================== */

/* Add these rules INSIDE your existing @media query */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    /* Stack image and text on top of each other on mobile */
    .destination-entry,
    .destination-entry:nth-child(even) {
        grid-template-columns: 1fr;
    }

    /* Reset the grid order for the flipped entry on mobile */
    .destination-entry:nth-child(even) img,
    .destination-entry:nth-child(even) .entry-content {
        grid-column: auto;
        grid-row: auto;
    }
}
/* ================================== */
/* ABOUT PAGE STYLES              */
/* ================================== */

.about-story h2 {
    text-align: left;
    margin-bottom: 20px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.team-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes the photo circular */
    object-fit: cover;
}

.contact-details-section {
    background-color: #f9f9f9;
}

.contact-details-section h2 {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 8px;
}

/* Responsive styles for About page */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================== */
/* CONTACT PAGE STYLES            */
/* ================================== */
.contact-section .contact-grid {
    align-items: flex-start; /* Aligns items to the top */
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info p {
    line-height: 1.8;
    margin-bottom: 15px;
}