/* --- Global Styles & Variables --- */
:root {
    --gold-primary: #CDA434;
    --gold-light: #E0C873;
    --gold-dark: #A67E16;
    
    --warm-white-bg: #FDFBEE;
    --off-white: #F5F1E6;
    
    --text-main: #665522;
    --text-light: #998855;
    
    --font-serif: 'Garamond', 'Georgia', serif;
    --font-sans: 'Helvetica Neue', 'Arial', sans-serif;

    --transition-fast: 0.3s ease-in-out;
}

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

html, body {
    width: 100%;
    overflow-x: hidden; /* Fixes unexpected horizontal scrollbars */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--warm-white-bg);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: rgba(253, 251, 238, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000 !important;
    box-shadow: 0 2px 5px rgba(205, 164, 52, 0.1);
}

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

.logo-area img {
    height: 70px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition-fast);
}

.main-nav a:hover {
    color: var(--gold-primary);
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--warm-white-bg);
}

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

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

.btn-secondary:hover {
    background-color: var(--gold-primary);
    color: var(--warm-white-bg);
}

/* --- Hero Section --- */
.hero-section {
    background-color: #F8F5EC;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    max-width: 480px;
    margin-left: 0;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #4A3B18;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #5C4B23;
}

.cta-group {
    display: flex;
    gap: 15px;
}

/* --- Full Right-Bleed Slideshow Wrapper --- */
.hero-slideshow-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 55vw;
    height: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%, black 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: crossfade 16s infinite ease-in-out;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 4s; }
.hero-slider .slide:nth-child(3) { animation-delay: 8s; }
.hero-slider .slide:nth-child(4) { animation-delay: 12s; }

@keyframes crossfade {
    0% { opacity: 0; transform: scale(1); }
    6% { opacity: 1; }
    25% { opacity: 1; }
    31% { opacity: 0; transform: scale(1.03); }
    100% { opacity: 0; }
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: var(--warm-white-bg);
}

.section-title-area {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
}

.section-title-area h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--off-white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(205, 164, 52, 0.08);
    border-color: rgba(205, 164, 52, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: #bfa136;
}

.service-card:hover .service-icon {
    background: #bfa136;
    transform: scale(1.08);
}

.service-card:hover .service-icon i {
    color: #ffffff;
}

/* --- Portfolio Section --- */
.gallery-section {
    padding: 60px 0;
    background-color: #F8F5EC;
}

.gallery-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #4A3B18;
    margin-bottom: 8px;
}

.gallery-subtitle {
    text-align: center;
    color: #7A693B;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Clean CSS Grid Masonry */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.gallery-item {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

/* --- Our Lights Section --- */
.lights-section {
    padding: 90px 0;
    background-color: #3C311E;
    color: #F8F5EC;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-tag {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #D4AF37;
    font-weight: 600;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin: 10px 0 15px 0;
    color: #FFFFFF;
}

.section-header p {
    color: #D6CBB5;
    font-size: 1.05rem;
    line-height: 1.6;
}

.lights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.light-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.light-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.light-card-icon i {
    font-size: 1.6rem;
    color: #D4AF37;
}

.light-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #F8F5EC;
    margin-bottom: 12px;
}

.light-card p {
    color: #C2B49A;
    font-size: 0.95rem;
    line-height: 1.6;
}

.light-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.light-card:hover .light-card-icon {
    background: #D4AF37;
}

.light-card:hover .light-card-icon i {
    color: #3C311E;
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--warm-white-bg);
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gold-light);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(205, 164, 52, 0.1);
}

.form-status {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    min-height: 24px;
}

/* --- Footer Styling --- */
.main-footer {
    background-color: #2A2215;
    color: #F8F5EC;
    padding-top: 50px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 65px;
    height: auto;
    object-fit: contain;
}

.footer-brand-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #D4AF37;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.footer-brand-text p {
    color: #C2B49A;
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0;
}

.footer-socials h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #F8F5EC;
    margin-bottom: 15px;
}

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

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #D4AF37;
    color: #2A2215;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #8C7E66;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #D4AF37;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-phone i {
    font-size: 0.85rem;
}

.footer-phone:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVE FIXES)
   ========================================== */

@media (max-width: 992px) {
    .hero-slideshow-wrapper {
        width: 50vw;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Main Nav Adjustments */
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hero Section Fixes */
    .hero-section {
        flex-direction: column-reverse;
        justify-content: flex-end;
        padding-top: 130px; /* Gives room for stacked navigation header */
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-container {
        text-align: center;
        margin-top: 20px;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    .hero-slideshow-wrapper {
        position: relative;
        width: 100%; /* Replaced 100vw to eliminate horizontal scrolling */
        height: 250px;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%, black 100%);
        mask-image: linear-gradient(to top, transparent 0%, black 30%, black 100%);
    }

    /* Section & Grid Fixes */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lights-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Footer Fixes */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        grid-template-columns: 1fr; /* Single column for small mobile screens */
    }
    
    .gallery-item {
        height: 220px;
    }
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000; /* Sits above the fixed header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--gold-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #ffffff;
}

/* Cursor pointer indicator for gallery cards */
.gallery-item {
    cursor: pointer;
}