:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --primary-gold: #d4af37;
    --hover-gold: #b5952f;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--primary-black);
    color: var(--text-light);
    line-height: 1.6;
    /* Ensures footer stays at the bottom if content is short */
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

main {
    flex: 1;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-weight: 600;
}

/* --- Navigation (Mobile First) --- */
nav {
    background-color: var(--secondary-black);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative; /* Important for absolute positioning of mobile menu */
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center; /* Changed from 'left' to 'center' for proper alignment */
    text-decoration: none;
    z-index: 1001; /* Keeps logo above mobile menu */
}

.logo-img {
    max-height: 80px; 
    width: auto;
    display: block;
}

/* Hamburger Menu Styling */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Keeps toggle above mobile menu */
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--primary-gold);
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation (Transforms into an X) */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 100%;
    left: -100%; /* Hidden off-screen by default */
    background-color: var(--secondary-black);
    transition: left 0.4s ease; /* Smooth slide-in effect */
    padding: 2rem 0;
    gap: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
}

.nav-links.active {
    left: 0; /* Slides in when active class is added by JS */
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-gold);
}

/* --- Desktop Layout (Min Width 768px) --- */
@media screen and (min-width: 768px) {
    .menu-toggle {
        display: none; /* Hide hamburger on desktop */
    }

    .nav-links {
        position: static;
        flex-direction: row;
        width: auto;
        padding: 0;
        background-color: transparent;
        border-bottom: none;
        box-shadow: none;
        gap: 2.5rem;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
}

/* --- Hero Section --- */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)), 
    url('../images/hero-bg.jpg') center/cover;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    margin-bottom: 1rem;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 10px; /* Helps stacking on very small screens */
}

.btn:hover {
    background-color: var(--primary-gold);
    color: var(--primary-black);
}

.btn-solid {
    background-color: var(--primary-gold);
    color: var(--primary-black);
}

.btn-solid:hover {
    background-color: var(--hover-gold);
    border-color: var(--hover-gold);
}

/* --- Page Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
}

/* --- Grid Layouts --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--secondary-black);
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

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

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

input, textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-white);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-black);
    text-align: center;
    padding: 3rem 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.footer-content {
    margin-bottom: 1.5rem;
}