:root {
    --primary: #6366f1; /* Indigo */
    --secondary: #a78bfa; /* Violet */
    --accent: #f97316; /* Orange */
    --bg: #0f172a; /* Slate 900 */
    --surface: #1e293b; /* Slate 800 */
    --text: #f8fafc; /* Slate 50 */
    --muted: #94a3b8; /* Slate 400 */
    --radius: 0.75rem;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --primary-rgb: 99, 102, 241;
}

/* 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;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    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(--text);
}
.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.3);
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

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

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--muted);
    border-radius: var(--radius);
    background-color: var(--bg);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.error-message {
    color: #ef4444; /* Red */
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Cards */
.card {
    background-color: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

.header-content {
    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);
}

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

.main-nav .nav-list a {
    color: var(--text);
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
}

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

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/seed/hotel-lobby/1920/1080') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

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

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
}

/* Room Listing */
.grid-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.room-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

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

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

.room-card p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.room-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.room-card .amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.room-card .amenities li {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
}

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

.booking-form-card {
    max-width: 700px;
    margin: 0 auto;
}

.booking-summary {
    background-color: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--muted);
}

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

.booking-summary p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-summary p span {
    font-weight: 700;
    color: var(--text);
}

/* Calendar */
.calendar-container {
    background-color: var(--bg);
    border: 1px solid var(--muted);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.5rem;
    display: none; /* Hidden by default */
    position: absolute;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

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

.calendar-header button:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
}

.calendar-header h4 {
    margin: 0;
    color: var(--text);
    font-size: 1.2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-grid div {
    padding: 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-grid .day-name {
    font-weight: 700;
    color: var(--primary);
    cursor: default;
}

.calendar-grid .day {
    background-color: var(--surface);
    color: var(--text);
}

.calendar-grid .day:hover:not(.disabled):not(.selected):not(.range-selected) {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.calendar-grid .day.disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.5;
    background-color: var(--bg);
}

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

.calendar-grid .day.range-selected {
    background-color: var(--secondary);
    color: var(--bg);
}

.calendar-grid .day.booked {
    background-color: #ef4444; /* Red */
    color: var(--bg);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Contact Section */
.section-contact {
    background-color: var(--bg);
}

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

.contact-info h3, .contact-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: var(--muted);
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    .main-nav {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .hamburger-menu {
        display: flex;
        order: 1;
    }
    .main-nav .nav-list {
        flex-direction: column;
        width: 100%;
        display: none;
        text-align: center;
        margin-top: 1rem;
    }
    .main-nav .nav-list.active {
        display: flex;
    }
    .main-nav .nav-list li {
        margin: 0.5rem 0;
    }
    .main-nav .nav-list a {
        padding: 0.8rem 0;
        display: block;
    }
    .hero-content {
        padding: 1rem;
    }
    .section-padded {
        padding: 4rem 0;
    }
    .section-subtitle {
        margin-bottom: 2rem;
    }
    .grid-rooms {
        grid-template-columns: 1fr;
    }
    .room-card {
        margin-bottom: 1.5rem;
    }
    .booking-form-card {
        padding: 1.5rem;
    }
    .calendar-container {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .card {
        padding: 1.5rem;
    }
    .booking-summary {
        padding: 1rem;
    }
}
