/* GLOBAL -------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #222;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
    background: #111;
    color: #eee;
}

/* HEADER -------------------------------------------------- */
.main-header {
    text-align: center;
    padding: 0;
}

.header-logo-xl {
    width: 800px;
    max-width: 95%;
    margin: 0 auto;
}

.tagline {
    margin: 4px 0 6px 0;
    font-size: 1.25rem;
    color: #002699;
}

.header-buttons {
    margin-top: 4px;
}

.header-btn {
    background: #0033cc;
    color: white;
    border: none;
    padding: 10px 22px;
    margin: 0 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.header-btn:hover {
    background: #002699;
}

/* CONTAINER -------------------------------------------------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* INTRO -------------------------------------------------- */
.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 1.8rem;
    color: #0033cc;
    margin-bottom: 10px;
}

.intro p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* SLIDESHOW -------------------------------------------------- */
.slideshow-section {
    margin-bottom: 40px;
}

.slideshow-container {
    width: 100%;
    max-width: 900px;
    height: 380px;
    background: white;
    border: 2px solid #0033cc;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 0 auto;
}

.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    inset: 0;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

/* SLIDESHOW ARROWS -------------------------------------------------- */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #0033cc;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.slideshow-arrow:hover {
    opacity: 1;
    text-shadow: 0 0 12px rgba(0, 51, 204, 0.8);
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* GALLERY -------------------------------------------------- */
.gallery {
    margin: 50px 0;
    text-align: center;
}

.gallery h2 {
    color: #0033cc;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #0033cc;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 14px rgba(0, 51, 204, 0.5);
}

/* SERVICES -------------------------------------------------- */
.services {
    margin: 50px 0;
    text-align: center;
}

.services h2 {
    color: #0033cc;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    background: white;
    border: 2px solid #0033cc;
    border-radius: 10px;
    padding: 18px 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.service-card h3 {
    margin-top: 0;
    color: #0033cc;
    margin-bottom: 8px;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

.service-card:hover {
    box-shadow: 0 0 16px rgba(0, 51, 204, 0.5);
    transform: translateY(-2px);
}

/* TESTIMONIALS -------------------------------------------------- */
.testimonials {
    margin: 50px 0;
    text-align: center;
}

.testimonials h2 {
    color: #0033cc;
    margin-bottom: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-size: 0.95rem;
}

.testimonial-card span {
    font-size: 0.9rem;
    color: #0033cc;
}

/* ABOUT -------------------------------------------------- */
.about {
    margin: 50px 0;
    text-align: center;
}

.about h2 {
    color: #0033cc;
    margin-bottom: 15px;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: #444;
}

/* CTA -------------------------------------------------- */
.cta-banner {
    margin: 50px 0 30px;
    background: #0033cc;
    color: white;
    text-align: center;
    padding: 30px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.cta-btn {
    background: white;
    color: #0033cc;
    border: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.cta-btn:hover {
    background: #e6e6ff;
}

/* FLOATING QUOTE BUTTON -------------------------------------------------- */
.quote-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0033cc;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1000;
}

.quote-btn:hover {
    background: #002699;
}

/* MODAL -------------------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    max-width: 700px;
    width: 95%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    cursor: pointer;
    color: #0033cc;
}

.form-frame {
    width: 100%;
    height: 600px;
    border: none;
}

/* LIGHTBOX -------------------------------------------------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    border: 3px solid #0033cc;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-left { left: 30px; }
.lightbox-right { right: 30px; }

/* FOOTER -------------------------------------------------- */
footer {
    width: 100%;
    background: #0033cc;
    color: white;
    text-align: center;
    padding: 25px 10px;
    margin-top: 50px;
    font-size: 1rem;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

footer a:hover {
    color: #cdd9ff;
}

/* ---------------------------------------------------------
   MOBILE OPTIMIZATION — ELECTRIC BLUE THEME
--------------------------------------------------------- */

@media (max-width: 900px) {

    /* Container */
    .container {
        padding: 15px;
    }

    /* Header */
    .header-logo-xl {
        width: 100%;
        max-width: 420px;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .header-btn {
        padding: 8px 18px;
        font-size: 0.95rem;
        margin: 4px;
    }

    /* Slideshow */
    .slideshow-container {
        height: 260px;
        max-width: 100%;
    }

    .slideshow-arrow {
        font-size: 32px;
        padding: 6px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-grid img {
        border-radius: 8px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 16px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* About */
    .about p {
        padding: 0 10px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 22px 12px;
    }

    .cta-btn {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    /* Floating Quote Button */
    .quote-btn {
        bottom: 18px;
        right: 18px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 95%;
    }

    .form-frame {
        height: 520px;
    }

    /* Lightbox */
    .lightbox img {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox-arrow {
        font-size: 40px;
    }
}

@media (max-width: 500px) {

    /* Header */
    .header-logo-xl {
        max-width: 320px;
    }

    .tagline {
        font-size: 1rem;
    }

    /* Slideshow */
    .slideshow-container {
        height: 200px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-banner h2 {
        font-size: 1.3rem;
    }

    .cta-banner p {
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        font-size: 0.9rem;
        padding: 20px 8px;
    }
}
/* ---------------------------------------------------------
   GLOBAL ANIMATION SETTINGS — SILKY EASE
--------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

:root {
    --ease-silky: cubic-bezier(0.25, 0.1, 0.25, 1);
    --blue-glow: 0 0 12px rgba(0, 51, 204, 0.25);
    --blue-glow-strong: 0 0 18px rgba(0, 51, 204, 0.35);
}

/* ---------------------------------------------------------
   SECTION REVEAL ON SCROLL (Luxury Fade + Upward Drift)
--------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s var(--ease-silky),
                transform 0.9s var(--ease-silky);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Auto-apply reveal to major sections */
.intro,
.slideshow-section,
.gallery,
.services,
.testimonials,
.about,
.cta-banner {
    opacity: 0;
    transform: translateY(20px);
}

/* ---------------------------------------------------------
   BUTTON INTERACTIONS (Luxury Press + Subtle Glow)
--------------------------------------------------------- */

button,
.header-btn,
.cta-btn,
.quote-btn {
    transition: transform 0.2s var(--ease-silky),
                box-shadow 0.3s var(--ease-silky),
                background 0.3s var(--ease-silky);
}

button:active,
.header-btn:active,
.cta-btn:active,
.quote-btn:active {
    transform: scale(0.96);
}

button:hover,
.header-btn:hover,
.cta-btn:hover {
    box-shadow: var(--blue-glow);
}

/* ---------------------------------------------------------
   FLOATING QUOTE BUTTON — BREATHING PULSE
--------------------------------------------------------- */

@keyframes breathe {
    0% { transform: scale(1); box-shadow: none; }
    50% { transform: scale(1.03); box-shadow: var(--blue-glow); }
    100% { transform: scale(1); box-shadow: none; }
}

.quote-btn {
    animation: breathe 4s ease-in-out infinite;
}

/* ---------------------------------------------------------
   SLIDESHOW — FADE + GENTLE ZOOM (Cinematic Luxury)
--------------------------------------------------------- */

.slide {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1.2s var(--ease-silky),
                transform 1.2s var(--ease-silky);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* ---------------------------------------------------------
   GALLERY HOVER — SUBTLE BLUE GLOW + LIFT
--------------------------------------------------------- */

.gallery-grid img {
    transition: transform 0.25s var(--ease-silky),
                box-shadow 0.35s var(--ease-silky);
}

.gallery-grid img:hover {
    transform: translateY(-4px);
    box-shadow: var(--blue-glow);
}

/* ---------------------------------------------------------
   SERVICE & TESTIMONIAL CARDS — LUXURY LIFT
--------------------------------------------------------- */

.service-card,
.testimonial-card {
    transition: transform 0.25s var(--ease-silky),
                box-shadow 0.35s var(--ease-silky);
}

.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--blue-glow);
}

/* ---------------------------------------------------------
   LIGHTBOX — ZOOM-IN + FADE (Premium Gallery Feel)
--------------------------------------------------------- */

@keyframes lightboxZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
        box-shadow: none;
    }
    to {
        opacity: 1;
        transform: scale(1);
        box-shadow: var(--blue-glow-strong);
    }
}

.lightbox.active img {
    animation: lightboxZoom 0.45s var(--ease-silky);
}

/* ---------------------------------------------------------
   DARK MODE — SMOOTH TRANSITION
--------------------------------------------------------- */

body,
header,
footer,
.service-card,
.testimonial-card,
.gallery-grid img,
.slideshow-container {
    transition: background 0.35s var(--ease-silky),
                color 0.35s var(--ease-silky),
                border-color 0.35s var(--ease-silky),
                box-shadow 0.35s var(--ease-silky);
}

/* ---------------------------------------------------------
   SECTION DIVIDER GLOW (Subtle Electric Blue)
--------------------------------------------------------- */

.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 51, 204, 0.4),
        transparent
    );
    opacity: 0;
    transition: opacity 1s var(--ease-silky);
}

.section-divider.visible {
    opacity: 1;
}

/* ---------------------------------------------------------
   SCROLL REVEAL SCRIPT HOOK
--------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .reveal,
    .intro,
    .slideshow-section,
    .gallery,
    .services,
    .testimonials,
    .about,
    .cta-banner {
        will-change: opacity, transform;
    }
}
