/* --- Reset & Variables --- */
:root {
    --primary-color: #2E4034; /* Forest Green */
    --accent-color: #C08552;  /* Wood/Copper tone */
    --light-bg: #F3F0EB;      /* Cream */
    --text-dark: #333;
    --text-light: #fff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
}

/* --- Typography & Global --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.bg-light { background-color: var(--light-bg); }

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    text-align: center;
}

.btn:hover { background: #a06d40; }

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.nav-logo {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a:hover { color: var(--accent-color); }
.nav-links a.active { color: var(--accent-color); }

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 4px 0;
    transition: 0.4s;
    display: block;
}

/* --- Hero Section --- */
header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content { margin-top: 10vh; }
.hero-content h1 { font-size: 2.0rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 4rem; }

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-grid h4 { font-size: 1.17rem; }
.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- Gallery Grid --- */
.section-subtitle { text-align: center; margin-bottom: 2rem; }
h2 { text-align: center; font-size: 2.5rem; }

.gallery-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: zoom-in;
}

.card-info { padding: 1.5rem; text-align: center; }
.card-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card-info p { color: #666; font-size: 0.9rem; }

/* --- Contact Form & Notices --- */
.notice-box {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
}
.notice-box h3 { margin-top: 0; font-size: 1.1rem; color: #856404; }

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
    width: 100%;
}

.contact-form label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-body);
}

input, select, textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    font-family: inherit;
    width: 100%;
    border-radius: 2px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(192, 133, 82, 0.2);
}

input[type="file"] { border: none; background: transparent; padding: 10px 0; }

.form-section-title {
    width: 100%;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--text-light);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .nav-logo { height: 45px; }
    .logo-text { font-size: 1.1rem; letter-spacing: 1px; }
    
    .menu-toggle { display: flex; z-index: 1002; position: relative; }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }
} 

/* --- Lightbox / Modal Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 20px;
    padding-bottom: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 64, 52, 0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column; 
    overflow-y: auto; 
}

.lightbox.active { display: flex; opacity: 1; }

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 60vh; 
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    border: 2px solid var(--accent-color);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.lightbox-caption {
    color: var(--text-light);
    margin-top: 20px;
    max-width: 800px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 20px;
    padding-bottom: 40px; 
    pointer-events: none;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: color 0.3s;
    outline: none;
}

.close:hover, .close:focus {
    color: var(--accent-color);
}

/* --- Before & After Slider --- */
.ba-container {
    position: relative;
    width: 100%;
    max-width: 800px; 
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ba-img-wrapper, .ba-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.ba-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    height: 100%;
    width: 50%; 
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    background: #fff; 
}

.ba-overlay img {
    height: 100%;
    max-width: none; 
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    cursor: ew-resize; 
    z-index: 10;
    margin: 0;
}

.ba-label {
    position: absolute;
    top: 10px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    font-size: 0.8rem;
    pointer-events: none;
    text-transform: uppercase;
    font-family: var(--font-heading);
}
.label-before { left: 10px; z-index: 5; }
.label-after { right: 10px; z-index: 1; }

/* --- The Process Section --- */
.bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.bg-dark h2, .bg-dark h3, .bg-dark p { color: var(--text-light); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 2rem;
}

.process-step { position: relative; padding: 1rem; }

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem auto;
    border: none;
    background: transparent;
    transition: transform 0.3s ease;
}

.step-number img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.process-step:hover .step-number { transform: scale(1.1); }
.process-step h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--accent-color); }
.process-step p { font-size: 0.95rem; opacity: 0.9; line-height: 1.6; }

/* --- Lightbox Zoom Feature --- */
.lightbox.zoomed .lightbox-content {
    max-height: 98vh;
    max-width: 98vw;
    cursor: zoom-out;
    margin-top: 0;
    border: none;
}
.lightbox.zoomed .lightbox-caption { display: none; }
.lightbox.zoomed { padding: 0; overflow: hidden; }