:root {
    --blue: #3da9e9;
    --blue-hover: #69c0f1;
    --dark: #080d11;
    --dark-2: #0d151b;
    --card: #131d24;
    --card-2: #101a21;
    --border: rgba(255, 255, 255, 0.07);
    --text: #f3f6f8;
    --muted: #aebbc4;
    --muted-dark: #84939d;
    --footer: #05090c;
    --white: #ffffff;
}

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

html {
    background: var(--dark);
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    padding-top: 78px;
}

img {
    max-width: 100%;
    display: block;
}

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

a:hover {
    color: var(--blue);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 20px;
}

p {
    color: var(--muted);
}

/* =========================================================
   NAVIGATION
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    padding: 0 !important;
    z-index: 999;
    background: rgba(8, 13, 17, 0.94) !important;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: 0.35s ease;
    overflow: visible;
}

.nav-container {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    overflow: visible;
}

.logo img {
    width: 135px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.navigation {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    color: #dce5ea !important;
    font-size: 14px;
    font-weight: 500;
}

.navigation a:hover {
    color: var(--blue) !important;
}

.nav-button,
.button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
}

.nav-button {
    background: var(--blue);
    color: #071017 !important;
    padding: 10px 20px !important;
    border-radius: 10px;
}

.nav-button:hover {
    background: var(--blue-hover);
    color: #071017 !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: transparent !important;
    border: none;
    font-size: 30px;
    color: var(--text) !important;
}

.menu-toggle:hover {
    color: var(--blue) !important;
}
/* =============================
    NAVIGATION UPDATE
============================= */

.header {
    min-height: 82px;
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

.logo span {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.8px;
    color: #999;
    white-space: nowrap;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.navigation a {
    white-space: nowrap;
}

/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {
    position: relative;
    height: 90vh;
    margin-top: -78px;
    padding-top: 78px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: var(--white);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
}

.hero p {
    color: #eef5f8;
    font-size: 20px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 90px 0;
    background: var(--dark);
}

.section:nth-of-type(even) {
    background: var(--dark-2);
}

.section-soft {
    background: linear-gradient(180deg, #101d25 0%, #0b1319 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--text);
    font-size: 40px;
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--blue);
    margin: 18px auto 0;
    border-radius: 50px;
}

.hero .button,
.page-hero .button,
.cta .button {
    margin-top: 30px;
}

.section .button {
    margin-top: 25px;
}

.hero p,
.page-hero p,
.section p {
    margin-bottom: 25px;
}

/* =========================================================
   TRUST / FEATURES / SERVICES
========================================================= */

.trust-bar {
    background: var(--dark-2);
    padding: 50px 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.trust-grid h3 {
    font-size: 40px;
    color: var(--blue);
}

.feature-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card,
.service-card,
.process-card,
.review-card,
.contact-card,
.booking-form,
.area-checker,
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

.feature-card,
.service-card,
.process-card {
    padding: 35px;
    transition: 0.35s ease;
}

.feature-card h3,
.service-card h3,
.process-card h3,
.review-card h3,
.faq-item h3 {
    color: var(--text);
}

.feature-card:hover,
.service-card:hover,
.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(61, 169, 233, 0.35);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}

.service-icon {
    font-size: 25px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
}

.service-card a {
    color: var(--blue);
    font-weight: 700;
}

/* =========================================================
   SPLIT / BEFORE & AFTER
========================================================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split img,
.before-after img {
    transition: 0.4s ease;
}

.split img {
    border-radius: 25px;
}

.split img:hover,
.before-after img:hover {
    transform: scale(1.02);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.before-after img {
    border-radius: 20px;
    height: 350px;
    width: 100%;
    object-fit: cover;
}

/* =========================================================
   PROCESS
========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    text-align: center;
}

.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue);
    color: #071017;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* =========================================================
   REVIEWS
========================================================= */

.reviews-preview {
    background: #0d1820;
    color: var(--text);
    padding: 90px 0;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    padding: 35px;
}

.review-card p {
    color: #b8c4cb;
}

.stars {
    color: var(--blue);
    font-size: 24px;
    margin-bottom: 20px;
}

/* =========================================================
   INTERNAL PAGE HERO
========================================================= */

.page-hero {
    background:
        radial-gradient(circle at 50% 0%, rgba(61, 169, 233, 0.16), transparent 55%),
        linear-gradient(135deg, #0b1116 0%, #10212d 100%);
    padding: 150px 0 100px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    color: var(--text);
    margin-bottom: 18px;
}

.page-hero p {
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
}

.replacement-hero,
.repair-hero {
    background-size: cover;
    background-position: center;
}

/* =========================================================
   BOOKING FORM
========================================================= */

.booking-form {
    max-width: 900px;
    margin: auto;
    padding: 50px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.booking-form h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.contact-card input,
.contact-card textarea,
.checker-box input,
input[type="file"] {
    width: 100%;
    padding: 16px;
    background: #0d151b;
    color: var(--text);
    border: 1px solid #293943;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 20px;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder,
.contact-card input::placeholder,
.contact-card textarea::placeholder,
.checker-box input::placeholder {
    color: #71818c;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.contact-card input:focus,
.contact-card textarea:focus,
.checker-box input:focus,
input[type="file"]:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(61, 169, 233, 0.12);
}

.booking-form select {
    color: var(--text);
}

/* File upload */

input[type="file"] {
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: var(--blue);
    color: #071017;
    border: none;
    padding: 10px 16px;
    margin-right: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
    background: var(--blue-hover);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-card {
    padding: 40px;
}

.contact-item {
    margin-top: 30px;
}

.contact-item h3 {
    color: var(--text);
}

.contact-item p {
    color: var(--muted);
}

/* =========================================================
   FAQ
========================================================= */

.faq-list {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    padding: 30px;
    margin-bottom: 20px;
}

.faq-item h3 {
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--muted);
}

/* =========================================================
   SERVICE AREA CHECKER
========================================================= */

.area-checker {
    padding: 50px;
    text-align: center;
    background: linear-gradient(145deg, #131f27, #0e171d);
}

.area-checker h2 {
    color: var(--text);
}

.checker-box {
    display: flex;
    max-width: 600px;
    margin: 30px auto;
    gap: 15px;
}

.checker-box input {
    flex: 1;
    margin-bottom: 0;
}

#areaResult {
    margin-top: 20px;
    font-weight: 600;
    color: var(--blue);
}

/* =========================================================
   BUTTONS / CTA
========================================================= */

.button.primary {
    background: var(--blue);
    color: #071017;
    border: none;
}

.button.primary:hover {
    background: var(--blue-hover);
    color: #071017;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(61, 169, 233, 0.2);
}

.cta {
    background:
        radial-gradient(circle at center, rgba(61, 169, 233, 0.15), transparent 65%),
        #0d1820;
    color: var(--text);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: var(--text);
    margin-bottom: 30px;
}

.cta p {
    color: var(--muted);
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.35s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 10, 0.94);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: var(--white);
    cursor: pointer;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--footer) !important;
    color: var(--muted);
    padding: 65px 0 0;
    margin-top: 100px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.footer-brand {
    flex: 0 0 260px;
}

.footer-brand img,
.footer-logo {
    width: 135px;
    height: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    color: var(--muted-dark);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer h3,
.footer h4,
.footer-links h3 {
    color: var(--text);
    font-size: 14px;
    margin: 0 0 10px;
}

.footer a,
.footer-links a,
.footer-links span {
    color: var(--muted-dark);
    font-size: 13px;
    text-decoration: none;
}

.footer a:hover,
.footer-links a:hover {
    color: var(--blue);
}

.footer hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 35px 0;
}

.footer-bottom {
    margin-top: 55px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: #596871;
    font-size: 12px;
}

/* =========================================================
   ANIMATIONS
========================================================= */

.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
    .feature-grid,
    .service-grid,
    .reviews-grid,
    .process-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }

    .header {
        height: 68px;
    }

    .nav-container {
        height: 68px;
    }

    .logo img {
        width: 125px;
        max-height: 54px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        background: #0b1116 !important;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .navigation a {
        color: #e5edf1 !important;
    }

    .hero {
        margin-top: -68px;
        padding-top: 68px;
        min-height: 80vh;
        height: auto;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-buttons,
    .checker-box {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .feature-grid,
    .service-grid,
    .reviews-grid,
    .process-grid,
    .gallery-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .booking-form,
    .contact-card,
    .area-checker {
        padding: 30px 24px;
    }

    .page-hero {
        padding: 120px 0 80px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 45px;
    }

    .footer-brand {
        flex: none;
        width: 100%;
    }

    .footer-links {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 38px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .close-lightbox {
        top: 20px;
        right: 25px;
        font-size: 42px;
    }
}
/* =============================
   LARGE HEADER
============================= */

.header {
    min-height: 105px;
}

.nav-container {
    min-height: 105px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.logo img {
    width: 205px;
    height: auto;
    display: block;
}

.logo span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
    color: #aaa;
    white-space: nowrap;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.navigation a {
    white-space: nowrap;
}
/* =============================
   FORM SUCCESS MESSAGE
============================= */

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h2 {
    margin-bottom: 15px;
}

.form-success p {
    color: #aaa;
    margin-bottom: 8px;
}
/* =============================
   FORM SUCCESS MESSAGE
============================= */

.form-success {
    text-align: center;
    padding: 45px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;

    font-size: 28px;
}

.form-success h2 {
    margin-bottom: 15px;
}

.form-success p {
    color: #999;
    margin-bottom: 8px;
}
/* =============================
   CENTRAL GALLERY VIEWER
============================= */

.gallery-viewer {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    max-width: 1000px;

    margin: 0 auto;
}


.gallery-main {
    position: relative;

    width: 100%;

    max-width: 820px;

    aspect-ratio: 16 / 10;

    background: #080808;

    border-radius: 12px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);
}


.gallery-main img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    cursor: pointer;
}


.gallery-arrow {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.15);

    background: #111;

    color: #fff;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    transition: 0.2s ease;
}


.gallery-arrow:hover {
    transform: scale(1.08);
}


.gallery-counter {
    position: absolute;

    bottom: 15px;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 13px;

    background: rgba(0,0,0,0.7);

    border-radius: 20px;

    font-size: 13px;

    color: #fff;
}


.gallery-dots {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 20px;
}


.gallery-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #555;

    cursor: pointer;
}


.gallery-dot.active {
    background: #fff;

    transform: scale(1.25);
}


@media (max-width: 700px) {

    .gallery-viewer {
        gap: 8px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;

        font-size: 27px;
    }

    .gallery-main {
        aspect-ratio: 4 / 3;
    }

}
