:root {
    --primary: #A0522D; /* Sienna */
    --secondary: #D2B48C; /* Tan */
    --accent: #6B8E23; /* Olive Drab */
    --bg: #FDFBF8; /* Light Cream */
    --surface: #FFFFFF; /* White */
    --text: #333333; /* Dark Grey */
    --muted: #666666; /* Medium Grey */
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
p { margin-bottom: 1em; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-padded {
    padding: 4rem 0;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--muted);
    font-size: 1.1rem;
}

.mt-large {
    margin-top: 2rem;
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--surface);
}
.btn-primary:hover {
    background-color: #8B4513; /* SaddleBrown */
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text);
}
.btn-secondary:hover {
    background-color: #CDB891; /* Light Tan */
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-link {
    background: none;
    color: var(--primary);
    padding: 0;
    text-decoration: underline;
}
.btn-link:hover {
    color: var(--accent);
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Header */
.header {
    background-color: var(--surface);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text);
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://pub-78c87949f48f4e14a8d7491826c46c31.r2.dev/user-uploads/d5e93caf-1cc7-4982-b42a-d42b12c2f8cb/808ac97fffe14490.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--surface);
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    color: var(--surface);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background-color: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-content p {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 0.5rem;
    display: block;
}

.form-section {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Booking specific styles */
.booking-summary {
    background-color: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid #eee;
}

.booking-summary h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.booking-summary p {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.booking-summary strong {
    color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: color 0.3s ease;
}

.calendar-header button:hover {
    color: var(--accent);
}

.day-name {
    text-align: center;
    font-weight: 700;
    color: var(--muted);
}

.calendar-day {
    padding: 0.8rem 0.5rem;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.9rem;
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}

.calendar-day.current-month {
    color: var(--text);
}

.calendar-day.past-date {
    color: var(--muted);
    cursor: not-allowed;
    background-color: #f0f0f0;
}

.calendar-day.selectable:hover {
    background-color: var(--secondary);
    color: var(--text);
}

.calendar-day.selected {
    background-color: var(--primary);
    color: var(--surface);
    font-weight: 700;
}

.calendar-day.range-selected {
    background-color: rgba(var(--primary), 0.2);
    color: var(--primary);
}

.room-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.room-option {
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--surface);
}

.room-option:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.room-option.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    background-color: var(--bg);
}

.room-option h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.room-option p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.room-option .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--text);
    color: var(--surface);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--secondary);
    margin: 0 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav {
        width: 100%;
        order: 3;
        display: none;
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .grid-2-cols .image-content {
        order: -1; /* Image above text on mobile */
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .section-padded {
        padding: 3rem 0;
    }

    .footer .container {
        flex-direction: column;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .calendar-day {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
    }

    .room-selection-grid {
        grid-template-columns: 1fr;
    }
}