/*
Theme Name: Luci's Mar Cleaning Services
Theme URI: https://ksmedia.site
Author: KS Media
Author URI: https://ksmedia.site
Description: Tema personalizado para Luci's Mar Cleaning Services, baseado no layout HTML estático.
Version: 1.0
Text Domain: lucismar-cleaning
*/

/* Luci's Mar Cleaning Services - New Color Palette (Baby Blue, Light Grey, White) */
:root {
    --primary-blue: #89CFF0; /* Baby Blue */
    --accent-blue: #6495ED; /* Cornflower Blue for accents/darker blue */
    --dark-text: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --light-gray-bg: #F8F8F8; /* Soft light gray background */
    --light-blue-bg: #EBF7FB; /* Very light blue derived from primary-blue */
    --lighter-blue-bg: #F0F8FF; /* AliceBlue, even lighter blue */
    --border-color: #E0E0E0;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* More pronounced, softer shadow */
    --soft-hover-transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Open Sans', sans-serif; /* Clean body font */
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-gray-bg);
    scroll-behavior: smooth;
}
/* Style to prevent body scroll when mobile menu is active */
body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Increased padding for more breathing room */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 35px; /* Standardized for more prominence */
    border-radius: 8px; /* More rounded corners */
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--soft-hover-transition);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle initial shadow */
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #6FB6E1; /* Darker shade of baby blue */
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.btn-secondary {
    background-color: var(--accent-blue); /* Accent color for secondary CTAs */
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #476CBA; /* Darker shade of cornflower blue */
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.accent-text {
    color: var(--accent-blue); /* For highlighting text with the accent color */
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0; /* More padding */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue); /* Logo main color, if text */
    font-family: 'Poppins', sans-serif;
}

.logo img {
    height: 75px; /* Increased logo height */
    margin-right: 12px;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 35px; /* Increased spacing */
}

.navbar ul li a {
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--soft-hover-transition);
    font-family: 'Poppins', sans-serif;
}

.navbar ul li a:hover {
    color: var(--primary-blue);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between phone and button */
}

/* Hero Section - UPDATED FOR BACKGROUND SLIDESHOW */
.hero {
    position: relative; /* Needed for absolute positioning of layers */
    overflow: hidden; /* Ensures background layers don't spill out */
    background: none; /* Remove previous background setup */
    padding: 100px 0;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white); /* Keep text color white */
}
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* All layers initially hidden */
    transition: opacity 1.5s ease-in-out; /* Smooth transition for fading */
    z-index: -2; /* Behind content and gradient overlay */
}
.hero-bg-layer.hero-bg-active {
    opacity: 1; /* Active layer is visible */
}
/* Use ::before for the gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(137, 207, 240, 0.85), rgba(137, 207, 240, 0.85)); /* Your existing gradient */
    z-index: -1; /* Above background images, below hero content */
}
.hero .container {
    position: relative; /* Ensures content is layered above the pseudo-element/gradient */
    z-index: 1;
    display: flex; /* Keep content layout */
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1; /* Allows it to grow and shrink */
    max-width: 60%; /* Adjust width to make space for the form */
    z-index: 1; /* Ensure content is above background */
    text-align: left; /* Align text within content block */
}

.hero-content p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 56px; /* Larger headline */
    margin-bottom: 25px;
    line-height: 1.15;
    font-weight: 700;
}

.hero-content p:last-of-type {
    font-size: 17px;
    margin-bottom: 40px; /* More spacing */
    line-height: 1.7;
}

.contact-form-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    width: 40%;
    min-width: 350px;
    color: var(--dark-text);
    z-index: 1;
}

.contact-form-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.contact-form-card p {
    text-align: center;
    font-size: 15px;
    color: var(--light-text);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light-text);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
    margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 4px;
    min-width: 18px;
    min-height: 18px;
    accent-color: var(--primary-blue);
}

.checkbox-group label {
    font-size: 13.5px;
    color: var(--light-text);
    line-height: 1.5;
}

.contact-form-card .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

/* Status dos formulários */
.form-status {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

/* Work With Us Section (Services) */
.work-with-us {
    padding: 80px 0; /* Reduced padding */
    text-align: center;
    background-color: var(--white);
}

.work-with-us h2 {
    font-size: 18px;
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.work-with-us h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    margin-bottom: 40px; /* Reduced spacing */
    font-weight: 700;
    color: var(--dark-text);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    text-align: center;
    transition: var(--soft-hover-transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-card .service-icon {
    font-size: 70px;
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 20px;
    display: block;
}

.service-card-content {
    padding: 0px 30px 30px 30px;
}

.service-card-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--dark-text);
}

.service-card-content p {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.7;
}

/* About Us Section */
.about-us-section {
    background-color: var(--lighter-blue-bg);
    padding: 80px 0; /* Reduced padding */
    text-align: center;
}
.about-us-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}
.about-us-section p {
    color: var(--light-text);
    font-size: 17px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px auto;
}
.about-us-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}
.about-us-content img {
    max-width: 45%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}
.about-us-text {
    flex: 1;
}
.about-us-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    color: var(--dark-text);
    margin-bottom: 20px;
}
.about-us-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Testimonials Section (Reviews Carousel) */
.reviews-section {
    background-color: var(--light-blue-bg);
    padding: 80px 0; /* Reduced padding */
    color: var(--dark-text);
    text-align: center;
}
.reviews-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Reviews Carousel Specific Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}
.reviews-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 25px;
    padding: 40px 0;
}
.reviews-carousel::-webkit-scrollbar {
    display: none;
}
.review-card {
    flex: 0 0 auto;
    width: calc(33.33% - 17px);
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: var(--soft-hover-transition);
}
.review-card:hover {
    transform: translateY(-5px);
}
.review-card .stars {
    color: gold;
    font-size: 1.2em;
    letter-spacing: 1px;
}
.review-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 15px;
}
.review-card a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--soft-hover-transition);
}
.review-card a:hover {
    color: var(--accent-blue);
}
.review-card .reviewer-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.review-card .reviewer-info span {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    font-size: 16px;
}
.review-card .google-icon {
    margin-left: auto;
    color: #4285F4;
    font-size: 26px;
}
/* Gallery Carousel Arrows (general style) */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--soft-hover-transition);
}
.carousel-arrow:hover {
    background-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.05);
}
/* Specific arrows for reviews carousel */
.reviews-section .carousel-arrow.prev {
    left: 0;
}
.reviews-section .carousel-arrow.next {
    right: 0;
}

/* Photo Gallery Section (New structure from reference) */
.photo-gallery-section {
    background-color: var(--lighter-blue-bg);
    padding: 80px 0; /* Reduced padding */
    text-align: center;
}
.photo-gallery-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}
.photo-gallery-section p {
    color: var(--light-text);
    margin-bottom: 50px;
    font-size: 17px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --- GALLERY DESKTOP STYLES (Default - Grid) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 columns for desktop */
    gap: 25px;
}
.gallery-grid img {
    width: 100%;
    height: 250px; /* Consistent height for desktop grid */
    object-fit: cover; /* Crop to fit without distortion */
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hide carousel wrapper by default on desktop */
.gallery-carousel-wrapper {
    display: none;
}
/* Specific arrows for gallery carousel on mobile (hidden by default) */
.gallery-carousel-wrapper .carousel-arrow.prev-img { left: 0; }
.gallery-carousel-wrapper .carousel-arrow.next-img { right: 0; }


/* Contact Section (Enhanced with Form) */
.contact {
    background-color: var(--primary-blue);
    padding: 80px 0; /* Reduced padding */
    color: var(--white);
}

.contact .container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-top-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info-block {
    flex: 1;
    min-width: 320px;
}

.contact-info-block h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    margin-bottom: 35px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-info-block ul {
    list-style: none;
    padding-left: 0;
}

.contact-info-block ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.4;
}

.contact-info-block ul li i {
    margin-right: 20px;
    font-size: 26px;
    margin-top: 3px;
    color: var(--accent-blue);
}

.map-container {
    flex: 1.2;
    min-width: 450px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-us-form-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    color: var(--dark-text);
    margin-top: 40px;
    text-align: left;
}
.contact-us-form-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    color: var(--dark-text);
    margin-bottom: 25px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    padding: 50px 0; /* Reduced padding */
    color: var(--white);
    font-size: 14px;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col.about-col {
    flex: 1.5;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background-color: var(--primary-blue);
}

.footer-col .logo img {
    height: 50px;
    margin-bottom: 15px;
    margin-right: 0;
}
.footer-col .about-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
}
.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--soft-hover-transition);
    display: block;
}
.footer-col ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-col .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: var(--white);
    transition: var(--soft-hover-transition);
    font-size: 18px;
}
.footer-col .social-links a:hover {
    color: var(--dark-text);
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom .legal-links {
    margin-bottom: 10px;
}
.footer-bottom .legal-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 15px;
    font-size: 13.5px;
}
.footer-bottom .legal-links a:hover {
    color: var(--primary-blue);
}
.footer-bottom span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    display: block;
}

/* SMS Floating Button */
.sms-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: block;
    text-decoration: none;
    color: var(--white);
}
.sms-button .chat-icon {
    background-color: var(--primary-blue);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: var(--soft-hover-transition);
}
.sms-button .chat-icon:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px) scale(1.05);
}

/* Gallery Lightbox Styles (New from reference) */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Prevent scrolling within modal */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    box-sizing: border-box; /* Include padding/border in element's total width and height */
    text-align: center;
}
.lightbox-modal.active {
    display: flex; /* Display as a flex container when active */
}
.lightbox-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh; /* Use viewport height for responsiveness */
    object-fit: contain; /* Contain image within bounds */
    pointer-events: none; /* Allow clicks to pass through image to background for closing */
}
/* Lightbox Navigation Buttons (adapted from carousel-arrow) */
.lightbox-modal .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5); /* Darker background for visibility against light images */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px; /* Consistent with other carousel arrows */
    height: 50px;
    font-size: 2em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2001; /* Above image content */
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.lightbox-modal .modal-nav:hover {
    background-color: rgba(0,0,0,0.8);
}
.lightbox-modal .modal-nav.prev-img {
    left: 20px;
}
.lightbox-modal .modal-nav.next-img {
    right: 20px;
}
.lightbox-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}
.lightbox-modal-close:hover,
.lightbox-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Menu Toggle (Hamburger Icon) */
.menu-toggle {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Above header content */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Mobile Nav Menu (Off-canvas) */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -280px; /* Hidden off-screen (width of the menu) */
    width: 280px; /* Width of the mobile menu */
    height: 100%;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1500; /* Higher than overlay */
    transition: right 0.4s ease-in-out;
    padding-top: 60px; /* Space for close button */
    overflow-y: auto; /* Enable scroll if content is long */
}

.mobile-nav-menu.active {
    right: 0; /* Slide in */
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu ul li {
    margin-bottom: 20px;
}

.mobile-nav-menu ul li a {
    color: var(--dark-text);
    font-size: 1.2em;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu ul li a:hover {
    color: var(--primary-blue);
}

.mobile-nav-menu .mobile-cta {
    margin: 20px auto;
    display: block;
    width: calc(100% - 40px); /* Adjust for padding */
    font-size: 16px; /* Ensure readability */
    padding: 14px 20px; /* Adjust padding for mobile CTA */
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2em;
    color: var(--dark-text);
    cursor: pointer;
    line-height: 1;
    font-weight: normal;
    transition: color 0.3s ease;
}

.close-mobile-menu:hover {
    color: var(--primary-blue);
}

/* Mobile Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    display: block;
}


/* Media Queries */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    .hero .container {
        flex-direction: column;
        gap: 50px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .contact-form-card {
        width: 90%;
        min-width: unset;
    }
    .reviews-carousel {
        gap: 20px;
    }
    .review-card {
        width: calc(50% - 10px);
    }
    .about-us-content {
        flex-direction: column;
        text-align: center;
    }
    .about-us-content img {
        max-width: 80%;
    }
    .footer-col {
        min-width: 45%;
    }
    .footer-col.about-col {
        max-width: 100%;
    }
    .map-container {
        min-width: unset;
        width: 100%;
        height: 350px;
    }
    .contact-top-content {
        flex-direction: column;
    }
    .contact-info-block {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header .navbar { /* Hide desktop navbar */
        display: none;
    }
    .header .header-contact .btn { /* Hide the desktop CTA button */
        display: none;
    }
    .menu-toggle { /* Show hamburger icon */
        display: flex;
    }
    /* Adjust header layout for mobile */
    .header .container {
        justify-content: space-between;
        padding: 0 20px;
    }
    .logo {
        width: auto;
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: 38px;
    }
    .btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    .contact-form-card .btn-primary {
        padding: 16px;
    }
    .work-with-us h3, .reviews-section h2, .photo-gallery-section h2, .contact-info-block h3, .about-us-section h2, .contact-us-form-section h3, .about-us-text h3 {
        font-size: 32px;
    }
    .review-card {
        width: 100%;
        margin: 0 10px;
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.6em;
    }
    .reviews-section .carousel-container {
        padding: 0 20px;
    }
    .footer .container {
        flex-direction: column;
    }
    .footer-col {
        min-width: 100%;
        text-align: center;
    }
    .footer-col h4::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .social-links {
        text-align: center;
    }
    .footer-col .social-links a {
        margin: 0 5px 10px;
    }

    /* --- GALLERY MOBILE STYLES (Carrossel) --- */
    .gallery-grid {
        display: none !important; /* Hide grid on mobile */
    }
    .gallery-carousel-wrapper {
        display: block !important; /* Show carousel wrapper on mobile */
        position: relative;
        padding: 0 40px; /* Padding for carousel arrows */
    }
    .gallery-slider-container {
        overflow: hidden;
    }
    .gallery-slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }
    .gallery-item {
        flex: 0 0 100%; /* Each item takes full width of slider */
        padding: 0 5px; /* Spacing between carousel items */
    }
    .gallery-item img {
        width: 100%;
        height: 250px; /* Consistent height for mobile carousel */
        object-fit: cover;
        border-radius: 12px;
        box-shadow: var(--card-shadow);
        cursor: pointer;
    }
    /* Adjust carousel arrow position for mobile gallery */
    .gallery-carousel-wrapper .carousel-arrow.prev-img { left: -5px; }
    .gallery-carousel-wrapper .carousel-arrow.next-img { right: -5px; }
    
    /* Lightbox adjustments for mobile */
    .lightbox-modal .modal-nav.prev-img { left: 5px; }
    .lightbox-modal .modal-nav.next-img { right: 5px; }
    .lightbox-modal-close { top: 10px; right: 15px; font-size: 30px; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo img {
        height: 60px; /* Adjust logo size for very small screens */
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .work-with-us h3, .reviews-section h2, .photo-gallery-section h2, .contact-info-block h3, .about-us-section h2, .contact-us-form-section h3, .about-us-text h3 {
        font-size: 28px;
    }
    .service-card-content h4 {
        font-size: 20px;
    }
    .service-card-content p {
        font-size: 14px;
    }
    .review-card p {
        font-size: 14px;
    }
    .photo-gallery-section p {
        font-size: 15px;
    }
    .contact-info-block ul li {
        font-size: 16px;
    }
    .contact-info-block ul li i {
        font-size: 22px;
    }
}
