/* =========================================
   1. CSS RESET & VARIABLES
   ========================================= */
:root {
    --primary-color: #330000;
    --primary-light: #4a0000;
    --gold: #c5a059; 
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f8f4;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 15px 40px rgba(0,0,0,0.06); 
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 300;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.bg-light { background-color: var(--bg-light); }
.text-white h2, .text-white p { color: var(--white); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* =========================================
   Buttons & Links (UPDATED HOVER EFFECTS)
   ========================================= */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 1rem 2.5rem;
    border-radius: 0; 
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--white) !important;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 0; 
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-2px);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* =========================================
   2. STICKY HEADER & NAVIGATION
   ========================================= */
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

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

.nav-list a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.btn-nav {
    background-color: var(--white);
    color: var(--primary-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background-color: var(--gold);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    background-color: var(--white);
    width: 25px;
    height: 3px;
    border-radius: 3px;
    transition: var(--transition);
}

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

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

/* =========================================
   3. HERO SECTION (HOMEPAGE)
   ========================================= */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

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

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

.hero h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* =========================================
   4. PAGE HERO (INNER PAGES)
   ========================================= */
.page-hero {
    position: relative;
    height: 50vh; 
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 1rem 2rem 1rem; 
    margin-top: 0; 
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

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

.page-hero-content .eyebrow {
    color: var(--white); 
    margin-bottom: 0.5rem;
}

.page-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white); 
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.page-hero-content p {
    font-size: 1.15rem;
    color: var(--white); 
    line-height: 1.8;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; 
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: var(--gold);
    z-index: 5; 
}

/* =========================================
   5. BENEFITS GRID 
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    text-align: center;
    padding: 1rem;
}

.benefit-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0; 
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

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

.benefit-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* =========================================
   6. PREMIUM SHOWCASE (HOMEPAGE)
   ========================================= */
.services-showcase {
    padding: 2rem 0;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-image {
    flex: 60%; 
    position: relative;
    z-index: 1;
}

.showcase-image img {
    width: 100%;
    height: auto; 
    aspect-ratio: 4 / 3; 
    object-fit: cover;
    border-radius: 0;
    box-shadow: var(--box-shadow);
}

.showcase-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: -1;
}

.showcase-row.reverse .showcase-image::after {
    left: 20px;
}

.showcase-text {
    flex: 40%; 
    padding: 1rem;
}

.eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.showcase-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.showcase-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* =========================================
   7. TESTIMONIALS 
   ========================================= */
.testimonials-section {
    background-color: var(--primary-color); 
    padding: 5rem 0;
}

.testimonials-section h2 {
    color: var(--gold); 
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white); 
    padding: 3rem 2rem;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    text-align: center;
    position: relative;
    margin-top: 1rem;
}

.testimonial-card::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--gold);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    line-height: 1;
}

.stars {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.client-name {
    font-weight: 600 !important;
    font-style: normal !important;
    color: var(--primary-color) !important;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* =========================================
   8. GALLERY GRID (INNER PAGES)
   ========================================= */
section.gallery-section.container {
    max-width: 100% !important; 
    background-color: var(--bg-light); 
    padding: 5rem 0 8rem 0; 
    margin: 0;
    position: relative;
}

section.gallery-section::before {
    content: '';
    position: absolute;
    top: 2.5rem; 
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background-color: var(--gold);
    opacity: 0.4;
}

section.gallery-section::after {
    content: '';
    position: absolute;
    top: calc(2.5rem - 5px); 
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--bg-light);
    border: 1px solid var(--gold);
}

.gallery-grid {
    max-width: 1200px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
    padding: 0 2rem; 
}

.gallery-item {
    position: relative;
    z-index: 1;
    padding: 15px; 
    border: 1px solid rgba(197, 160, 89, 0.6); 
    background-color: transparent; 
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: var(--gold);
}

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

/* Gallery Item Captions (Numbers) */
.gallery-caption {
    text-align: center;
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Thinner, more elegant weight */
    color: var(--primary-color);
    letter-spacing: 4px; /* Slightly wider spacing for a premium feel */
    font-size: 0.95rem; /* Slightly refined size */
}

/* =========================================
   13. CONTACT PAGE STYLES
   ========================================= */
.contact-section {
    padding: 5rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Form Styles */
.custom-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.custom-form .form-row .form-group {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-light);
    border: 1px solid #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Info Card Styles */
.info-card {
    background-color: var(--white);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--gold);
    height: 100%;
}

.info-block {
    margin-bottom: 1.5rem;
}

.info-block h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.info-block p, .info-block a {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.info-block a:hover {
    color: var(--primary-light);
}

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background-color: var(--bg-dark); 
    color: var(--white);
    padding: 4rem 0 2rem 0;
}

.site-footer h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* =========================================
   10. TABLET ONLY OVERRIDES (769px to 992px) 
   ========================================= */
@media (max-width: 992px) {
    .showcase-row, .showcase-row.reverse {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 5rem;
    }
    .showcase-text { text-align: center; }
    
    .showcase-image::after { top: 10px; left: -10px; }
    .showcase-row.reverse .showcase-image::after { left: 10px; }

    .hero {
        background-image: url('images/hero.jpg') !important; 
        background-attachment: scroll !important; 
    }
    
    .contact-grid {
        grid-template-columns: 1fr; /* Stack on tablet */
        gap: 3rem;
    }
}

/* =========================================
   11. MOBILE PORTRAIT TWEAKS (up to 768px)
   ========================================= */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        opacity: 0; visibility: hidden;
        transform: translateY(-10px); transition: var(--transition);
    }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list { flex-direction: column; padding: 2rem; gap: 1.5rem; text-align: center; }
    .btn-nav { display: inline-block; width: 100%; }
    .mobile-toggle.is-active .hamburger { background-color: transparent; }
    .mobile-toggle.is-active .hamburger::before { transform: rotate(45deg) translateY(0); top: 0; }
    .mobile-toggle.is-active .hamburger::after { transform: rotate(-45deg) translateY(0); bottom: 0;}

    .container { padding: 2.5rem 1.5rem; }
    .services-showcase { padding: 0; }
    .benefits-grid { gap: 1.5rem; }
    .showcase-row { margin-bottom: 4rem; }
    
    .hero { 
        min-height: 500px; 
        padding: 5rem 1.5rem 0 1.5rem !important; 
        background-image: url('images/heromobile.jpg') !important;
        background-attachment: scroll !important; 
        align-items: flex-start !important; 
    }
    
    .hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 2.2rem; }
    
    .testimonials-section { padding: 3rem 0 !important; }
    .testimonials-section .section-header { margin-bottom: 1.5rem !important; }
    .testimonials-section h2 { margin-bottom: 0 !important; }
    .testimonials-grid { gap: 2rem !important; margin-top: 0 !important; }
    .testimonial-card { padding: 2rem 1.5rem 1.5rem 1.5rem !important; margin-top: 1rem !important; }
    .testimonial-card::before { font-size: 3.5rem !important; top: -1rem !important; line-height: 1 !important; }
    .stars { margin-bottom: 1rem !important; }
    
    .benefit-img { height: 200px; margin-bottom: 1rem; }
    .benefit-card h3 { font-size: 1.6rem; }
    .showcase-text h2 { font-size: 2.2rem; margin-bottom: 1rem; }
    
    .quote-text { font-size: 1.15rem; }

    /* INNER PAGE MOBILE TWEAKS */
    .page-hero { height: 40vh; min-height: 300px; padding: 0 1.5rem; }
    .page-hero-content h1 { font-size: 2.8rem; }
    .page-hero-content p { font-size: 1rem; }
    section.gallery-section.container { padding: 4rem 0 !important; }
    .gallery-grid { gap: 1.5rem; padding: 1rem; } 
    .gallery-item { padding: 10px; } 
    .gallery-item img { height: 300px; }
    
    /* CONTACT PAGE MOBILE TWEAKS */
    .contact-section { padding: 3rem 1.5rem; }
    .custom-form .form-row { flex-direction: column; gap: 0; }
    .info-card { padding: 2rem 1.5rem; }
}

/* =========================================
   12. LANDSCAPE PHONE OVERRIDE 
   ========================================= */
@media (max-width: 950px) and (orientation: landscape) {
    .hero { 
        min-height: 100vh !important; 
        padding: 5rem 1.5rem 2rem 1.5rem !important; 
        background-image: url('images/hero.jpg') !important; 
        background-attachment: scroll !important; 
        align-items: center !important; 
    }
    .hero h1 { font-size: 2.2rem !important; margin-bottom: 0.5rem !important; }
    .hero p { font-size: 1rem !important; margin-bottom: 1.5rem !important; }
}