/* --- Base Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #455227;
    background-color: #F4EAE1;
    text-align: center;
    font-size: 16px;
}

em, i {
    margin-right: 0.1em;
}

header {
    background-color: #F4EAE1;
    padding: 20px;
    font-size: 20px;
    position: relative;
    z-index: 1;
}

header nav a {
    color: #455227;
    text-decoration: underline;
    font-weight: bold;
}

header nav a:hover {
    color: #000;
}

section {
    padding: 20px;
    margin: 20px 0;
}

h1 {
    color: #455227;
    font-size: 36px;
    font-family: 'Ahkio-Regular', serif;
    font-weight: normal;
    margin-top: 0;
}

h2 {
    color: #455227;
    font-size: 24px;
    font-family: 'Ahkio-Regular', serif;
    font-weight: normal;
}

footer {
    background-color: #444;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer a {
    color: #fff; /* Makes the link white */
    font-size: 14px; /* Makes the font a bit smaller. Adjust as you like! */
}

/* This makes sure the link STAYS white after you've visited it */
footer a:visited {
    color: #fff;
}

/* This adds a subtle underline when you hover over it, which is good for usability */
footer a:hover {
    text-decoration: underline;
}

p {
    font-family: 'Poppins', Verdana, sans-serif;
    font-weight: 400;
}

strong {
    font-weight: 600;
}


/* --- Layout Containers --- */
.content-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
}

.image-text-section {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 95%;
    margin: 20px auto;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.text-content {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.blog-post-content {
    max-width: 750px; /* A comfortable reading width. Adjust if you like. */
    margin: 40px auto; /* This centers the block on the page */
    padding: 20px; /* Keeps some space from the edges */
    text-align: left; /* This is KEY! It aligns the text and fixes the lists. */
}

/* --- General Content Link Styles --- */

/* This targets links inside ANY of your main content containers */
.content-container a,
.blog-post-content a,
.text-content a {
    color: #455227; /* Sets the link color to your site's main green */
    text-decoration: underline;
    font-weight: bold;
}

/* This controls the color AFTER a link has been visited */
.content-container a:visited,
.blog-post-content a:visited,
.text-content a:visited {
    color: #455227; /* Sets it to the SAME green, removing the purple */
}

/* This controls the color when you HOVER over the link */
.content-container a:hover,
.blog-post-content a:hover,
.text-content a:hover {
    color: #000; /* Changes to black on hover, like your main menu */
    text-decoration: none;
}


/* --- Images --- */
.logo {
    /* This is the DESKTOP logo size */
    height: 240px;
    width: auto;
}

.image-text-section .profile-image {
    max-width: 250px;
    min-width: unset;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.image-text-section img {
    max-width: 45%;
    min-width: 280px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}

/* --- Navigation & Hamburger --- */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Default for Desktop */
    width: 100%;
}

.nav-links {
    display: flex; /* This will be overridden on mobile */
    gap: 30px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.hamburger-menu {
    display: none; /* Hide on desktop by default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #455227;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* --- Services Page Layout Tweaks --- */
#services-offer {
    /* This controls the space between the image and the text block */
    gap: 60px; 
}

#services-offer img {
    /* This controls the size of the image on the services page */
    max-width: 35%; 
}

/* --- Privacy Policy Page Layout --- */
#privacy-policy-content {
    max-width: 950px; /* This is your new "playground" value! */
    margin: 40px auto; /* 'auto' centers the block on the page */
    text-align: left;  /* Ensures the text inside is left-aligned */
}

/* --- FAQ Page Top Alignment Override --- */
#faq-intro,
#faq-details,
#faq-concerns {
    align-items: flex-start;
}

.decorative-leaf {
    display: none; /* Hide leave when on smaller screens */
}

/* ... (rest of form styles are fine) ... */
.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; color: #455227; }
.form-group input, .form-group textarea { width: calc(100% - 22px); padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 16px; color: #455227; background-color: #f9f9f9; box-sizing: border-box; }
.form-group textarea { resize: vertical; }
.contact-form button { display: inline-block; padding: 10px 20px; background-color: #455227; color: #fff; border: none; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 16px; cursor: pointer; transition: background-color 0.3s ease; margin-top: 10px; }
.contact-form button:hover { background-color: #333; }


/* --- Media Queries for Responsive Design --- */

/* Small tablets and large phones (<= 900px) */
@media (max-width: 900px) {
    header {
        padding: 15px;
    }

    /* --- Start of Mobile Navigation Logic (The FIXED Version) --- */
    nav {
        position: relative;
        justify-content: center;
        min-height: 150px; /* Give space for the logo */
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        top: 50%;
        right: 0; /* Positioned to the right */
        transform: translateY(-50%);
    }

    .logo {
        height: 150px; /* <--- THIS IS NOW YOUR SINGLE CONTROL FOR MOBILE LOGO SIZE */
        width: auto;
        margin: 0;
    }

    .nav-links {
        display: none; /* Hide the text links by default */
        position: absolute;
        top: 200px; /* Adjust this to be below your new large logo */
        left: 0;
        width: 100%;
        background-color: #F4EAE1;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }
    /* --- End of Mobile Navigation Logic --- */


    /* --- Your Other Mobile Styles --- */
    .image-text-section {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .image-text-section img,
    .image-text-section .text-content {
       max-width: 90%;
       min-width: unset;
       flex: none;
       width: 100%;
    }

     .image-text-section img {
        margin-bottom: 20px;
     }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    /* --- FAQ Page Reordering --- */
    #faq-details img {
        order: 1;
    }
    #faq-details .text-content {
        order: 2;
    }

    #services-offer img {
    /* On mobile, ignore the 35% desktop rule and let the image be much larger */
    max-width: 90%;
    }

}

/* Larger tablets (901px - 1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
    .logo {
        height: 200px; /* Adjusted Tablet Logo Size */
    }
    .nav-links {
        gap: 25px;
    }
    .image-text-section {
        margin-top: 0px; /* Drastically reduces the space above */
        margin-bottom: 0px; /* And below the sections */
    }
    header {
        padding: 10px 20px; /* Reduces space inside the header */
    }
}

/* Desktops and larger screens (>= 1025px) */
@media (min-width: 1025px) {
    .logo {
        height: 240px; /* Back to full desktop size */
    }
    .nav-links {
        gap: 50px;
    }
    .decorative-leaf {
        display: block; /* Make it visible again */
        position: absolute; /* This is the key! Lifts it out of the normal flow. */

        /* --- This is your playground for positioning and size --- */
        top: 150px;         /* Distance from the top of the page */
        right: 120px;       /* Distance from the right of the page */
        width: 250px;       /* The size of the leaf */
        /* --- End of playground --- */

        z-index: 2; /* Puts the leaf BEHIND the main content. Very cool effect! */
        opacity: 1; /* Optional: Makes it slightly transparent and subtle */
    }
}

/* --- FAQ Page Image Size Override --- */
#faq-intro img,
#faq-details img,
#faq-concerns img {
    max-width: 500px; /* Or 350px, or whatever looks good on desktop */
}