/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Smooth scroll for anchor links if any remain */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 70px; /* Add padding for fixed header globally */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #8B4513; /* SaddleBrown */
}

ul {
    list-style: none;
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #A0522D; /* Sienna - applying consistent color */
}
h1 { font-size: 2.8rem; font-weight: 700; color: #fff; /* Keep hero H1 white */}
h2 { font-size: 2.2rem; font-weight: 600; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.4rem; font-weight: 600; color: #8B4513; } /* Specific darker brown for subheadings */

section {
    padding: 60px 0;
}

/* Add padding for non-hero sections on other pages */
.page-content section:first-child {
    padding-top: 40px; /* Less top padding as body already has padding */
}

.cta-button {
    display: inline-block;
    background-color: #8B4513; /* SaddleBrown */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center; /* Ensure text is centered */
}

.cta-button:hover {
    background-color: #A0522D; /* Sienna */
    transform: translateY(-2px); /* Add subtle lift on hover */
}

.cta-container { /* Helper to center buttons */
    text-align: center;
    margin-top: 30px;
}

.section-intro { /* Style for introductory paragraphs */
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 2.5rem auto; /* Adjust spacing around intro */
    font-size: 1.1rem;
    color: #555;
}

/* Header & Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
    height: 70px; /* Fixed height for header */
    display: flex; /* Use flex to center content vertically */
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container takes full width */
}

.logo {
    font-family: 'Rochester', cursive;
    font-size: 2rem;
    color: #8B4513;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 0; /* Add padding for easier clicking */
    position: relative; /* For underline effect */
}
.nav-menu a::after { /* Underline effect */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #A0522D;
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active { /* Style for active page link */
    color: #A0522D;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative; /* Ensure z-index works */
    z-index: 1001; /* Above menu */
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Hero Section (Homepage specific) */
.hero {
    background: url('hero-background.png') no-repeat center center/cover;
    height: calc(85vh - 70px); /* Adjusted height considering body padding-top */
    min-height: 450px; /* Minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    /* margin-top: 70px; */ /* Removed, handled by body padding */
    z-index: 1;
    padding: 0 20px; /* Add some padding for content */
}
.hero::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 20, 10, 0.55); /* Darker brown overlay */
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    max-width: 600px; /* Limit width */
    margin-left: auto;
    margin-right: auto;
}

/* Welcome Section on Homepage */
.welcome-section {
    background-color: #fff;
    text-align: center;
    padding: 40px 0;
}
.welcome-section h2 {
    margin-bottom: 1.5rem;
}
.welcome-section p {
    max-width: 700px;
    margin: 0 auto 1rem auto;
    color: #555;
}

/* Services Section */
.services {
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background-color: #f9f9f9;
    padding: 30px 25px; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flex for better alignment */
    flex-direction: column;
    justify-content: space-between; /* Distribute space */
}
.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-item img {
    width: 90px; /* Slightly smaller */
    height: 90px;
    object-fit: contain; /* Use contain if icons have backgrounds */
    /* border-radius: 50%; */ /* Remove border radius for icons */
    margin: 0 auto 15px auto;
    /* border: 3px solid #eee; */ /* Remove border */
}
.service-item h3 {
    margin-bottom: 0.8rem;
}
.service-item p {
    margin-bottom: 1rem;
    flex-grow: 1; /* Allow paragraph to take up space */
    color: #555;
    font-size: 0.95rem;
}
.price-indicator { /* Style for price info */
    display: block;
    font-weight: 600;
    color: #8B4513;
    margin-top: auto; /* Push to bottom */
}
.disclaimer { /* Style for price disclaimer */
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #777;
}

/* Gallery Section */
.gallery {
    background-color: #fefaf6; /* Very light warm background */
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Larger minmax */
    gap: 20px; /* Increased gap */
}

.gallery-grid img {
    width: 100%;
    height: 250px; /* Increased height */
    object-fit: cover;
    border-radius: 8px; /* Slightly larger radius */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05); /* Slight brightness increase */
}

/* Contact Section */
.contact {
    background-color: #eaddcf; /* Light tan */
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Give form slightly more space */
    gap: 50px; /* Increased gap */
    align-items: start;
}

.contact-info p {
    margin-bottom: 15px; /* Increased spacing */
    display: flex; /* Align icon and text */
    align-items: center;
    font-size: 1.05rem;
}
.contact-info strong {
    color: #8B4513;
    margin-right: 5px;
}
.contact-info a {
    color: #8B4513;
    transition: color 0.3s ease;
}
.contact-info a:hover {
    color: #A0522D;
}
.contact-info i.icon { /* Placeholder for icons */
    margin-right: 10px;
    font-size: 1.2em;
    color: #8B4513;
    width: 20px; /* Ensure consistent width */
    text-align: center;
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 1.5rem; /* More space below heading */
}
.contact-form p { /* Style intro text */
    margin-bottom: 1.5rem;
    color: #555;
}

.form-group { /* Structure form elements */
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px; /* Increased padding */
    margin-bottom: 0; /* Remove margin from input itself */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #A0522D;
    box-shadow: 0 0 5px rgba(160, 82, 45, 0.3);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form button {
    width: auto;
    padding: 14px 30px; /* Match input padding */
}

.form-status { /* Message after submission */
    margin-top: 15px;
    font-weight: 600;
}

.map-container {
    margin-top: 40px;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero { height: 60vh; margin-top: 55px;} /* Adjust for smaller header */

    .navbar .container {
        position: relative;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001; /* Above menu */
    }

    .nav-menu {
        display: none; /* Hide by default */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-menu.active {
        display: flex; /* Show when active */
    }

    .nav-menu li {
        margin: 15px 0;
        margin-left: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    .gallery-grid img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr; /* Stack services */
    }
    .hero-content h1 { font-size: 2.4rem; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smallest screens */
        gap: 8px;
    }
    .gallery-grid img {
        height: 120px;
    }
}

/* Menu toggle animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}