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

body {
    /* Required: Black body background */
    background-color: #000000;
    /* Required: White text color */
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Optional: Class added by JS to prevent scrolling when the menu is open */
body.nav-open {
    overflow: hidden;
}

/* Headings and Links */
h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 700;
}

a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF4500;
}

/* --- Unordered List (UL) Styling --- */
ul {
    /* Sets the list marker (bullet) color to match the text */
    color: #FFFFFF; 
    
    /* Slightly increases the list indentation */
    padding-left: 30px; 
    
    /* Ensures list items are stacked as blocks */
    display: block; 
    
    /* Sets the type of marker (default is disc) */
    list-style-type: disc; 
}

li {
    /* Adds a small vertical space between list items */
    margin-bottom: 5px; 
}

/* Button Styling (Required: Red buttons) */
button {
    cursor: pointer;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

/* Primary Red Button */
.btn-primary, .btn-book {
    background-color: #D20000; 
    color: #FFFFFF;
}

.btn-primary:hover, .btn-book:hover {
    background-color: #FF0000;
}

/* ---------------------------------------------------- */
/* --- HEADER STYLING (Fixed, Shrinking Header) --- */
/* ---------------------------------------------------- */
header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.9); 
    border-bottom: 1px solid #333;
    /* CRITICAL: Makes header stick and span full width */
    position: fixed; 
    top: 0;
    width: 100%; 
    z-index: 100; 
    transition: padding 0.3s ease, height 0.3s ease; /* Smooth transition for shrinking */
}

/* SHRINKING HEADER STATE (Applied by JS on scroll) */
.header-scroll {
    padding: 10px 50px; /* Reduced vertical padding */
}

/* Reduce the size of elements inside the shrunk header */
.header-scroll .logo img {
    /* ~35% reduction from initial 80px height */
    width: 92px; 
    height: 52px;
}

.header-scroll .btn-book {
    padding: 8px 15px; 
    font-size: 0.9em;
}

/* Header mobile media query */
@media (max-width:660px) {
    header {
        padding: 15px;
    }

    header .btn-book{
        display: none;
    }
    
    /* Ensure mobile padding remains consistent */
    .header-scroll {
        padding: 15px;
    }
}

/* New: Wrapper for the right-side elements */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px; 
}

/* 1. LOGO STYLING (Fixed Size and Aligned Left) */
.logo {
    z-index: 20; 
    transition: all 0.3s ease;
}

.logo img {
    /* Required initial size: 142x80 px */
    width: 142px;
    height: 80px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease; 
}

/* 2. HAMBURGER MENU STYLING (Always visible on the right) */
.menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    z-index: 30;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: 0.3s;
}

/* 3. NAVIGATION MENU STYLING (Off-canvas from the RIGHT) */
.main-nav {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    left: auto;
    width: 300px;
    height: 100vh;
    background-color: #1a1a1a;
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    z-index: 25;
}

.main-nav.open {
    right: 0;
}

.main-nav ul {
    list-style: none;
    display: block;
}

.main-nav ul li {
    margin: 0;
    border-bottom: 1px solid #333;
}

.main-nav ul li:last-child {
    border-bottom: none;
}

.main-nav ul li a {
    display: block;
    padding: 15px 0;
    font-size: 1.2em;
}

/* 4. BUTTON POSITIONING */
.btn-book {
    z-index: 10;
}

/* ---------------------------------------------------- */
/* --- MAIN CONTENT STYLING --- */
/* ---------------------------------------------------- */
main {
    /* CRITICAL: Add padding to push content below the fixed header (approx 120px) */
    padding-top: 120px; 
    min-height: calc(100vh - 250px);
}

.hero-section {
    text-align: center;
    padding: 100px 20px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.map-section {
    padding: 0px 0; 
    text-align: center;
}

.map-section h2 {
    margin-bottom: 20px;
}

/* Required: 100% width embedded Google Map container */
#google-map-embed-container {
    width: 100%;
    height: 600px; 
    background-color: #333;
    border: 1px solid #D20000;
}

#google-map-embed-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------------------------------------------------- */
/* --- FOOTER STYLING (Mobile Default / STACKED) --- */
/* ---------------------------------------------------- */
footer {
    background-color: #111111;
    padding: 40px 50px 0;
    border-top: 1px solid #333;
    display: block; 
    width: 100%;
}

/* Default mobile/stacked layout */
.footer-primary {
    display: block; 
    padding-bottom: 30px;
}

/* PARTNERS SECTION STYLING */
.partners-info {
    max-width: 50%;
    display: block;
    padding: 20px; 
}

.partner-logos {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    align-items: center;
}

.partner-logo {
    max-width: 180px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

/* CONTACT INFO STYLING (Default for mobile) */
.contact-info {
    max-width: 300px;
    display: block;
    padding: 20px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 0.9em;
}

/* FOLLOW US SECTION (Must be a full-width block) */
.footer-secondary {
    padding-top: 20px;
    padding-bottom: 20px; 
    border-top: 1px solid #333;
    text-align: center;
    clear: both; /* Ensures it breaks after the primary section */
    width: 100%; 
    display: block;
}

.social-links h3 {
    margin-bottom: 10px;
}

.social-links a {
    margin: 0 10px;
    font-weight: bold;
}

/* COPYRIGHT SECTION (Must be a full-width block) */
.copyright {
    text-align: center;
    font-size: 0.8em;
    padding-top: 20px;
    padding-bottom: 20px; 
    border-top: 1px solid #333;
    color: #AAAAAA;
    width: 100%; 
    display: block;
}

/* ---------------------------------------------------- */
/* --- DESKTOP LAYOUT (Flexbox side-by-side: > 768px) --- */
/* ---------------------------------------------------- */
@media (min-width: 769px) {
    
    /* ENABLE DESKTOP LAYOUT: Partners (left) and Contact Info (right) */
    .footer-primary {
        display: flex;
        justify-content: space-between;
    }
    
    /* Contact Info (Right) */
    .contact-info {
        text-align: right; 
    }
    
    /* Ensure partner logos are left-aligned on desktop */
    .partner-logos {
        justify-content: flex-start;
    }
}

/* ---------------------------------------------------- */
/* --- MOBILE LAYOUT (Stacking and Centering: <= 768px) --- */
/* ---------------------------------------------------- */
@media (max-width: 768px) {
    
    /* Footer: All sections stack vertically */
    .footer-primary {
        flex-direction: column;
        gap: 30px; 
        padding-bottom: 40px;
    }

    /* Partners section stacks logos and centers text */
    .partners-info {
        max-width: 100%;
        text-align: center; 
    }
    
    .partner-logos {
        justify-content: center; /* Center logos on mobile */
        gap: 30px;
    }

    /* Contact Info moves to the center */
    .contact-info {
        max-width: 100%;
        text-align: center; 
    }
}

/* ---------------------------------------------------- */
/* --- CONTACT PAGE STYLING --- */
/* ---------------------------------------------------- */
.contact-section {
    min-height: 100vh;
    padding: 100px 50px;
    /* Image Source and Scaling */
    background-image: url('images/lake_and_sky_1600x900.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* Ensures image covers the whole section */    
    /* Parallax Effect (Key CSS property) */
    background-attachment: fixed; 
    background-position: center center;
    position: relative; /* Needed for the overlay positioning */
}

.page-title {
    text-align: center;
    font-size: 3em;
}

.intro-text {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1em;
    color: #AAAAAA;
}

.contact-grid {
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

.contact-form-container {
    flex: 2; /* Takes up more space */
}

.contact-info-block {
    flex: 1; /* Takes up less space */
    padding-top: 20px;
}

/* Form Styling */
.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    background-color: #222222; /* Dark input background */
    border: 1px solid #444444;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #D20000; /* Red focus highlight */
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button.btn-primary {
    margin-top: 30px;
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* Mobile Responsiveness for Contact Page */
@media (max-width: 900px) {
    .contact-grid {
        flex-direction: column;
        gap: 30px;
    }

    .contact-section {
        padding: 30px 20px;
    }
    
    .contact-info-block {
        order: -1; /* Move info block above the form on mobile */
        text-align: center;
        padding-top: 0;
    }
}