/* =========================================================
   1. ROOT VARIABLES
========================================================= */
:root {
    --ww-green: #3CCB3C;
    --ww-white: #ffffff;
    --ww-black: #000000;
    --ww-grey: #111111;
    --ww-grey-soft: #1c1c1c;
}

/* =========================================================
   2. GLOBAL RESET + BODY
========================================================= */
body {
    margin: 0;
    background: var(--ww-black);
    color: var(--ww-white);
    font-family: Arial, sans-serif;
    padding-top: 100px; /* space for sticky header */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================================================
   3. HEADER + NAVIGATION
========================================================= */
.site-header {
    background: var(--ww-grey-soft);
    border-bottom: 2px solid var(--ww-green);
    padding: 12px 0;
	position: relative;
    z-index: 10000;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
	overflow: visible;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.header-taglines {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1.2;
}

.header-taglines .tagline-top {
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
}

.header-taglines .tagline-bottom {
    font-size: 14px;
    color: var(--ww-green);
    text-transform: uppercase;
}

.nav-social-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* MAIN NAV */
.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.main-nav a:hover {
    color: var(--ww-green);
}

/* SMALL SOCIAL ICONS (header) */
.small-social a {
    text-decoration: none !important; /* FIXED underline issue */
}

.small-social img {
    width: 20px;
    height: 20px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.small-social img:hover {
    opacity: 1;
}

/* MOBILE MENU */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--ww-white);
    margin: 4px 0;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #000;
    padding: 20px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    z-index: 10001;
}

.mobile-nav a {
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #222;
}

/* =========================================================
   4. HERO SECTION
========================================================= */
.hero {
    position: relative;
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-bottom: -300px; /* overlap parallax */
    z-index: 2;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 3;
}

.hero-logo img {
    max-width: 240px;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--ww-green);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* BUTTONS */
.btn-green {
    background: var(--ww-green);
    color: #000;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.btn-outline {
    border: 2px solid var(--ww-green);
    color: var(--ww-green);
    padding: 10px 23px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-white {
    background: #fff;
    color: #000;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
}

/* =========================================================
   5. SERVICES SECTION
========================================================= */
.services-preview {
    padding: 60px 0;
    background: #111;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.service-card {
    background: #1a1a1a;
    padding: 25px 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #222;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--ww-green);
}

.service-card p {
    color: #ccc;
}

/* =========================================================
   6. CTA BANNER
========================================================= */
.cta-banner {
    background: var(--ww-green);
    color: #000;
    text-align: center;
    padding: 60px 0;
}

/* =========================================================
   7. CONTACT FORM
========================================================= */
.contact-strip {
    background: #111;
    padding: 60px 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-top {
    display: flex;
    gap: 10px;
}

.field-name { flex: 4; }
.field-phone { flex: 4; }
.field-postcode { flex: 2; }

.form-row-textarea textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    resize: none;
}

.form-row-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.field-email { flex: 5; }
.form-actions { flex: 5; text-align: right; }

.contact-form input {
    padding: 12px;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    border: none;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

/* =========================================================
   8. PARALLAX SECTION
========================================================= */
.ww-parallax {
    position: relative;
    height: 80vh;
    background: url('/img/ww-truck.jpg') center center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 300px; /* match hero overlap */
}

.ww-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.ww-parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

/* =========================================================
   9. FOOTER
========================================================= */
.site-footer {
    background: #0d0d0d;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 10px;
}

.footer-location {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-slogan {
    color: var(--ww-green);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

.site-footer a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--ww-green);
}

.footer-social img {
    width: 32px;
    height: 32px;
    margin: 0 10px;
}

.footer-separator {
    margin-top: 20px;
    font-size: 13px;
    color: #ccc;
}

/* =========================================================
   10. MOBILE BREAKPOINTS
========================================================= */
@media (max-width: 900px) {
    .header-taglines { display: none; }
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-logo img {
        max-width: 180px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons a {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }
}

/* ---------------------------------------------------------
   GALLERY
--------------------------------------------------------- */

.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-grid img,
.gallery-grid video {
    width: 100%;
    border-radius: 6px;
    display: block;
    cursor: pointer;
}

/* BEFORE/AFTER PREVIEW */
.before-after {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.before-after img {
    width: 100%;
    display: block;
}

.before-after .after {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease;
}

.before-after:hover .after {
    clip-path: inset(0 0 0 0);
}

.ba-label {
    position: absolute;
    top: 10px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
}

.before-label { left: 10px; }
.after-label { right: 10px; }

/* PAGINATION */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a.active,
.pagination a:hover {
    background: var(--ww-green);
    color: #000;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox img,
.lightbox video {
    max-width: 100%;
    max-height: 90vh;
    display: none;
}

.lightbox-beforeafter {
    position: relative;
    max-width: 100%;
    max-height: 90vh;
    display: none;
}

.lightbox-beforeafter img {
    width: 100%;
}

.lightbox-beforeafter #lb-after {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0 50% 0 0);
}

/* NAV BUTTONS */
.lightbox-nav {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
}
