/* ===== VARIABLES & RESET ===== */
:root {
    --charcoal: #17191C;
    --warm-ivory: #F5F1E8;
    --antique-brass: #A98C58;
    --antique-brass-hover: #917748;
    --white: #ffffff;
    --black: #000000;
    --gray-dark: #333333;
    --gray-light: #e0dcd2;
    --transition-speed: 0.3s;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

ul, ol {
    list-style: none;
}

/* Accessibility Focus Rings */
a:focus-visible, button:focus-visible, input:focus-visible, details:focus-visible {
    outline: 3px solid var(--antique-brass);
    outline-offset: 3px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--antique-brass);
    color: var(--white);
    border-color: var(--antique-brass);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--antique-brass-hover);
    border-color: var(--antique-brass-hover);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--charcoal);
    color: var(--warm-ivory);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.text-btn {
    background: none;
    border: none;
    color: var(--antique-brass);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    background-color: var(--charcoal);
    color: var(--warm-ivory);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.brand-wordmark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-ivory);
    letter-spacing: 1px;
}

.brand-wordmark:hover {
    color: var(--antique-brass);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-list a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list a:hover {
    color: var(--antique-brass);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--warm-ivory);
    transition: all var(--transition-speed);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-image: url('images/photo-1542314831-c6a4d1409e1c.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 25, 28, 0.6); /* Charcoal overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-positioning {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--antique-brass);
    font-weight: 700;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-support {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-actions .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero-actions .btn-secondary:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

/* ===== HIGHLIGHTS ROW ===== */
.highlights {
    background-color: var(--charcoal);
    color: var(--warm-ivory);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(169, 140, 88, 0.3);
}

.highlights-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
}

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

.highlight-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--antique-brass);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== GENERAL SECTIONS ===== */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.alt-bg {
    background-color: var(--white);
}

/* ===== SPLIT SECTIONS ===== */
.split-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-text h2, .split-text h3 {
    margin-bottom: 1.5rem;
}

.split-text .subtitle {
    display: block;
    font-weight: 700;
    color: var(--antique-brass);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== ROOMS & SUITES ===== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.room-card {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 2px;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

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

.room-details {
    padding: 2rem;
}

.room-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.room-features {
    margin: 1.5rem 0;
    padding-left: 1.25rem;
    list-style: disc;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.room-link {
    display: inline-block;
    color: var(--antique-brass);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.room-link:hover {
    color: var(--charcoal);
}

/* ===== DINING LIST ===== */
.dining-list .split-section {
    padding: 3rem 0;
}

/* ===== EVENTS ===== */
.events {
    background-image: linear-gradient(rgba(23, 25, 28, 0.85), rgba(23, 25, 28, 0.85)), url('images/photo-1517457373958-b7bdd4587205.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.events-container {
    max-width: 800px;
    margin: 0 auto;
}

.events-container h2 {
    color: var(--antique-brass);
}

.events-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    margin-bottom: 1rem;
    border-radius: 2px;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--antique-brass);
    transition: transform var(--transition-speed);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--gray-dark);
}

/* ===== RESERVATIONS ===== */
.reservations {
    background-color: var(--charcoal);
    color: var(--warm-ivory);
}

.reservations h2 {
    color: var(--antique-brass);
}

.reservations-container {
    max-width: 700px;
    margin: 0 auto;
}

.reservations-container p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.reservations-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.reservations-actions .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.reservations-actions .btn-secondary:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #0d0f11;
    color: var(--gray-light);
    padding: 4rem 2rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-contact h4, .footer-legal h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--antique-brass);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-legal a:hover {
    color: var(--antique-brass);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--charcoal);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    margin-right: 2rem;
}

.cookie-content h4 {
    color: var(--antique-brass);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ===== LEGAL PAGES LAYOUT ===== */
.legal-container {
    max-width: 780px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--antique-brass);
}

.legal-container h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 120px;
}

.legal-container h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-container p {
    margin-bottom: 1.25rem;
    color: var(--gray-dark);
}

.legal-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
    color: var(--gray-dark);
}

.legal-nav {
    background-color: var(--white);
    padding: 1.5rem;
    margin-bottom: 3rem;
    border: 1px solid var(--gray-light);
    border-radius: 2px;
}

.legal-nav ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: var(--antique-brass);
    text-decoration: underline;
    font-weight: 700;
}

.legal-nav a:hover {
    color: var(--charcoal);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .split-container, .split-container.reverse {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
    }

    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions, .reservations-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .cookie-content {
        margin-right: 0;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .cookie-actions button {
        flex: 1;
    }
    
    .legal-container {
        margin: 2rem auto;
    }
}