/* ---------------------------------------------------------
   GLOBAL RESET & BASE
--------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #222;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

body.dark {
    background: #111;
    color: #e6e6e6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.main-header {
    text-align: center;
    padding: 40px 20px;
}

.header-logo-xl {
    width: 180px;
    margin: 0 auto 10px;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.header-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.header-btn:hover {
    background: #005fcc;
}


/* ---------------------------------------------------------
   INTRO
--------------------------------------------------------- */

.intro {
    text-align: center;
    padding: 40px 0;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}


/* ---------------------------------------------------------
   SLIDESHOW
--------------------------------------------------------- */

.slideshow-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid #007bff;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    text-shadow: 0 0 10px #000;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}


/* ---------------------------------------------------------
   GALLERY
--------------------------------------------------------- */

.gallery {
    padding: 50px 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img {
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}


/* ---------------------------------------------------------
   SERVICES
--------------------------------------------------------- */

.services {
    padding: 50px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #007bff;
    transition: 0.3s;
}

body.dark .service-card {
    background: #222;
}

.service-card:hover {
    transform: translateY(-5px);
}


/* ---------------------------------------------------------
   TESTIMONIALS
--------------------------------------------------------- */

.testimonials {
    padding: 50px 0;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    font-style: italic;
}

body.dark .testimonial-card {
    background: #222;
}


/* ---------------------------------------------------------
   ABOUT
--------------------------------------------------------- */

.about {
    padding: 50px 0;
    text-align: center;
}


/* ---------------------------------------------------------
   CTA BANNER
--------------------------------------------------------- */

.cta-banner {
    background: #007bff;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

.cta-btn {
    background: #fff;
    color: #007bff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #e6e6e6;
}


/* ---------------------------------------------------------
   FLOATING QUOTE BUTTON
--------------------------------------------------------- */

.quote-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #007bff;
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 10px #0004;
    transition: 0.3s;
}

.quote-btn:hover {
    background: #005fcc;
}


/* ---------------------------------------------------------
   MODAL
--------------------------------------------------------- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000a;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    cursor: pointer;
}

.form-frame {
    width: 100%;
    height: 500px;
    border: none;
}


/* ---------------------------------------------------------
   LIGHTBOX
--------------------------------------------------------- */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000d;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    text-shadow: 0 0 10px #000;
}

.lightbox-close {
    top: 20px;
    right: 30px;
}

.lightbox-left {
    left: 40px;
}

.lightbox-right {
    right: 40px;
}


/* ---------------------------------------------------------
   SCROLL REVEAL (THE FIX)
--------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
