/* =========================================
   1. GLOBAL VARIABLES & BASE STYLES
========================================= */
:root {
    --primary: #f59e0b;       /* Yellow-Orange */
    --primary-hover: #d97706; /* Darker Yellow-Orange */
    --dark: #111827;          /* Dark Gray/Black */
    --text-gray: #4b5563;     /* Medium Gray for paragraphs */
    --white: #ffffff;
    --bg-light: #f4f4f4;
    --container-width: 1200px;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Prevents the navbar from covering the section titles */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    background-color: var(--bg-light);
}


/* --- Shared Container Logic (Simplifies Code) --- */
.page-container, .services-container, .why-container, 
.contact-container, .map-container, .footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}


/* =========================================
   2. NAVIGATION BAR
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    z-index: 100;
    transition: background-color 0.3s ease, padding 0.3s ease;
}


.nav-scrolled {
    background-color: var(--dark);
    padding: 16px 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.logo a {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 56px;
}


.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}


.nav-links a:hover {
    color: #facc15;
}


.btn-call {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #facc15;
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.btn-call:hover {
    background-color: #fde047;
    transform: translateY(-2px);
}


/* =========================================
   3. HERO SECTION
========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Crucial: stops the zooming images from spilling outside the section */
    background-color: var(--dark);
}

/* The individual slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default */
    transform: scale(1);
    /* 1s fade for opacity, 6s slow continuous zoom for scale */
    transition: opacity 1s ease-in-out, transform 6s linear; 
    z-index: 0;
}

/* The currently visible slide */
.hero-slide.active {
    opacity: 1;
    transform: scale(1.1); /* Zooms in by 10% slowly */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    width: 100%;
    max-width: var(--container-width);
    padding: 0 80px;
    text-align: left;
    transition: opacity 0.2s ease-in-out;
}


.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.1;
}


.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.slider-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-50%) scale(1.1);
}


.left-btn { left: 32px; }
.right-btn { right: 32px; }


.hero-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.hero-call-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.hero-slide:nth-child(1) {
    border: 10px solid red;
}

.hero-slide:nth-child(2) {
    border: 10px solid blue;
}

.hero-slide:nth-child(3) {
    border: 10px solid green;
}


/* =========================================
   4. ABOUT SECTION
========================================= */
.page-container {
    padding: 120px 24px 60px 24px;
}


.about-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.about-content {
    display: flex;
    gap: 64px;
    margin-top: 56px;
}


.about-title { flex: 1; }
.about-title h2 {
    font-size: 1.8rem;
    font-weight: bolder;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}


.title-underline {
    width: 60px;
    height: 4px;
    background-color: #f97316;
    border-radius: 2px;
}


.about-details { flex: 2; }
.about-details p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}


.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}


.about-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #1f2937;
}


.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #ffae22; 
    border-radius: 50%;
    flex-shrink: 0;
}


/* --- Extended About Section --- */
.about-extended {
    margin-top: 80px;
    border-top: 1px solid #e5e7eb;
    padding-top: 60px;
}


.gallery-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}


.gallery-scroller::-webkit-scrollbar {
    display: none;
}


.gallery-item {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.extended-text {
    margin-top: 48px;
    text-align: left;
}


.extended-text h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 16px;
}


.extended-text p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
}


.extended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}


.grid-item {
    background-color: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f97316;
}


.grid-item h4 {
    font-size: 3.0rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 12px;
}


.grid-item .subtitle-bold {
    font-weight: bold;
    color: #f97316;
    font-size: 1.1rem;
    margin-bottom: 4px;
}


.grid-item .subtitle {
    color: #6b7280;
    font-size: 1rem;
}


/* =========================================
   5. SERVICES SECTION
========================================= */
.services-section {
    background-color: var(--primary);
    padding: 100px 24px;
    width: 100%;
}


.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 64px;
}


.services-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    letter-spacing: 1px;
}


.title-underline-white {
    width: 80px;
    height: 4px;
    background-color: var(--white);
    border-radius: 2px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}


.service-card {
    background-color: #fff5e7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}


.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.service-content {
    padding: 24px;
    text-align: left;
}


.service-content h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 12px;
}


.service-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}


/* =========================================
   6. GALLERY SECTION
========================================= */
.gallery-section {
    text-align: left;
}


.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligned left */
    margin-bottom: 48px;
}


.gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 700 !important;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: 1px;
}


.gallery-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    margin-top: 16px;
    max-width: 600px;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.2s ease-in-out;
}


.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.gallery-grid img:hover {
    transform: scale(1.03);
}


.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}


.gal-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #000000;
    border: none;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.gal-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}


/* =========================================
   7. WHY CHOOSE US SECTION
========================================= */
.why-section {
    position: relative;
    width: 100%;
    padding: 120px 24px;
    background-image: url('/images/MZ_Why_Choose_Us_banner.webp');
    background-size: cover;
    background-position: center;
}


.why-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}


.why-container {
    position: relative;
    z-index: 10;
}


.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


.why-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--white);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: left;
    color: var(--white);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.why-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.1);
}


.why-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}


.why-card h4 {
    font-size: 1.5rem;
    font-weight: 700 !important;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}


.why-card p {
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.7;
}


/* =========================================
   8. CONTACT SECTION
========================================= */
.contact-section {
    background-color: var(--white);
    padding-top: 100px;
    width: 100%;
}


.contact-header {
    text-align: left;
    margin-bottom: 48px;
}


.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700 !important;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: 1px;
}


.title-underline-left {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
    margin-bottom: 24px;
}


.contact-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 24px;
}


.connect-text {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--dark);
}


.app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 50%;
    color: var(--text-gray);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}


.app-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}


.contact-card {
    background-color: var(--primary);
    color: #000000;
    padding: 48px 32px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}


.contact-card:hover {
    transform: translateY(-5px);
}


.card-icon {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}


.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 700 !important;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}


.contact-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}


.contact-link {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}


.contact-link:hover {
    text-decoration: underline;
    opacity: 0.7;
}


.map-container {
    padding: 0 24px 80px 24px;
    line-height: 0;
}


.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    filter: grayscale(20%);
}


/* =========================================
   9. FOOTER SECTION
========================================= */
.footer-section {
    position: relative;
    width: 100%;
    /* Footer Background Image */
    background-image: url('/images/MZ_Footer_banner_1920x1080.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff; /* Forces all text to be white */
}


.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.92); /* Very dark gray overlay */
    z-index: 1;
}


.footer-container {
    position: relative;
    z-index: 10; /* Keeps content above the dark overlay */
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 24px 24px;
}


/* Flexbox container to split Left and Right */
.footer-content {
    display: flex;
    gap: 64px; /* Space between the left and right sides */
    margin-bottom: 64px;
}


/* Left Side: Exact 65% Width */
.footer-left {
    flex: 0 0 65%;
}


.footer-left h3 {
    font-size: 2rem;
    font-weight: 700 !important;
    margin-bottom: 16px;
    letter-spacing: 1px;
}


.footer-left p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e7eb; /* Slightly off-white for readability */
    max-width: 90%;
}


/* Right Side: Exact 35% Width */
.footer-right {
    flex: 0 0 calc(35% - 64px); /* 35% minus the gap space */
}


.footer-right h4 {
    font-size: 1.2rem;
    font-weight: 700 !important;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}


.footer-right h4:not(:first-child) {
    margin-top: 32px; /* Space above the second header ("FIND US") */
}


.footer-details {
    font-size: 1rem;
    line-height: 1.7;
    color: #e5e7eb;
}


/* Footer Links */
.footer-details a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-details a:hover {
    color: #f59e0b; /* Turns yellow-orange on hover */
    text-decoration: underline;
}


.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparent white circle */
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.footer-icon:hover {
    background-color: #f59e0b; /* Circle turns yellow-orange on hover */
    transform: translateY(-3px);
}


/* Bottom Middle Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white dividing line */
}


.footer-bottom p {
    font-size: 0.9rem;
    color: #9ca3af; /* Gray text so it doesn't distract from the main content */
}


/* --- Mobile Responsiveness for Footer --- */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column; /* Stacks the left and right sides vertically */
        gap: 48px;
    }
    
    .footer-left, .footer-right {
        flex: 1 1 100%; /* Both sections take up 100% width on phones */
    }
    
    .footer-left p {
        max-width: 100%;
    }
}

/* =========================================
   10. UNIFIED MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 900px) {
    /* Navbar & Hero */
    .nav-links { display: none; }
    .navbar { padding: 16px 24px; }
    .hero-content h1 { font-size: 2.5rem; }
    .slider-btn { padding: 12px 16px; font-size: 18px; }
    .left-btn { left: 16px; }
    .right-btn { right: 16px; }
    
    /* About */
    .about-content { flex-direction: column; gap: 32px; }
    .about-hero-image { height: 300px; border-radius: 24px; }
    .extended-grid { grid-template-columns: 1fr; }
    .gallery-item { width: 280px; height: 200px; }


    /* Grids */
    .services-grid, .gallery-grid, .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
    .footer-left, .footer-right {
        flex: 1 1 100%;
    }
    .footer-left p { max-width: 100%; }
}


@media (max-width: 768px) {
    /* Why Choose Us & Contact Grids */
    .why-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .why-section {
        background-attachment: scroll; 
    }
    .map-container iframe {
        height: 350px;
    }
}


@media (max-width: 600px) {
    /* Services & Gallery Grids */
    .services-grid, .gallery-grid {
        grid-template-columns: 1fr; 
    }
    .services-header h2 { font-size: 2rem; }
    .gallery-grid img { height: 200px; }
}

/* =========================================
   11. IMAGE LIGHTBOX / ZOOM
========================================= */

/* Turns the mouse into a magnifying glass */
.zoomable {
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.zoomable:hover {
    opacity: 0.85; /* Dims slightly to tell the user it can be clicked */
}

/* Lightbox Background */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 99999; /* Always on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.show {
    opacity: 1;
}

/* The popup image */
.lightbox-content {
    max-width: 90%;
    max-height: 85vh; /* Prevents it from going off-screen vertically */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: scale(0.8); /* Starts small for the animation */
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1); /* Zooms up to full size */
}

/* The Close Button (X) */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 100000;
}

.lightbox-close:hover {
    color: var(--primary); /* Turns Yellow-Orange on hover */
}

/* =========================================
   12. WHATSAPP FLOATING BUTTON
========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Official WhatsApp Green */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Keeps it on top of all other elements */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px); /* Lifts up slightly when hovered */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Mobile Adjustment for WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}






