/* --- 1. Global Reset & Variables --- */
:root {
    --color-primary: #0A5A3C;        /* Deep Forest Green */
    --color-cta: #008080;            /* Tropical Teal */
    --color-accent: #D1B36C;         /* Warm Sand */
    --color-text: #333333;           /* Soft Charcoal */
    --color-light-bg: #F9F9F9;
    --color-pale-green: #E8F5E9;    /* Light Green Shade for textured background */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-pale-green); /* Light green background */
    /* Add a subtle texture if desired. Example: */
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23e0f2f1" fill-opacity="0.2"><path d="M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4H79v4h-1v-4H69v4h-1v-4H59v4h-1v-4H49v4h-1v-4H39v4h-1v-4H29v4h-1v-4H19v4h-1v-4H9v4h-1v-4H0v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0zm0-100h4v1h-4v4h-1v-4h-9v4h-1v-4H79v4h-1v-4H69v4h-1v-4H59v4h-1v-4H49v4h-1v-4H39v4h-1v-4H29v4h-1v-4H19v4h-1v-4H9v4h-1v-4H0v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0zm0 100h4v1h-4v4h-1v-4h-9v4h-1v-4H79v4h-1v-4H69v4h-1v-4H59v4h-1v-4H49v4h-1v-4H39v4h-1v-4H29v4h-1v-4H19v4h-1v-4H9v4h-1v-4H0v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0zm0 100h4v1h-4v4h-1v-4h-9v4h-1v-4H79v4h-1v-4H69v4h-1v-4H59v4h-1v-4H49v4h-1v-4H39v4h-1v-4H29v4h-1v-4H19v4h-1v-4H9v4h-1v-4H0v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0zm0 100h4v1h-4v4h-1v-4h-9v4h-1v-4H79v4h-1v-4H69v4h-1v-4H59v4h-1v-4H49v4h-1v-4H39v4h-1v-4H29v4h-1v-4H19v4h-1v-4H9v4h-1v-4H0v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0zm0-50h4v1h-4v4h-1v-4h-9v4h-1v-4H79v4h-1v-4H69v4h-1v-4H59v4h-1v-4H49v4h-1v-4H39v4h-1v-4H29v4h-1v-4H19v4h-1v-4H9v4h-1v-4H0v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0zM-1 0h1v-1h-1z" /></g></svg>');
    background-size: 100px 100px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 2. Typography & Headings --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

h1 { font-size: 2.5em; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 1em; text-align: center; }
h3 { font-size: 1.5em; margin-bottom: 0.5em; }

.section-padding {
    padding: 4em 0;
}

/* --- 3. Buttons & CTAs --- */
.cta-button {
    background-color: var(--color-cta);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #006666; /* Darker teal */
}

.cta-button.primary {
    background-color: var(--color-primary);
}
.cta-button.primary:hover {
    background-color: #08432b;
}

/* --- 4. Header & Navigation --- */
#main-header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-primary);
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--color-cta);
}
/* --- 5. Hero Section (CSS adjustments) --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px; 
    padding-bottom: 4em;
    position: relative; 
}

/* New container for the image and overlay */
.hero-image-container {
    width: 100%;
    min-height: 60vh; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure the placeholder image fills its container */
.hero-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Important for scaling the image */
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2em 3em;
    border-radius: 8px;
    max-width: 600px;
    color: white;
    text-align: center;
    position: relative; /* Keep overlay on top */
    z-index: 5;
}

/* ... rest of the CSS remains the same ... */

/* Room photo CSS adjustment */
/* Room photo CSS adjustment */
.room-photo-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover; 
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; 
}
.hero h1 {
    color: white;
    font-size: 3em; /* Larger for impact */
    margin-bottom: 0.2em;
}
.hero p {
    font-size: 1.3em;
}

/* Booking Widget */
.booking-widget {
    background-color: white;
    color: var(--color-text);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* More prominent shadow */
    width: 320px;
    margin-top: -80px; /* Overlap with the hero image */
    position: relative;
    z-index: 10;
}
.booking-widget h3 {
    margin-top: 0;
    color: var(--color-primary); /* Changed to primary green for sophistication */
    text-align: center;
    margin-bottom: 1em;
}
.booking-widget .input-group {
    margin-bottom: 15px;
}
.booking-widget label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9em;
}
.booking-widget input[type="date"],
.booking-widget select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1em;
}
.booking-widget .direct-offer {
    text-align: center;
    font-size: 0.85em;
    color: var(--color-cta); /* Changed to teal for prominence */
    margin-top: 15px;
    font-weight: bold;
}


/* --- 6. Welcome Section & Highlights --- */
.sub-text {
    text-align: center;
    max-width: 800px;
    margin: 0.5em auto 2.5em auto;
    font-size: 1.1em;
}

.highlights {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    text-align: center;
}

.highlight-card {
    flex: 1;
    padding: 25px;
    background-color: #FFFFFF; /* White background for cards */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.highlight-card img {
    width: 50px; /* Slightly larger icons */
    height: 50px;
    margin-bottom: 15px;
}
.highlight-card h4 {
    color: var(--color-cta);
    margin-bottom: 10px;
}

/* --- 7. Rooms Preview --- */
.bg-light {
    background-color: transparent; /* Rely on body's textured background */
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted for smaller screens too */
    gap: 30px;
}

.room-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.room-photo-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Ensure placeholder image covers space */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; /* Subtle separator */
}

.room-card .price {
    font-weight: bold;
    color: var(--color-primary);
    margin: 10px 0 20px 0;
    font-size: 1.1em;
}
.room-card h3 {
    margin-top: 15px;
}


/* --- 8. Footer --- */
footer {
    background-color: var(--color-primary);
    color: white;
    padding-top: 3em;
    font-size: 0.9em;
    margin-top: 4em; /* Give some space above the footer */
}

footer .container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 3em;
    gap: 30px;
}

footer h4 {
    color: var(--color-accent);
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.2s;
}
footer ul li a:hover {
    color: var(--color-cta);
}

.footer-col.social a {
    color: white;
    text-decoration: none;
    margin-right: 10px;
    transition: color 0.2s;
}
.footer-col.social a:hover {
    color: var(--color-cta);
}


.copyright {
    text-align: center;
    padding: 15px 0;
    background-color: #08432b; /* Slightly darker green */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- 9. Mobile Responsiveness --- */
@media (max-width: 768px) {
    #main-header .container {
        flex-direction: column;
        padding: 10px 20px;
    }
    nav {
        margin-top: 10px;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.9em;
    }
    .cta-button {
        margin-top: 10px;
    }

    .hero {
        padding-top: 120px; /* Adjust for smaller header */
        padding-bottom: 3em;
    }
    .hero-image-placeholder {
        min-height: 40vh;
    }
    .hero-overlay {
        padding: 1.5em;
        max-width: 90%;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    } 

    .booking-widget {
        width: 90%;
        margin-top: -60px; /* Adjust overlap for mobile */
    }
    
    .highlights {
        flex-direction: column;
        gap: 20px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 25px;
    }
    footer ul li a {
        padding: 2px 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.7em; }
    .logo { font-size: 1.3em; }
    nav a { margin: 0 7px; }
}