/* --- CSS Variables --- */
:root {
    /* Color Palette */
    --bg-color: #fff0f5; /* Lavender Blush - light pink (Fallback) */
    --bg-light: #ffffff;
    --text-color: #4a4a4a;
    --heading-color: #333;
    --primary-accent: #d4af37; /* Gold */
    --secondary-accent: #e6c5a1;
    --white: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px; /* Padding inside the main container */
    --header-height: 70px;

    /* Swiper Specific */
    --swiper-theme-color: var(--primary-accent); /* Color for nav buttons if used */
    --swiper-pagination-color: var(--primary-accent); /* Color for active pagination bullet */
    --swiper-pagination-bullet-inactive-color: var(--secondary-accent);
    --swiper-pagination-bullet-inactive-opacity: 0.5;
    --swiper-pagination-bullet-size: 9px;
    --swiper-pagination-bullet-horizontal-gap: 5px;
    /* --swiper-navigation-size: 30px; /* Size for nav button arrows */
}




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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color); /* Fallback color */
    background-image: url('background.jpg'); /* Path to your image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.5rem; } /* Base size for H3 */

p {
    margin-bottom: 1rem;
}

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

a:hover, a:focus {
    color: var(--secondary-accent);
    text-decoration: underline;
}

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

.container {
    /* === INCREASED MAX-WIDTH for more space === */
    max-width: 1400px; /* Increased from 1100px */
    /* Or use percentages: width: 90%; max-width: 1500px; */
    margin: 0 auto;
    padding: var(--container-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

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

#main-header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px; /* Nav width doesn't need to match carousel width */
    margin: 0 auto;
    position: relative;
}

#main-header .logo {
   position: absolute;
   left: 20px;
   top: 50%;
   transform: translateY(-50%);
   font-family: var(--font-heading);
   font-size: 1.5rem;
   color: var(--heading-color);
}

#main-header nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

#main-header nav ul li {
    margin: 0 20px;
}

#main-header nav ul li a {
    font-family: var(--font-body);
    color: var(--text-color);
    font-weight: 400;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Keep nav text larger */
}

#main-header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

#main-header nav ul li a:hover,
#main-header nav ul li a:focus {
    color: var(--primary-accent);
    text-decoration: none;
}

#main-header nav ul li a:hover::after,
#main-header nav ul li a:focus::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--heading-color);
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: var(--overlay-color); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

#hero h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h2 {
    font-size: 1.8rem;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#hero .byline {
    font-size: 1.2rem;
    font-style: italic;
    font-family: var(--font-body);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


#hero .hero-content .btn{
    margin-top: 2rem;

}

/* --- Content Sections --- */
.content-section {
    padding: var(--section-padding);
     position: relative;
}

/* --- START: Services Carousel Styles --- */
#services-carousel {
    background-color: transparent; /* Lets body background show through */
    padding-top: 60px;
    padding-bottom: 80px; /* Increased space for pagination */
    position: relative; /* Context for absolutely positioned elements like pagination */
}

/* Main Swiper Container - Container class above handles max-width */
.servicesSwiper {
    width: 100%; /* Takes width from parent (.container) */
    margin: 0 auto;
    overflow: hidden; /* IMPORTANT: Hide non-visible slides */
    padding: 10px 0 50px 0; /* Top/Bottom padding, space for pagination */
}

/* Styling for each slide */
.swiper-slide.service-card {
    height: auto; /* Slides adapt to content height */
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95); /* Elegant semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Clip image to top radius */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for centering */
    /* Swiper controls width & margin based on slidesPerView & spaceBetween */
}

.service-card img {
    width: 100%;
    height: 160px; /* Adjusted height slightly for potentially wider slides */
    object-fit: cover;
    display: block;
}

/* Padding for the text content area */
.service-card h3,
.service-card p,
.service-card .btn-learn-more {
    padding-left: 18px; /* Reduced padding slightly */
    padding-right: 18px;
}

.service-card h3 {
    font-size: 1.2rem; /* Adjusted slightly */
    margin-top: 15px;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.85rem; /* Adjusted slightly */
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1; /* Allows paragraph to push button to bottom */
}

/* Specific styling for the smaller 'Learn More' button */
.service-card .btn-learn-more {
    padding: 8px 18px; /* Keep button relatively small */
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    border-radius: 20px;
    margin: 0 auto 20px auto; /* Center and add bottom margin */
    align-self: center;
}

/* Pagination Styling */
.swiper-pagination {
    position: absolute;
    bottom: 10px !important; /* Position below the slides */
    left: 50%;                /* Start at horizontal center */
    transform: translateX(-50%); /* Shift left by half its own width = CENTERED */
    width: auto !important;      /* Let the container size itself based on bullets */
    text-align: center;        /* Ensure bullets center within the container */
    z-index: 10;               /* Ensure it's clickable */
    /* background-color: rgba(255,0,0,0.2); */ /* DEBUGGING: Add background to see the container */
}
/* Individual pagination bullet styling */
.swiper-pagination-bullet {
    background-color: var(--swiper-pagination-bullet-inactive-color);
    opacity: var(--swiper-pagination-bullet-inactive-opacity);
    height: var(--swiper-pagination-bullet-size);
    width: var(--swiper-pagination-bullet-size);
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap) !important;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
     border-radius: 50%; /* Ensure they are round */
     display: inline-block; /* Needed for proper spacing & centering */
}
/* Active pagination bullet */
.swiper-pagination-bullet-active {
    background-color: var(--swiper-pagination-color);
    opacity: 1;
    transform: scale(1.1); /* Optional: Slightly larger active bullet */
}

/* Optional: Navigation Button Styling */
/* ... (Keep commented out unless used) ... */

/* --- END: Services Carousel Styles --- */


/* --- About Section --- */
#about {
    background-color: var(--bg-light);
}
#about .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
#about .about-image { flex: 1; min-width: 280px; }
#about .about-image img { border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
#about .about-text { flex: 1.5; min-width: 300px; font-size: 1.5rem; }

/* --- Contact/Booking Section --- */
#contact { /* Contact section uses body background image */ }
#contact-form { max-width: 600px; margin: 0 auto; background-color: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--heading-color); font-size: 0.9rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary-accent); box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2); }
.form-group textarea { resize: vertical; }

/* --- Buttons --- */
/* Base styles for all buttons with class .btn */
.btn {
    display: inline-block;
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 12px 30px; /* Default padding */
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Default letter spacing */
    font-size: 1rem; /* Default font size */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn:hover, .btn:focus {
    background-color: #c09d2e; /* Slightly darker gold on hover */
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
/* Specific button instances */
#contact-form button[type="submit"].btn {
    width: auto;
    display: block;
    margin: 10px auto 0;
}
/* Learn more button styling is handled under #services-carousel section */

/* Define smaller button style */
.btn-small {
     padding: 8px 20px;
     font-size: 0.9rem;
     /* Inherits other .btn styles like font-weight, border-radius, etc. */
}


/* #form-status { margin-top: 20px; text-align: center; font-weight: bold; } */ /* No longer needed */

/* --- Footer --- */
footer { background-color: rgba(248, 232, 236, 0.9); color: #555; text-align: center; padding: 30px var(--container-padding); font-size: 0.9rem; position: relative; z-index: 10; }

.icons i{
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.animate-on-load { opacity: 0; animation: fadeIn 1s ease-out forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; } /* For button */
@keyframes fadeIn { to { opacity: 1; } }


/* --- Loading Overlay Styles --- */
.loading-overlay {
    position: fixed; /* Cover the whole viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1010; /* Above other content, below modal if needed */
    flex-direction: column; /* Stack spinner and text */
    color: var(--white);
    font-size: 1.2rem;
}

.loading-overlay.is-visible {
    display: flex; /* Show when class is added */
}

/* Basic CSS Spinner */
.spinner {
    border: 5px solid rgba(255, 255, 255, 0.3); /* Light grey border */
    border-top: 5px solid var(--white); /* White top border */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px; /* Space between spinner and text */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Confirmation Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Darker overlay for modal */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1020; /* Above loading overlay and content */
    padding: 20px; /* Padding for smaller screens */
}

.modal-overlay.is-visible {
    display: flex; /* Show when class is added */
}

.modal-content {
    background-color: #282828; /* Dark background like the example */
    color: #e0e0e0; /* Light text color */
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 500px; /* Max width of the modal */
    width: 90%; /* Responsive width */
    position: relative; /* For potential close button positioning */
    /* Animation (Optional) */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-overlay.is-visible .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-icon {
    margin-bottom: 25px;
}

/* Style for Font Awesome checkmark */
.modal-icon .fa-check-circle {
    font-size: 60px; /* Adjust size as needed */
    color: #5c9ded; /* Blue color like the example */
}

/* Style for the message text */
.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc; /* Slightly dimmer text */
}

/* Style for the close button inside the modal */
/* Uses .btn and .btn-small styles defined earlier */
.modal-content .btn.btn-small {
    /* No additional styles needed here unless overriding */
}


/* --- Responsive Design --- */
/* Adjustments for when 5 slides might be too much */
@media (max-width: 1200px) {
     /* JS handles slidesPerView change (to 3). */
     /* Reset styles if they were changed for 5 slides */
     .service-card img { height: 160px; }
     .service-card h3 { font-size: 1.2rem; }
     .service-card p { font-size: 0.85rem; }
}

@media (max-width: 992px) {
    body { background-attachment: scroll; }
    h1 { font-size: 3rem; }
    #hero h1 { font-size: 3.5rem; }
    #hero h2 { font-size: 1.5rem; }
    h2 { font-size: 2rem; }
    .container { max-width: 90%; } /* Container gets narrower */

    #about .about-content { flex-direction: column; text-align: center; }
    #about .about-image { margin-bottom: 20px; max-width: 400px; margin-left: auto; margin-right: auto; }
    #about .about-text { font-size: 1rem; }

    /* Carousel: JS handles slidesPerView change (to 2). */
     .service-card img { height: 160px; }
     .service-card h3 { font-size: 1.2rem; }
     .service-card p { font-size: 0.85rem; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    :root { --header-height: 60px; }

    #main-header nav ul { display: none; position: absolute; top: var(--header-height); left: 0; width: 100%; background-color: var(--white); flex-direction: column; padding: 10px 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); margin: 0; }
    #main-header nav ul.active { display: flex; }
    #main-header nav ul li { text-align: center; margin: 10px 0; }
    #main-header nav ul li a::after { display: none; }
    #main-header nav ul li a { font-size: 1.2rem; }

    .menu-toggle { display: block; }

    #hero h1 { font-size: 2.8rem; }
    #hero h2 { font-size: 1.3rem; }
    #hero .byline { font-size: 1rem; }

    .content-section { padding: 50px 0; }
    #services-carousel { padding: 40px 0 60px 0; } /* Adjust padding */

    h2 { font-size: 1.8rem; margin-bottom: 1.5rem;}

    /* Carousel: JS handles slidesPerView change (to 1). */
    .service-card img { height: 170px; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card p { font-size: 0.8rem; }
    .service-card .btn-learn-more { font-size: 0.8rem; padding: 6px 16px; }

    #contact-form { padding: 20px; }

    /* Modal on small screens */
    .modal-content { padding: 30px 20px; }
    .modal-icon .fa-check-circle { font-size: 50px; }
    .modal-content p { font-size: 1rem; }
}


/* --- Styles for Service Details Page (service-details.html) --- */

#service-details-list {
    padding-top: calc(var(--header-height) + 40px); /* Add space below fixed header */
    padding-bottom: 80px; /* Consistent bottom padding */
}

#service-details-list h2 {
    margin-bottom: 40px; /* More space after main heading */
}

/* Back Button Styling */
.back-button-container {
    margin-bottom: 40px;
    text-align: left; /* Align button to the left */
}

.btn-back {
    background-color: var(--secondary-accent); /* Use a different color? */
    color: var(--heading-color);
    /* You can customize further if needed */
}

.btn-back:hover {
    background-color: var(--primary-accent);
    color: var(--white);
}

.btn-back i {
    margin-right: 8px; /* Space between icon and text */
}


/* Individual Service Item Styling */
.service-item {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 35px; /* Space between service items */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Default: Image left, text right */
    align-items: flex-start; /* Align items to the top */
    gap: 25px; /* Space between image and text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-item-image {
    flex: 0 0 180px; /* Don't grow, don't shrink, base width 180px */
    max-width: 180px; /* Ensure it doesn't exceed this */
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

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

.service-item h3 {
    font-size: 1.6rem; /* Slightly larger heading for details */
    color: var(--primary-accent); /* Use accent color for heading */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 0.8rem;
}

.service-item p {
    font-size: 1rem; /* Standard body text size */
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.service-item p:last-child {
    margin-bottom: 0; /* Remove margin from last paragraph */
}

.service-item p em {
    font-size: 0.9rem;
    color: #777; /* Slightly lighter color for emphasis/notes */
    display: block; /* Put notes on a new line */
    margin-top: 5px;
}


/* --- Responsive Adjustments for Service Details Page --- */

@media (max-width: 768px) {
    .service-item {
        flex-direction: column; /* Stack image on top of text */
        align-items: center; /* Center items when stacked */
        text-align: center;
        padding: 20px;
    }

    .service-item-image {
        flex-basis: auto; /* Reset flex basis */
        max-width: 80%; /* Allow image to be wider */
        margin-bottom: 20px; /* Space below image */
    }

    .service-item h3 {
        font-size: 1.4rem;
    }

     .service-item p {
        font-size: 0.95rem;
    }

    .back-button-container {
        text-align: center; /* Center back button on mobile */
    }
}