/* INDEX.HTML - Home Page Styles Only */

/* Global Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2c5f2d;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 100%);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

header h2.tagline {
    font-size: 1.1em;
    font-style: italic;
    opacity: 0.9;
    font-weight: normal;
}

/* Navigation Styles */
nav {
    background-color: #1a3d1a;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav .container {
    position: relative;
}

/* Hide checkbox */
.menu-toggle {
    display: none;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Animate hamburger to X when checked */
.menu-toggle:checked + .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle:checked + .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #2c5f2d;
}

/* Main Content */
main {
    min-height: 500px;
}

/* Hero Section - Index Page Only */
.hero {
    background: linear-gradient(rgba(44, 95, 45, 0.4), rgba(44, 95, 45, 0.5)),
                url('/assets/images/bg4.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Highlights Section - Index Page Only */
.highlights {
    padding: 60px 20px;
    background-color: #fff;
}

.highlights h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #2c5f2d;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.highlight-card {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-card h3 {
    color: #2c5f2d;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.highlight-card p {
    color: #555;
}

/* Featured Destinations - Index Page Only */
.featured-destinations {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.featured-destinations h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #2c5f2d;
}

.destination-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.preview-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.preview-card h3 {
    color: #2c5f2d;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.preview-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #2c5f2d;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn:hover {
    background-color: #1a3d1a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* Call to Action - Index Page Only */
.call-to-action {
    background-color: #2c5f2d;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

.call-to-action h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.call-to-action .btn {
    background-color: #fff;
    color: #2c5f2d;
    border: 2px solid #fff;
}

.call-to-action .btn:hover {
    background-color: #1a3d1a;
    color: #fff;
    border-color: #fff;
}

/* Footer Styles */
footer {
    background-color: #1a3d1a;
    color: #fff;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #97bc62;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95em;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #97bc62;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c5f2d;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9em;
}

/* Responsive Design - Tablet */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header .tagline {
        font-size: 1em;
    }

    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a3d1a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    /* Show menu when checkbox is checked */
    .menu-toggle:checked ~ ul {
        max-height: 500px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .destination-preview,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Responsive Design - Mobile */
@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.6em;
        letter-spacing: 1px;
    }

    header .tagline {
        font-size: 0.9em;
    }

    nav ul li a {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h2 {
        font-size: 1.6em;
    }

    .highlights,
    .featured-destinations {
        padding: 40px 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    .call-to-action {
        display: none;
    }

    body {
        background-color: #fff;
    }

    .hero {
        background: none;
        color: #000;
    }
}