/* --- Variables & Reset --- */
:root {
    --primary-color: #800000; /* Deep Maroon */
    --secondary-color: #D4AF37; /* Gold */
    --bg-color: #FFF8E7; /* Cream / Off-White */
    --text-dark: #2c2c2c;
    --text-light: #f4f4f4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.gold-text { color: var(--secondary-color); }
.bg-dark { background-color: #1a1a1a; color: var(--text-light); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
    cursor: pointer;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

.navbar.sticky { padding: 10px 0; background: #000; }

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.nav-menu { display: flex; align-items: center; }

.nav-link {
    color: #fff;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link:hover { color: var(--secondary-color); }

.btn-nav {
    border: 1px solid var(--secondary-color);
    padding: 8px 15px;
    border-radius: 4px;
}

/* Mobile Menu Toggle */
.menu-toggle { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('../images/hero.jpg') no-repeat center center/cover;
    /* Fallback gradient if image missing */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero.jpg');
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

.sub-headline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-style: italic;
}

.headline {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.image-frame {
    width: 100%;
    height: 400px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid var(--secondary-color);
}

.royal-icon { font-size: 5rem; color: var(--secondary-color); }

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border: 5px solid var(--secondary-color);
    animation: zoom 0.6s;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* --- Reservation Form --- */
.reservation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
}

.form-group { display: flex; flex-direction: column; }
.form-full { grid-column: span 2; }

label {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

input, select {
    padding: 12px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 4px;
}
.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }


/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.social-links { margin-top: 20px; }
.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}
.social-links a:hover { color: var(--secondary-color); }

.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    margin-top: 50px;
    color: #777;
    font-size: 0.8rem;
}

/* --- Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active { left: 0; }
    .nav-item { margin: 20px 0; }
    
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .headline { font-size: 2.5rem; }
    .about-grid, .reservation-form, .contact-grid { grid-template-columns: 1fr; }
    .form-full { grid-column: span 1; }
}