/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #2C5F2D; /* Forest Green */
    --secondary-color: #97BC62; /* Light Green */
    --accent-color: #F2A900; /* Sunrise Gold */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f7f6;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Typography & Layout Utility */
h1, h2, h3 {
    font-weight: 700;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Navigation Bar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo span {
    color: var(--accent-color);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background: #e09b00;
    transform: translateY(-3px);
}

/* Auto-Scrolling Marquee Gallery */
.destinations-section {
    padding: 6rem 0;
    background: #fff;
    overflow: hidden; /* Hide the scrollbar */
}
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
/* Mask to fade the left and right edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee-track {
    display: inline-flex;
    /* The animation duration sets the speed. Lower = faster */
    animation: scroll-gallery 30s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused; /* Cool feature: pauses when user hovers to look closer */
}

.marquee-item {
    width: 350px;
    height: 250px;
    margin: 0 15px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}
.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.marquee-item:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}
.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    pointer-events: none;
}

/* Marquee Animation Keyframes */
@keyframes scroll-gallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
    /* Translates exactly half the width of the track. Because the items are duplicated, it creates an infinite loop */
}

/* Services Section */
.services-section {
    padding: 6rem 10%;
    background: var(--bg-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 10%;
    background: var(--primary-color);
    color: #fff;
}
.contact-container {
    max-width: 600px;
    margin: auto;
    text-align: center;
}
.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.contact-container p {
    margin-bottom: 2rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}
.contact-form textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: #1a3c1c;
    color: #fff;
    text-align: center;
    padding: 2rem 10%;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
}
.social-links a:hover {
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a full app, you'd add a hamburger menu here */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-content {
        flex-direction: column;
    }
    .marquee-item {
        width: 280px;
        height: 200px;
    }
}