/* --- Global Styles & Resets --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    background-color: #f8f9fa; /* Fallback color for when the image is not available */
    color: #343a40;
    scroll-behavior: smooth;
    background-image: url('images/wallpaper.png');
    background-repeat: repeat; /* This will tile the image */
    background-attachment: fixed;
}

/* --- Utility Classes --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header & Navigation --- */
header {
    background: #6B8E23; /* Olive Green */
    padding: 1rem; /* Creates the green frame */
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    background: #fff; /* The white container */
    border-radius: 10px; /* Rounded corners */
    padding: 0.5rem 2rem; /* Spacing inside the container */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adds depth */
}

.logo {
    font-family: "Georgia", "Times New Roman", serif; /* Retro/old-style serif font */
    font-size: 1.9rem; /* Made the font slightly larger */
    font-weight: bold; /* Classic bold for a serif font */
    color: #6B8E23; /* Olive Green */
    text-decoration: none;
    letter-spacing: 1.5px; /* Adds spacing for a more open look */
    text-shadow: -1px -1px 0 #013220, 1px -1px 0 #013220, -1px 1px 0 #013220, 1px 1px 0 #013220; /* Dark Forest Green Outline */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    font-family: 'Nunito', sans-serif; /* Modern, rounded font */
    text-decoration: none;
    color: #025939; /* A slightly lighter forest green */
    font-weight: 900; /* Extra-bold font weight */
    font-size: 1.2rem; /* Made the font smaller */
    transition: color 0.3s ease;
    text-transform: uppercase; /* Makes the font all caps */
}

nav a:hover, nav a.active {
    color: #6B8E23; /* Olive Green on hover to match logo */
}

/* --- Main Content & Sections --- */
main {
    padding-top: 2rem;
}

section {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(248, 249, 250, 0.85); /* Default semi-transparent background for sections */
}

section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.9); /* Lighter background for even sections */
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #343a40;
}

section > p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #6c757d;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('images/hero-background.jpg') center/cover no-repeat;
    color: white;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: none; /* Hero should be full-width */
}

.hero-content {
    background: rgba(0, 0, 0, 0.6); /* Darker, semi-transparent background */
    padding: 2rem 3rem;
    border-radius: 15px; /* Creates the rounded corners */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); /* Adds a subtle outer shadow for depth */
    max-width: 700px; /* Constrains the width on larger screens */
    width: 90%; /* Ensures it doesn't touch the screen edges on mobile */
}

.hero h1 {
    margin-bottom: 0.5rem; /* Tighter spacing for the new subtitle */
}

.hero .hero-subtitle {
    font-size: 1.75rem;
    /* This margin resets the margin from the generic '.hero p' rule */
    margin: 0 0 2rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background-color: #6B8E23; /* Olive Green */
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #5a7d1b; /* Darker olive for hover */
    transform: translateY(-2px);
}

/* --- Card Layout (for Services & Pricing) --- */
.card-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex-basis: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card h3 {
    color: #6B8E23; /* Olive Green */
    margin-top: 0;
    font-size: 1.6rem; /* Made the font larger */
}

#pricing .card h3 {
    color: #343a40; /* Reverted to dark text color */
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #28a745;
    margin: 1rem 0;
}

/* --- Contact Form --- */
#contact-form {
    max-width: 600px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

#contact-form input,
#contact-form textarea,
#contact-form button {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box; /* Important for consistent sizing */
}

#contact-form button {
    background-color: #6B8E23; /* Olive Green */
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #5a7d1b; /* Darker olive for hover */
}

/* --- Modal (for Drop-Off Form) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/webform.back.png') center/cover no-repeat;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

.close-button:hover {
    color: #333;
}

#dropoff-form {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Increased spacing between form elements */
    margin-top: 1.5rem;
}

#dropoff-form input {
    background-color: #f8f9fa; /* Light background for the box */
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded corners */
    padding: 0.8rem;
    font-size: 1.1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); /* Inset shadow for 3D effect */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#dropoff-form input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06), 0 0 5px rgba(0, 123, 255, 0.25); /* Enhance focus state */
}

#dropoff-form button {
    background-color: #6B8E23; /* Olive Green */
    color: white;
    border: none;
    padding: 1rem 0; /* Makes the button taller */
    border-radius: 50px; /* Creates the rounded shape */
    width: 70%; /* Makes the button not too long */
    max-width: 280px;
    margin: 1rem auto 0; /* Centers the button */
    font-weight: bold;
    font-size: 1.2rem; /* Made the button font larger */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#dropoff-form button:hover {
    background-color: #5a7d1b; /* Darker olive for hover */
    transform: translateY(-2px);
}

/* --- Footer --- */
footer {
    background: #343a40;
    color: #f8f9fa;
    text-align: center;
    padding: 2rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        width: 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }
}