/* --- Global Styles & Variables --- */
:root {
    --pastel-peach: #FFDAB9;
    --pastel-pink: #FFC0CB;
    --beige: #F5F5DC;
    --white: #FFFFFF;
    --dark-text: #333;
    --primary-accent: #FFA07A; /* A slightly stronger peach for buttons */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* THIS FIX PREVENTS HORIZONTAL SLIDING */
html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Offset for fixed header */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

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

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #fcfcfc;
}

h1, h2 {
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e5906d;
}

/* --- Header & Navigation --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 70px;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-text);
    text-decoration: none;
}

#main-nav a {
    color: var(--dark-text);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

#main-nav a:hover {
    color: var(--primary-accent);
}

.hamburger-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* --- Side Menu (Mobile) --- */
#side-menu {
    position: fixed;
    top: 0;
    left: -280px; /* Hidden by default */
    width: 280px;
    height: 100vh;
    background-color: var(--beige);
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
}

#side-menu.open {
    left: 0;
}

#side-menu a {
    display: block;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 30px;
    transition: background-color 0.3s ease;
}

#side-menu a:hover {
    background-color: var(--pastel-peach);
}

#side-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    padding: 0;
}

/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(255, 218, 185, 0.8), rgba(255, 192, 203, 0.7)), url(fp1.png) no-repeat center center/cover;
    height: 80vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--dark-text);
    padding-top: 70px; /* Header offset */
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Services Section --- */
#services {
    background-color: var(--pastel-pink);
}

#services .container {
    text-align: center;
}

.service-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.service-list li {
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-weight: 500;
}

/* --- Gallery & Lightbox --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

#lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1002;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

/* --- Policy Section --- */
#policy {
    background-color: var(--beige);
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.policy-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.policy-item h3 {
    color: var(--primary-accent);
    margin-bottom: 10px;
}

/* --- Info/Map Section --- */
#info .container {
    text-align: center;
}

.map-container {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block; /* Removes bottom space */
}

/* --- Contact Form --- */
#contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#char-count {
    font-size: 0.8rem;
    text-align: right;
    color: #777;
    margin-top: 5px;
}

/* --- THIS IS THE FIX FOR THE CHECKBOX AND SLIDING --- */
.form-group-checkbox {
    margin-bottom: 20px;
    /* We are NOT using flexbox here, for simpler wrapping on mobile */
}

.form-group-checkbox input[type="checkbox"] {
    /* Align the checkbox with the top of the text */
    vertical-align: top;
    margin-right: 8px;
    margin-top: 3px;
    
    /* Make checkbox slightly larger for touch screens */
    width: 16px;
    height: 16px;
    flex-shrink: 0; /* Prevent it from shrinking */
}

.form-group-checkbox label {
    /* Make the label flow next to the checkbox */
    display: inline-block;
    
    /* Calculate the width to force wrapping */
    /* 100% minus (checkbox width + margin) */
    width: calc(100% - 30px); 
    
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}
/* --- END OF THE FIX --- */


#contact-form button {
    width: 100%;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

#form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
    text-align: center;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}


/* --- Footer --- */
footer {
    background-color: var(--dark-text);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    #main-nav {
        display: none;
    }

    .hamburger-icon {
        display: block;
    }

    #hero {
        height: 60vh;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        grid-row: 1; /* Move images to the top on mobile */
    }
    
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .form-group-split {
        grid-template-columns: 1fr;
    }
}
