/* CSS RESET & VARIABLES */
:root {
    --charcoal: #17191C;
    --ivory: #F5F1E8;
    --brass: #A98C58;
    --brass-hover: #8c7245;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
}

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

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

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

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

h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--brass-hover); }

/* FOCUS STATES */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 2px dashed var(--brass);
    outline-offset: 4px;
}

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

.text-center { text-align: center; }
.bg-ivory { background-color: var(--ivory); }

.section-header {
    margin-bottom: 3rem;
}

section { padding: 5rem 0; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

.btn-outline:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

/* If used on dark background */
.hero .btn-outline {
    color: var(--white);
    border-color: var(--white);
}
.hero .btn-outline:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

.btn-text {
    background: transparent;
    padding: 0;
    color: var(--brass);
    border: none;
    font-weight: 700;
}
.btn-text span {
    transition: transform 0.3s ease;
    display: inline-block;
}
.btn-text:hover span {
    transform: translateX(5px);
}

/* 1. HEADER */
.site-header {
    background-color: var(--charcoal);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.brand .wordmark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brass);
}

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

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

.nav-links a {
    color: var(--ivory);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ivory);
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before { transform: translateY(-8px); }
.hamburger::after { transform: translateY(8px); }

/* 2. HERO */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    /* CSS Image reference for stylesheet requirement */
    background-image: url('images/photo-1542314831-c6a4d2757227.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23, 25, 28, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

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

/* 3. HIGHLIGHTS */
.highlights {
    background-color: var(--charcoal);
    color: var(--ivory);
    padding: 2rem 0;
    border-bottom: 4px solid var(--brass);
}

.highlights-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-item svg {
    color: var(--brass);
}

/* SPLIT SECTIONS (Welcome, Casino, Events, Spa) */
.split-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

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

.split-image {
    flex: 1;
}

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

.split-content {
    flex: 1;
}

/* 5. ROOMS & SUITES */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.room-card {
    background-color: var(--white);
    border: 1px solid rgba(23, 25, 28, 0.1);
    transition: var(--transition);
}

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

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

.room-details {
    padding: 2rem;
}

.room-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    border-top: 1px solid rgba(23, 25, 28, 0.1);
    border-bottom: 1px solid rgba(23, 25, 28, 0.1);
    padding: 1rem 0;
}

.room-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.room-features li::before {
    content: '•';
    color: var(--brass);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* 6. CASINO */
.casino-rules {
    list-style: none;
    margin-top: 1.5rem;
    background-color: var(--ivory);
    padding: 1.5rem;
    border-left: 3px solid var(--brass);
}

.casino-rules li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.casino-rules li:last-child {
    margin-bottom: 0;
}

/* 7. DINING */
.dining-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.dining-item {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.dining-item.reverse-layout {
    flex-direction: row-reverse;
}

.dining-image {
    flex: 1;
}

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

.dining-info {
    flex: 1;
}

/* 8. EVENTS (Form) */
.enquiry-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.enquiry-form input {
    padding: 1rem;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* 10. GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

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

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

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

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(23, 25, 28, 0.1);
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    padding: 1rem 0;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--brass);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    padding-bottom: 1.5rem;
    color: #555;
}

/* 12. FINAL CTA */
.final-cta {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 6rem 1.5rem;
}

/* 13. FOOTER */
.site-footer {
    background-color: var(--ivory);
    padding-top: 4rem;
    border-top: 1px solid #E5E0D5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.site-footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--brass);
}

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

.site-footer address a {
    color: var(--charcoal);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    background-color: var(--charcoal);
    color: var(--ivory);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* LEGAL PAGES */
.legal-section {
    padding: 6rem 0;
    background-color: var(--white);
    min-height: 60vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--charcoal);
    border-bottom: 2px solid var(--brass);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--brass);
}

.legal-content p, 
.legal-content ul {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #444;
}

.legal-content ul {
    padding-left: 2rem;
}

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

.legal-content a {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .split-container, .split-section.reverse .split-container, .dining-item, .dining-item.reverse-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 2rem;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .mobile-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .mobile-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
    }
    
    .mobile-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
    }
    
    .highlights-grid {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }
}
/* ENDFILE */