/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --color-bg: #ffffff;
    --color-text: #222222;
    --color-text-light: #555555;
    --color-accent: #000000;
    --color-nav-bg: rgba(22, 10, 5, 0.7);
    --color-nav-text: #ffffff;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --spacing-container: 4vw;
    --max-width: 1400px;
    
    /* NEW: Global Header Height Variable for Consistency */
    --header-height: 90px; 
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.2rem; }

a { text-decoration: none; color: inherit; transition: opacity 0.3s ease; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */

/* Use the new variable to lock spacing */
#menu-container {
    min-height: var(--header-height);
    display: block;
}

.site-header {
    position: fixed; /* Fixed on ALL screens now */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height); /* Locked height */
    display: flex;
    align-items: center; /* Vertically center content */
    padding: 0 var(--spacing-container);
    color: var(--color-nav-text);
    background-color: #333333;
    border-bottom: 1px solid #444;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%; /* Fill the fixed 66px height */
}

/* Logo Sizing */
.site-branding img {
    height: 40px; /* Adjusted to fit nicely in 66px bar */
    width: auto;
}

/* Nav Desktop */
.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
}

.site-nav a:hover {
    color: #cccccc;
    text-decoration: none;
}

.site-nav a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social svg {
    width: 30px; /* Slightly smaller to fit header */
    height: 30px;
    fill: white;
}

/* Mobile Nav Toggle */
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 768px) {
    /* Push body down by exactly header height */

    .site-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height); /* Starts exactly under the 66px bar */
        left: 0;
        width: 100%;
        background-color: #333333;
        text-align: center;
        padding: 2rem 0;
        border-top: 1px solid #444;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    .nav-toggle:checked ~ .site-nav { display: flex; }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        width: 30px;
    }
    
    .nav-toggle-label span, 
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        display: block;
        background: white;
        height: 2px;
        width: 100%;
        position: relative;
    }
    .nav-toggle-label span::before, .nav-toggle-label span::after { content: ''; position: absolute; }
    .nav-toggle-label span::before { top: -8px; }
    .nav-toggle-label span::after { bottom: -8px; }
    
    .header-social { display: none; } 
    .site-branding { margin: 0 auto; } 
}

/* =========================================
   3. HERO SECTIONS
   ========================================= */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    /* Removed padding-top since body handles it now */
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}

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

.large-text {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* =========================================
   4. CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 4rem var(--spacing-container);
    background-color: var(--color-bg);
}

.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-contact { grid-template-columns: 1fr; text-align: center; }
}

.social-icons-large {
    margin-top: 1rem;
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .social-icons-large { justify-content: center; }
}

.social-icons-large svg {
    width: 30px;
    height: 30px;
    fill: var(--color-text);
}

.contact-image figure {
    margin: 0;
}
.contact-image figcaption {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    text-align: center;
}

/* =========================================
   5. FEATURED (SUMMARY) GRID
   ========================================= */
.featured-section {
    padding: 4rem var(--spacing-container);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.card {
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-date {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.card-title {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

/* =========================================
   6. SUB-MENU
   ========================================= */
.site-submenu {
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
    padding: 0.8rem var(--spacing-container);
    position: relative;
    z-index: 900;
    /* No top margin needed because body padding handles header spacing */
    margin-top: 0; 
}

.submenu-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.submenu-title {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

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

.submenu-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
}

.submenu-nav a:hover,
.submenu-nav a.active {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Mobile Submenu Fix */
@media (max-width: 768px) {
    .site-submenu {
        /* Starts exactly under the fixed header */
        padding: 1rem;
    }
    .submenu-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .submenu-nav {
        gap: 1rem;
    }
    
    /* Remove padding from body since we handle it here for submenu pages */
    .has-submenu body {
        padding-top: 0; 
    }
}

/* =========================================
   7. BLOG POST / ARTICLE STYLES
   ========================================= */
.blog-post-section {
    padding: 4rem var(--spacing-container);
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-date {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-main-image {
    width: 100%;
    height: auto;
    margin-bottom: 3rem;
    border-radius: 2px;
}

.blog-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

/* =========================================
   8. PHOTO GALLERIES & LIGHTBOX
   ========================================= */
.gallery-section {
    padding: 2rem var(--spacing-container) 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1; 
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
}


/* =========================================
   9. FOOTER (Dark Theme)
   ========================================= */
.site-footer {
    background-color: #1a1a1a; 
    color: #fff;
    padding: 60px var(--spacing-container) 20px; 
    margin-top: auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
    text-align: left;
}

.footer-nav h4 {
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    text-align: left;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.footer-link:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-social svg {
    width: 25px;
    height: 25px;
    fill: #fff;
    margin-left: 10px;
}

/* Lightbox Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001; /* Ensure it sits on top of the image */
    line-height: 1;
    background: transparent;
    border: none;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #cccccc;
}

/* Ensure the image doesn't cover the close button on small screens */
@media (max-width: 768px) {
    .close-btn {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}
/* Footer Promo Advert */
.footer-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.promo-content {
    flex: 1;
    min-width: 250px;
}

.promo-content h3 {
    color: #ffffff; /* Or your brand gold/theme color */
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

.promo-content p {
    color: #cccccc;
    margin: 0;
    font-size: 0.95rem;
}

.promo-grid {
    display: flex;
    gap: 1.5rem;
}

.promo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    group: transition;
}

.promo-img-wrap {
    width: 140px;
    height: 90px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 0.5rem;
}

.promo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.promo-link {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-item:hover .promo-link {
    color: #d4af37; /* Optional hover color (Gold) */
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .footer-promo {
        flex-direction: column;
        align-items: flex-start;
    }
    .promo-grid {
        width: 100%;
        justify-content: space-between;
    }
    .promo-img-wrap {
        width: 100%; /* Larger touch targets on mobile? */
        max-width: 160px; 
    }
}