:root {
    /* Colors */
    --color-charcoal: #2C2C2C;
    --color-emerald: #348B34;
    /* Green Accent */
    --color-cream: #F9F8F4;
    --color-white: #FFFFFF;
    --color-glass: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

p {
    font-weight: 300;
    font-size: 1.1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--color-mustard);
    font-weight: 300;
    margin-top: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.mb-medium {
    margin-bottom: var(--spacing-md);
}

.mb-large {
    margin-bottom: var(--spacing-lg);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-block {
    display: inline-block;
    background-color: var(--color-mustard);
    color: var(--color-white);
    padding: 0.8rem 1.5rem;
    border: none;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover,
.btn-block:hover {
    background-color: #b8860b;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-section {
    padding: var(--spacing-lg) 0;
}

section {
    padding: var(--spacing-xl) 0;
}

/* Header styles removed in favor of Tailwind classes in index.html */


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* For parallax */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Overlay */
}

.hero-content {
    z-index: 1;
    padding: 2rem;
}

/* Responsive Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* aspect-ratio removed for mosaic */
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    /* "Beautify" filter: slight warmth and contrast */
    filter: brightness(0.95) contrast(1.1) sepia(0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05) sepia(0);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    /* Dark gradient for better text visibility and premium feel */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.0));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 10px;
    /* Slight inset for the border */
}

/* Pseudo-element for a reveal effect on the border */
.gallery-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay::before {
    transform: scale(1);
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
    opacity: 1;
}

/* Large bottom item */

/* Floorplan */
.floorplan-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.floorplan-svg {
    width: 100%;
    height: auto;
}

/* Booking Section */
.booking-section {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.booking-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-card h2 {
    color: var(--color-mustard);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-mustard);
}

.footer {
    padding: 2rem 0;
    background-color: #222;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

/* Messages */
.success-message {
    color: #4CAF50;
    margin-top: 1rem;
    text-align: center;
}

.error-message {
    color: #FF5252;
    margin-top: 1rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu to be implemented if needed, simplifying for now */
    }

    .glass-header {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .item-1,
    .item-2,
    .item-3 {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 300px;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .bento-grid {
        grid-template-rows: 250px 250px 250px;
    }

    .item-1 {
        grid-row: 1/2;
    }

    .item-2 {
        grid-row: 2/3;
    }

    .item-3 {
        grid-row: 3/4;
    }
}