/* Hemfix Service Website V1 Styles */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@600;700&display=swap');

/* --- CSS Variables (Optional but good practice) --- */
:root {
    --primary-green: #4CAF50;
    --darker-green: #388E3C;
    --secondary-beige: #F5F5F5;
    --light-grey: #f9f9f9;
    --medium-grey: #e0e0e0;
    --dark-grey: #333333;
    --text-dark: #212121;
    --accent-blue: #0288D1;
    --accent-yellow: #FFC107;
    --error-red: #c62828;
    --success-green: #2e7d32;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    --container-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --input-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* General Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-grey);
    line-height: 1.7;
    background-color: var(--secondary-beige);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px; /* Base font size */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600; /* Slightly less bold */
    margin-bottom: 1em;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem; /* Responsive adjustments below */
    font-weight: 700;
    color: var(--white); /* Specific for header */
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.4em;
    margin-bottom: 1.2em;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--darker-green);
    text-decoration: underline;
}

/* Layout */
.container {
    padding: 40px 50px; /* Slightly more padding */
    width: 90%; /* Control width for slim look */
    max-width: 1200px; /* Maximum width */
    margin-left: auto;
    margin-right: auto;
}

header {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px !important; /* Add spacing after header directly */
}

/* No bottom margin for header on home page */
.home-page header {
    margin-bottom: 0 !important;
}

/* Remove other selectors that didn't work consistently */
body:has(.hero-section) header {
    margin-bottom: 0 !important; /* Keep as fallback */
}

/* Remove the previous rules that didn't work */
main {
    margin-top: 0; /* Reset any previous value */
}

.hero-section + main {
    margin-top: 0; /* Reset any previous value */
}

/* Add space between header and main content */
main.container {
    margin-top: 0;
    width: 85%; /* Slightly narrower than header for slim look */
    max-width: 1100px;
    box-shadow: var(--container-shadow); /* Restore shadow for depth */
    background-color: var(--white); /* Ensure white background */
    border-radius: 8px; /* Rounded corners for clean look */
}

/* Special case for index.html - no extra margin when hero section is present */
body:has(.hero-section) main.container {
    margin-top: 0;
}

header nav {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Style for the H1 wrapped in a link */
header nav a.logo {
    text-decoration: none;
    color: inherit; /* Inherit color from parent (header -> white) */
}

header nav a.logo:hover {
    text-decoration: none; /* Ensure no underline on hover */
    color: inherit;
}

header h1 {
    margin: 0;
    font-size: 1.8rem; /* Adjusted size for header */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline;
    margin: 0 0 0 25px; /* Space left of items */
}

header nav ul li a {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active { /* Add .active class via JS if needed */
    border-bottom-color: var(--accent-yellow);
    color: var(--accent-yellow);
    text-decoration: none;
}

footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding: 30px 0; /* Slightly more padding */
    text-align: center;
    margin-top: 40px;
    font-size: 0.95em; /* Slightly larger */
    line-height: 1.6;
}

.footer-content {
   /* If using .container class, width/max-width/margin:auto are handled */
   /* Otherwise, add width rules here if needed */
}

.footer-contact {
    margin-bottom: 10px; /* Space between contact and copyright */
}

.footer-contact a {
    color: var(--white); /* Make links white */
    text-decoration: underline; /* Optional: underline links */
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-green); /* Highlight on hover */
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 0.9em;
    color: #bbb; /* Slightly dimmer color for copyright */
}

/* Components */
button, input[type="submit"] {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:hover, input[type="submit"]:hover {
    background-color: var(--darker-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

button:active,
input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

button:disabled,
input[type="submit"]:disabled {
    background-color: var(--medium-grey);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Forms */
form {
    margin-top: 30px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.95em;
    color: var(--text-dark);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--medium-grey);
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--input-shadow);
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form select {
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 10px;
    padding-right: 40px; /* Make space for arrow */
}

/* Utility */
.message-area {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid transparent;
    font-weight: bold;
    display: none; /* Initially hidden */
}

.message-area.error {
    background-color: #ffebee;
    color: var(--error-red);
    border-color: var(--error-red);
    display: block;
}

.message-area.success {
    background-color: #e8f5e9;
    color: var(--success-green);
    border-color: var(--success-green);
    display: block;
}

/* Time Slot Styling (Basic Placeholder) */
#time-slots-container button {
    background-color: var(--light-grey);
    color: var(--dark-grey);
    border: 1px solid var(--medium-grey);
    padding: 8px 15px;
    font-family: var(--font-body);
    font-weight: bold;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

#time-slots-container button:hover {
    background-color: #e0e0e0;
    border-color: #bdbdbd;
    transform: none;
    box-shadow: none;
}

#time-slots-container button.selected {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--darker-green);
    font-weight: bold;
}

/* Responsiveness (Basic Placeholder) */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    .container { padding: 25px 20px; width: 95%; }

    header nav {
        flex-direction: column;
        align-items: center;
    }
    header h1 {
        margin-bottom: 15px;
    }
    header nav ul {
        text-align: center;
    }
    header nav ul li {
        display: block;
        margin: 10px 0;
    }
    header nav ul li a {
        display: inline-block; /* Allow padding/border */
        padding: 5px 10px;
    }

    button, input[type="submit"] {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    main.container {
        margin-top: 30px;
        width: 90%;
    }
    
    body:has(.hero-section) main.container {
        margin-top: 0;
    }

    header {
        margin-bottom: 30px !important; /* Less spacing on mobile */
    }
}

/* Flatpickr overrides if needed */
/* .flatpickr-day.selected { background: var(--primary-green); border-color: var(--darker-green); } */
.flatpickr-day.today {
    border-color: var(--accent-blue);
}

/* Page Specific Enhancements */

/* Index Page - Enhanced Hero Section */
#hero {
    /* Increase prominence */
    min-height: 70vh; /* Increased height */
    padding: 80px 40px; /* Increased padding for more internal space */
    /* REMOVED negative margins - Keep hero within container padding */

    /* Existing styles */
    text-align: center;
    background-image: url('../assets/hemfix-hero-garden.jpg'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center 30%; /* Adjust as needed */
    background-repeat: no-repeat;
    color: var(--white);
    /* border-radius: 8px; */ /* REMOVED/COMMENTED OUT */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay - Maybe slightly darker for more contrast */
#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* Slightly darker overlay */
    z-index: 1;
}

/* Ensure hero content is above the overlay */
#hero h2,
#hero p,
#hero .hero-buttons {
    position: relative;
    z-index: 2;
}

/* Headline Enhancement */
#hero h2 {
    font-size: 3rem; /* Increased font size */
    font-weight: 700; /* Keep weight, ensure font supports it */
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* Slightly stronger shadow */
    margin-bottom: 20px; /* Adjusted margin */
    border-bottom: none; /* Override default h2 border */
    letter-spacing: 1px; /* Added letter spacing */
    /* Animation */
    opacity: 0; /* Start hidden for animation */
    animation: fadeInUp 0.8s 0.2s ease-out forwards;
}

/* Supporting Text Enhancement */
#hero p {
    font-size: 1.2rem; /* Slightly larger */
    color: var(--white);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px; /* Increased margin */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* Slightly stronger shadow */
    line-height: 1.7; /* Improve readability */
    /* Animation */
    opacity: 0; /* Start hidden for animation */
    animation: fadeInUp 0.8s 0.4s ease-out forwards;
}

/* Button Prominence */
.hero-buttons {
    margin-top: 25px;
    /* Animation */
    opacity: 0; /* Start hidden for animation */
    animation: fadeInUp 0.8s 0.6s ease-out forwards;
}

.hero-buttons .btn {
    margin: 10px 12px; /* Adjust horizontal spacing */
    padding: 14px 32px; /* Increased padding */
    font-size: 1.05rem; /* Slightly larger font */
    font-weight: 700; /* Bolder text */
    text-decoration: none;
    border-width: 2px; /* Ensure border width is consistent */
    border-style: solid;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Added box-shadow to transition */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* Subtle shadow */
}

.hero-buttons .btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--darker-green);
    border-color: var(--darker-green);
    color: var(--white);
    transform: translateY(-3px); /* Slightly more lift */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Enhanced shadow on hover */
}

.hero-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly more visible background */
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    transform: translateY(-3px); /* Slightly more lift */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Enhanced shadow on hover */
}

/* Subtle Fade-In Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    /* ... existing responsive styles ... */

    #hero {
        min-height: 60vh; /* Adjust height for smaller screens */
        padding: 50px 20px; /* Adjust padding */
        /* No negative margins needed if kept inside container padding */
    }
    #hero h2 {
        font-size: 2.3rem; /* Adjust headline size */
        letter-spacing: 0.5px; /* Reduce spacing */
    }
    #hero p {
        font-size: 1.1rem; /* Adjust text size */
    }
    .hero-buttons .btn {
        padding: 12px 25px; /* Adjust button padding */
        font-size: 1rem; /* Adjust button font size */
        /* Consider stacking buttons if needed */
        /* display: block;
           max-width: 280px;
           margin: 10px auto; */
    }

    /* Animation adjustments (optional) */
    @keyframes fadeInUp { /* Redefine within media query if needed */
        from {
            opacity: 0;
            transform: translateY(15px); /* Smaller movement */
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* ... other responsive styles ... */
}

/* Services Page */
#services-list article {
    border: 1px solid var(--medium-grey);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
    background-color: var(--light-grey);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
#services-list article h3 {
    margin-bottom: 0.5em;
}
#services-list hr {
    display: none; /* Remove hr, using article border now */
}

/* Styles for Service Items with Images */
.service-item-with-image {
    display: flex; /* Use flexbox for layout */
    gap: 25px; /* Space between image and text */
    align-items: flex-start; /* Align items at the top */
    border: 1px solid var(--medium-grey);
    border-radius: 8px; /* Slightly more rounded */
    padding: 25px;
    margin-bottom: 30px;
    background-color: var(--white); /* Change from light-grey if desired */
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    overflow: hidden; /* Ensure contents stay within rounded corners */
}

.service-image-container {
    flex: 0 0 150px; /* Fixed width for image container */
    height: 150px; /* Fixed height */
    overflow: hidden; /* Hide overflow if image is larger */
    border-radius: 6px; /* Rounded corners for image */
}

.service-image {
    display: block;
    width: 100%;
    height: 100%; /* Make image fill container */
    object-fit: cover; /* Crop image nicely */
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--light-grey); /* Placeholder color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    font-size: 0.9em;
}

.service-image-placeholder::before {
    content: "Bild saknas"; /* Placeholder text */
}

.service-content {
    flex: 1; /* Allow text content to take remaining space */
}

.service-content h3 {
    margin-top: 0; /* Remove potential top margin */
    margin-bottom: 0.6em;
}

.service-content p {
    margin-bottom: 1em;
}

/* Responsive adjustments for service items */
@media (max-width: 600px) {
    .service-item-with-image {
        flex-direction: column; /* Stack image and text */
        align-items: center; /* Center items */
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    .service-image-container {
        flex-basis: auto; /* Allow container to size naturally */
        width: 80%; /* Limit image width */
        max-width: 250px; /* Max width */
        height: auto; /* Adjust height automatically */
        aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    }
    .service-content {
        width: 100%; /* Take full width when stacked */
    }
}

/* Booking Page - Time Slots */
#time-slots-container {
    margin-bottom: 20px;
    border: 1px dashed var(--medium-grey);
    padding: 15px;
    border-radius: 5px;
    min-height: 50px; /* Ensure it doesn't collapse */
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Spacing between buttons */
}

#time-slots-container p {
    width: 100%;
    text-align: center;
    color: #777;
}

/* Contact Page */
#contact-info p {
    margin-bottom: 0.5em;
}

#contact-info strong {
    color: var(--text-dark);
}

/* Confirmation/Cancellation Pages */
#confirmation-content p,
#cancellation-content p {
    font-size: 1.1rem;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
#confirmation-content p[style*="color: green"],
#cancellation-content p[style*="color: green"] {
    background-color: #e8f5e9;
    border: 1px solid var(--success-green);
    color: var(--success-green);
}
#confirmation-content p[style*="color: red"],
#cancellation-content p[style*="color: red"] {
    background-color: #ffebee;
    border: 1px solid var(--error-red);
    color: var(--error-red);
}

/* --- Page Specific Enhancements --- */

/* Index Page - Adjustments */

/* Increase padding for sections within the main container */
main.container > section {
    padding: 60px 0; /* Use 0 horizontal padding here if container inside manages it */
    text-align: center; 
    border-bottom: 1px solid var(--medium-grey); 
}
main.container > section:last-child {
    border-bottom: none; 
}
/* Ensure sections have bottom padding even if last element is full-width */
main.container > section {
    padding-bottom: 60px;
}

/* Container specifically within these sections */
.content-section > .container {
    padding: 0 100px; /* Significantly increased horizontal padding */
    max-width: 1100px; /* Allow slightly wider content */
    margin-left: auto;
    margin-right: auto;
    text-align: left; 
}

/* Adjust heading alignment if needed */
.content-section > .container h3 {
     text-align: center; 
     margin-bottom: 1em;
}

#services-overview {
    background-color: var(--white);
    padding: 60px 30px; /* Add horizontal padding directly to the section */
}

#contact-snippet {
    background-color: var(--white); /* Alternate back to white */
    text-align: center; 
}

/* Refined Section Content Styles */
main.container > section h3 {
    font-size: 1.8rem; /* Slightly larger section titles */
    margin-bottom: 0.8em;
    color: var(--text-dark); /* Ensure dark text */
}

main.container > section p {
    max-width: 700px; /* Constrain paragraph width */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    color: var(--dark-grey); /* Standard text color */
    line-height: 1.8; /* Slightly more line height */
}

main.container > section p a {
    color: var(--accent-blue); /* Style links within paragraphs */
    font-weight: bold;
}
main.container > section p a:hover {
    color: var(--primary-green);
}

/* Services Grid Improvements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin: 40px auto; /* Center the grid */
    max-width: 90%; /* Constrain the grid width */
    text-align: left;
}

.service-card {
    background-color: var(--white); /* Card background */
    padding: 35px 30px; /* More padding */
    border-radius: 6px;
    border: 1px solid #e8e8e8; /* Lighter border */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Enhanced hover shadow */
}

/* Icon Placeholder - Make it clearer */
.service-icon {
    display: inline-block; 
    font-size: 2.2rem; 
    color: var(--primary-green); /* Primary green for icons */
    margin-bottom: 18px;
    /* Remove placeholder circle */
    /* height: 40px; */
    /* width: 40px; */
    /* background-color: transparent; */ 
    /* border-radius: 0; */
    /* Add specific library classes or use background-image for SVGs */
    /* Example placeholder text */
    width: 50px; height: 50px; line-height: 50px; background: #e0f2f1; border-radius: 50%; text-align:center;
}
.service-icon::before { content: "🌱"; } /* Example Emoji - Replace! */
.service-card:nth-child(2) .service-icon::before { content: "💧"; } /* Example */
.service-card:nth-child(3) .service-icon::before { content: "🏠"; } /* Example */

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 1rem; /* Standard paragraph size */
    color: var(--dark-grey);
    margin-bottom: 0;
    line-height: 1.7; /* Adjust line height */
}

/* Contact Button Spacing */
#contact-snippet .btn-primary {
    margin-top: 15px; 
}

/* ============================ */
/* Hero Section - Full Screen Style */
/* ============================ */

.hero-section {
    position: relative; /* For overlay and content positioning */
    width: 100%; /* Span full viewport width */
    min-height: 90vh; /* Take up most of the viewport height (adjust as needed) */
    /* Calculate height minus header if header height is fixed/known */
    /* min-height: calc(100vh - 80px); */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    color: var(--white); /* Default text color */
    text-align: center; /* Center text within the content block */
    padding: 60px 20px; /* Vertical padding, smaller horizontal padding */
    box-sizing: border-box; /* Include padding in height calculation */

    /* --- Background Image --- */
    /* Overlay now combined here using linear-gradient */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/hemfix-hero-garden.jpg'); /* Gradient overlay + Image */
    background-size: cover;
    background-position: center center; /* Center image */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Creates a simple parallax effect */
}

/* Hero Content Container (uses .container for max-width) */
.hero-section .hero-content.container {
    position: relative; /* Ensure it's above overlay (though gradient is part of background now) */
    z-index: 2;
    background-color: transparent; /* Override default container background */
    box-shadow: none; /* Override default container shadow */
    padding: 0; /* Remove container padding, handled by hero-section padding */
    /* Animation base */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInHeroContent 1s 0.3s ease-out forwards;
}

@keyframes fadeInHeroContent {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headline */
.hero-section .hero-content h2 {
    font-size: 3.2rem; /* Larger */
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Stronger shadow */
    margin-bottom: 20px;
    border-bottom: none; /* No underline */
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Sub-headline / Paragraph */
.hero-section .hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.7;
}

/* Buttons */
.hero-section .hero-buttons .btn {
    margin: 10px 15px;
    padding: 15px 35px; /* Larger buttons */
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border-width: 2px;
    border-style: solid;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-section .hero-buttons .btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.hero-section .hero-buttons .btn-primary:hover {
    background-color: var(--darker-green);
    border-color: var(--darker-green);
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.hero-section .hero-buttons .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero-section .hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) { /* Tablet */
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll; /* Parallax doesn't work well on mobile */
    }
    .hero-section .hero-content h2 {
        font-size: 2.8rem;
    }
    .hero-section .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }
    .hero-section .hero-buttons .btn {
         padding: 12px 30px;
         font-size: 1rem;
    }
    .container {
        padding: 30px 40px; /* Adjust container padding */
    }
    main.container > section {
        padding: 50px 40px;
    }
    .services-grid {
        gap: 30px;
    }
    .content-section > .container {
        padding: 0 60px; /* Adjust padding for tablets */
    }
    #services-overview {
        padding: 50px 25px;
    }
    .services-grid {
        max-width: 95%;
    }
}

@media (max-width: 768px) { /* Mobile */
    .hero-section {
        min-height: 70vh;
        padding: 40px 15px; /* Less padding */
    }
    .hero-section .hero-content h2 {
        font-size: 2.2rem;
    }
    .hero-section .hero-content p {
        font-size: 1.05rem;
    }
    .hero-section .hero-buttons .btn {
        /* Optional: Stack buttons */
        display: block;
        max-width: 300px;
        margin: 15px auto;
        padding: 12px 25px;
    }
    /* Readjust keyframes for smaller movement if needed */
    @keyframes fadeInHeroContent {
        to {
            opacity: 1;
            transform: translateY(0); /* Reset transform */
        }
    }
    .container {
        padding: 25px 20px;
        width: 95%; /* Slightly wider on mobile but still with margins */
    }
    main.container {
        margin-top: 30px;
        width: 90%;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Stack cards */
        gap: 25px;
    }
    main.container > section h3 {
        font-size: 1.6rem;
    }
     main.container > section p {
        font-size: 1rem;
    }
    .service-card {
        padding: 30px 25px;
    }
    .content-section > .container {
        padding: 0 20px; /* Adjust padding */
        width: 100%;
    }
    .about-us-image {
        margin-top: 30px;
        border-radius: 0; /* Ensure sharp corners on mobile too if desired */
    }
    #services-overview {
        padding: 40px 20px;
    }
    .services-grid {
        max-width: 100%;
        gap: 25px;
    }
}

/* --- End Hero Section Styles --- */

/* Add space above main content */
main.container {
    margin-top: 0; /* Remove default margin if hero is directly above */
    padding-top: 0; /* Remove top padding from main container itself */
    padding-bottom: 0; /* Remove bottom padding from main container itself */
    box-shadow: none; /* Remove shadow from main container if sections have their own */
    background-color: transparent; /* Let sections control background */
    border-radius: 0;
}

/* Add basic styles for .btn outside hero if needed */
.btn {
     display: inline-block;
     padding: 10px 20px;
     margin: 5px;
     background-color: var(--primary-green);
     color: var(--white);
     text-decoration: none;
     border-radius: 5px;
     border: 2px solid transparent; /* Base border setting */
     cursor: pointer;
     transition: all 0.3s ease;
     font-family: var(--font-body);
     font-weight: bold;
     text-align: center;
     line-height: 1.4; /* Ensure text aligns nicely */
 }
 
 .btn:hover {
     background-color: var(--darker-green);
     border-color: var(--darker-green);
     transform: translateY(-2px); /* Simple hover effect */
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
 }

/* Primary button style (already used for contact) */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}
.btn-primary:hover {
     background-color: var(--darker-green);
     border-color: var(--darker-green);
     color: var(--white);
}

/* New Outline Button Style */
.btn-outline {
    background-color: transparent;
    border-color: var(--primary-green); /* Use primary color for border */
    color: var(--primary-green); /* Use primary color for text */
}

.btn-outline:hover {
    background-color: var(--primary-green); /* Fill on hover */
    border-color: var(--primary-green);
    color: var(--white); /* White text on hover */
    transform: translateY(-2px); /* Keep hover effect */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Secondary style specifically for Hero (keep scoped) */
.hero-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
    transform: scale(1.05); /* Keep hero-specific hover */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* --- Responsive adjustments --- */
/* ... existing responsive styles ... */

/* ... rest of the file remains unchanged ... */

/* Add styling for the new About Us section */
#about-us {
    background-color: var(--light-grey); /* Alternate background */
}
#about-us h3 {
    /* Uses general section h3 styles */
    text-align: center;
}
#about-us p {
    /* Override text-align: center from section default for readability */
    text-align: left; 
    max-width: 750px; /* Allow slightly wider paragraphs */
    margin-left: auto;
    margin-right: auto;
}

/* Styling for the About Us section image (now outside inner container) */
.about-us-image {
    display: block; 
    width: 100%; /* Let it span the section width */
    max-width: 600px; /* Optional: Set a larger max-width if needed */
    height: auto; 
    margin: 40px auto 0; /* Increased top margin, centered horizontally */
    border-radius: 0px; /* Remove radius if it should span edge-to-edge */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */ /* Shadow might look odd if full-width */
}

/* Responsive adjustment for the image */
@media (max-width: 768px) {
    /* ... */
    .content-section > .container {
        padding: 0 20px; /* Adjust padding */
        width: 100%;
    }
    .about-us-image {
        /* max-width: 95%; */ /* No longer needed if it spans section */
        margin-top: 30px;
        border-radius: 0; /* Ensure sharp corners on mobile too if desired */
    }
    /* ... */
}

/* Mobile Navigation Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header nav {
        position: relative;
        flex-direction: row; /* Keep horizontal on mobile */
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }
    
    .hamburger-menu {
        display: flex; /* Show hamburger on mobile */
    }
    
    header nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-green);
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 99;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    header nav ul.open {
        max-height: 300px; /* Height when menu is open */
        padding: 10px 0;
    }
    
    header nav ul li {
        display: block;
        margin: 15px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    header nav ul.open li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.1s;
    }
    
    header nav ul.open li:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    header nav ul.open li:nth-child(3) {
        transition-delay: 0.3s;
    }
    
    header nav ul li a {
        display: inline-block;
        padding: 8px 15px;
        font-size: 1.1rem;
    }
    
    /* Animate hamburger to X when open */
    .hamburger-menu.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-menu.open span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    header h1 {
        margin-bottom: 0; /* Remove margin since we're using flex */
        font-size: 1.6rem; /* Make title a bit smaller */
    }
} 