/* --- Global Styles --- */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f7f7f7;
}

h1, h2, h3 {
    font-weight: 700;
    color: #3eb4c8; /* Teal color for headings */
}

a {
    text-decoration: none;
    color: #3eb4c8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

/* --- Header & Nav --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #333;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

nav a {
    margin-left: 20px;
    font-weight: 600;
    color: #555;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3eb4c8;
}

/* --- HERO SECTION (SLIDER) --- */

.hero-section {
    position: relative;
    height: 450px; /* Height of your sliding banner */
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center; /* Centers the text vertically */
    justify-content: center;
}

#slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* FASTER FADE */
}

.active-slide {
    opacity: 1;
}

.hero-content-overlay {
    position: relative;
    z-index: 10;
    color: #ffffff;
    text-align: center;
    padding-top: 50px; /* Reduced padding since text is centered */
    height: 100%;
    /* Creates a dark overlay for text readability */
    background: rgba(0, 0, 0, 0.4); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-content-overlay p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* --- CTA BUTTON (Outline/Ghost Style) --- */

.cta-button {
    background-color: transparent; /* Makes the center clear */
    color: #ffffff; /* Sets text color to white against the dark overlay */
    border: 2px solid #ffffff; /* White outline */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #3eb4c8; /* Fills with teal on hover */
    color: #ffffff; /* Keeps text white */
    border-color: #3eb4c8;
}

/*/* --- Services Section --- */
#services {
    padding: 60px 20px;
    text-align: center;
}
/* This creates the boxes and columns: */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.service-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}
.service-item h3 {
    color: #3eb4c8;
    margin-top: 0;
    font-size: 1.35rem;
}.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Limits the image width */
    margin: 0 auto;
    overflow: hidden;
    cursor: ew-resize;
}
}/* --- CONTACT SECTION --- */
#contact {
    background-color: #333;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}
#contact h2 {
    color: #ffffff;
    margin-bottom: 15px;
}
/* ... rest of contact styles ... *//* --- CONTACT SECTION --- */
#contact {
    background-color: #333;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}
#contact h2 {
    color: #ffffff;
    margin-bottom: 15px;
}
/* ... rest of contact styles ... *
/* Ensure BOTH images fit the container */
.before-image, .after-image {
    display: block;
    width: 100%;
    /* These lines are CRITICAL for making the images the same size */
    height: 100%; 
    object-fit: cover; 
}

/* This is the overlay image that gets cropped */
.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Initial visible width */
}

/* This limits the overall size of the entire slider area */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Limits the max width of the images */
    margin: 0 auto;
    overflow: hidden;
    cursor: ew-resize;
}/* --- MOBILE OPTIMIZATION (Media Query) --- */
@media (max-width: 600px) {
    /* Shrinks the main headline (H1) */
    .hero-content-overlay h1 {
        font-size: 2rem; /* Reduced from 3rem */
    }

    /* Shrinks the hero paragraph */
    .hero-content-overlay p {
        font-size: 1rem; /* Reduced from 1.25rem */
    }

    /* Shrinks the height of the banner slightly to make more room */
    .hero-section {
        height: 400px;
    }
}/* --- CLEAN RESULTS GALLERY STYLES --- */

#results {
    padding: 60px 0;
    text-align: center;
    background-color: #f7f7f7;
}

#results h2 {
    margin-bottom: 30px;
}

.gallery-slider-container {
    position: relative;
    max-width: 900px; /* Max size for the image viewer */
    margin: 0 auto;
    overflow: hidden;
    height: 450px; /* Height of the image viewer */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.results-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.result-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Uses a smooth fade */
}

.active-result-slide {
    opacity: 1;
}

/* Arrow Styling */
/* Arrow Styling */
/* Arrow Styling */
/* Arrow Styling */
.gallery-prev-btn, .gallery-next-btn {
    cursor: pointer;
    position: absolute; /* CRITICAL: Allows us to use top/left/right */
    top: 50%;
    transform: translateY(-50%); /* Centers the button vertically */
    width: auto;
    padding: 15px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    border: none;
    background-color: rgba(0,0,0,0.5);
    z-index: 15;
}

/* Specific position for the next (right) arrow */
.gallery-next-btn {
    right: 0; /* Pushes button to the right edge */
    border-radius: 3px 0 0 3px;
}

/* Specific position for the previous (left) arrow */
.gallery-prev-btn {
    left: 0; /* Pushes button to the left edge */
    border-radius: 0 3px 3px 0;
}