
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================
   1. ROOT & GLOBAL STYLES
========================= */
:root {
    --green: #2d6749;
    --dark: #152d25;
    --lime: #d9ee78;
    --cream: #f7f6ef;
    --muted: #68746d;
    --line: #e3e8df;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: #1c2922;
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand {
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

/* =========================
   2. TOP BAR
========================= */
.topbar {
    background: var(--dark);
    color: #eaf1e8;
    font-size: 12px;
    padding: 8px 0;
}

/* =========================
   3. NAVBAR & LOGO
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #edf0eb;
}

.navbar .container {
    min-height: 76px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 5px 0;
    color: var(--dark) !important;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-logo {
    display: block;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
    object-position: center;
}

.brandmark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--lime);
    font-weight: 900;
}

.brand-sub {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.navbar-toggler {
    padding: 8px 11px;
    border: 1px solid #dce4d9;
    border-radius: 9px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px #2d674916 !important;
}

.nav-link {
    padding: 10px 12px !important;
    color: #34453a !important;
    font-size: 13px;
    font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green) !important;
}

/* =========================
   4. BUTTONS
========================= */
.btn-brand,
.btn-outline-brand,
.btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 9px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-brand {
    border: 1px solid var(--dark);
    background: var(--dark);
    color: #fff;
}

.btn-brand:hover {
    transform: translateY(-1px);
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.btn-outline-brand {
    border: 1px solid #dce4d9;
    background: #fff;
    color: var(--dark);
}

.btn-outline-brand:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-lime {
    border: 1px solid var(--lime);
    background: var(--lime);
    color: var(--dark);
}

/* =========================
   5. SECTION LABELS
========================= */
.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow::before {
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-right: 9px;
    background: #ed8d52;
    content: "";
    vertical-align: middle;
}

/* =========================
   6. HOME HERO
========================= */
.hero {
    padding: 65px 0;
    background: var(--cream);
}

.hero h1 {
    color: var(--dark);
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 800;
}

.hero h1 em {
    color: var(--green);
    font-style: normal;
}

.hero p {
    max-width: 540px;
    color: var(--muted);
}

.hero-image,
.cover-image {
    display: block;
    width: 100%;
    height: 430px;
    border-radius: 22px;
    object-fit: cover;
}

.hero-image {
    box-shadow: 18px 18px 0 var(--lime);
}

/* =========================
   7. GENERAL SECTIONS
========================= */
.section-pad {
    padding: 80px 0;
}

.section-title {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-title h2 {
    color: var(--dark);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
}

.section-title p,
.muted {
    color: var(--muted);
}

.soft-bg {
    background: #f7f8f3;
}

/* =========================
   8. FEATURE CARDS
========================= */
.feature-card,
.product-card,
.review-card,
.form-card,
.step-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.feature-card {
    padding: 25px;
}

.feature-icon {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 12px;
    background: #e9f1d6;
    font-size: 21px;
}

/* =========================
   9. PRODUCT CARDS
========================= */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px #1c3a2510;
}

.product-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.product-content {
    padding: 22px;
}

.product-content h3 {
    color: var(--dark);
    font-size: 20px;
    font-weight: 800;
}

.product-content p {
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

/* =========================
   10. INNER PAGE BANNER
========================= */
.page-hero {
    padding: 60px 0;
    background: var(--cream);
}

.page-hero h1 {
    color: var(--dark);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
}

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

/* =========================
   11. ABOUT PAGE
========================= */
.about-image {
    display: block;
    width: 100%;
    height: 420px;
    border-radius: 20px;
    object-fit: cover;
}

.check-item {
    display: flex;
    gap: 10px;
    margin-bottom: 13px;
    font-size: 13px;
    font-weight: 700;
}

.check-item span {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    border-radius: 7px;
    background: #e9f1d6;
    color: var(--green);
    text-align: center;
}

/* =========================
   12. TESTIMONIALS
========================= */
.review-card {
    padding: 25px;
    border-color: #365246;
    background: var(--dark);
    color: #fff;
}

.stars {
    color: var(--lime);
    letter-spacing: 3px;
}

.review-card blockquote {
    margin: 16px 0 22px;
    color: #e3ebe5;
    font-size: 14px;
}

.reviewer {
    font-size: 12px;
    font-weight: 800;
}

.reviewer small {
    display: block;
    color: #b5c6ba;
    font-weight: 400;
}

/* =========================
   13. ENQUIRY FORM
========================= */
.form-card {
    padding: 28px;
    box-shadow: 0 15px 45px #233a1c08;
}

.form-label {
    font-size: 12px;
    font-weight: 800;
}

.form-control,
.form-select {
    padding: 12px;
    border-color: #dfe5db;
    border-radius: 9px;
    font-size: 13px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.2rem #2d674916;
}

.contact-box {
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 14px;
    background: #e9efdf;
}

/* =========================
   14. FOOTER
========================= */
.site-footer {
    padding: 50px 0 18px;
    background: #10241d;
    color: #e9f0e9;
}

.site-footer h5 {
    margin-bottom: 17px;
    font: 700 14px "Manrope", sans-serif;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #b9c9bf;
    font-size: 12px;
}

.site-footer a:hover {
    color: var(--lime);
}

.footer-links {
    display: grid;
    gap: 9px;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 17px;
    border-top: 1px solid #2c4036;
    color: #9db0a3;
    font-size: 11px;
}

/* =========================
   15. MOBILE BOTTOM BAR
========================= */
.mobile-bar {
    display: none;
}

/* =========================
   16. TABLET & MOBILE
========================= */
@media (max-width: 991.98px) {
    .navbar .container {
        min-height: 70px;
    }

    .navbar-collapse {
        padding: 12px 0 18px;
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 3px !important;
    }

    .navbar-nav .btn-brand {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 75px;
    }

    .navbar .container {
        min-height: 66px;
    }

    .navbar-brand {
        gap: 9px;
        font-size: 16px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brandmark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand-sub {
        margin-top: 3px;
        font-size: 9px;
        letter-spacing: 0.09em;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-image {
        height: 320px;
        margin-top: 20px;
        box-shadow: 10px 10px 0 var(--lime);
    }

    .section-pad {
        padding: 58px 0;
    }

    .page-hero {
        padding: 45px 0;
    }

    .about-image {
        height: 300px;
    }

    .form-card {
        padding: 20px;
    }

    .site-footer {
        padding-bottom: 85px;
    }

    .mobile-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: flex;
        gap: 9px;
        padding: 9px 12px;
        border-top: 1px solid var(--line);
        background: #fff;
    }

    .mobile-bar .btn {
        flex: 1;
        min-width: 0;
        padding: 11px 8px;
    }
}

@media (max-width: 380px) {
    .navbar-brand {
        gap: 7px;
        font-size: 14px;
    }

    .brand-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand-sub {
        font-size: 8px;
    }

    .navbar-toggler {
        padding: 6px 8px;
    }
}
/* Hero layout: image left, content right */
.hero .row { align-items: center; }
.hero .hero-image {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: 18px 18px 0 var(--lime);
}

/* Align logo and brand text */
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    line-height: 1.15;
    white-space: nowrap;
}
.brand-logo {
    display: block;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 991.98px) {
    .hero .row { row-gap: 30px !important; }
}
@media (max-width: 767px) {
    .hero { padding: 45px 0; }
    .hero .hero-image {
        height: 320px;
        margin-top: 0;
        box-shadow: 10px 10px 0 var(--lime);
    }
    .brand-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}
@media (max-width: 380px) {
    .brand-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}


/* =====================================================
   MOBILE HERO CAROUSEL: SHOW THE COMPLETE IMAGE
   The source slides are landscape images. On phones, let
   each slide use its natural image height instead of the
   fixed 320px crop used on larger screens.
===================================================== */
@media screen and (max-width: 767px) {
    .hero #heroCarousel,
    .hero #heroCarousel .carousel-inner,
    .hero #heroCarousel .carousel-item {
        height: auto !important;
        min-height: 0 !important;
    }

    .hero #heroCarousel .carousel-item > img.hero-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: 0 !important;
    }
}


/* =====================================================
   FLOATING SOCIAL MEDIA BAR
   Added in footer.php so it appears across all pages.
===================================================== */
.floating-social {
    position: fixed;
    top: 50%;
    right: 14px;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transform: translateY(-50%);
}

.floating-social__link {
    position: relative;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 5px 16px rgba(16, 36, 29, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-social__link:hover,
.floating-social__link:focus-visible {
    color: #fff;
    transform: translateX(-4px);
    box-shadow: 0 7px 20px rgba(16, 36, 29, 0.28);
}

.floating-social__link:focus-visible {
    outline: 3px solid #d9ee78;
    outline-offset: 3px;
}

.floating-social__link svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.floating-social__link--whatsapp { background: #25D366; }
.floating-social__link--facebook { background: #1877F2; }
.floating-social__link--instagram { background: #C13584; }
.floating-social__link--youtube { background: #FF0000; }

.floating-social__label {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    padding: 6px 10px;
    border-radius: 6px;
    background: #152d25;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(5px, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.floating-social__link:hover .floating-social__label,
.floating-social__link:focus-visible .floating-social__label {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

@media (max-width: 767px) {
    .floating-social {
        right: 8px;
        gap: 8px;
    }

    .floating-social__link {
        width: 40px;
        height: 40px;
    }

    .floating-social__link svg {
        width: 19px;
        height: 19px;
    }
}

@media (max-height: 520px) {
    .floating-social {
        gap: 5px;
    }

    .floating-social__link {
        width: 36px;
        height: 36px;
    }
}

/* =====================================================
   MOBILE FLOATING SOCIAL BAR FIX
   Keep all four social icons on the right edge on phones.
   Compact sizing prevents overlap with page content and
   the fixed Call Us / Enquire Now bottom bar.
===================================================== */
@media (max-width: 767px) {
    .floating-social {
        position: fixed !important;
        top: 46% !important;
        right: calc(6px + env(safe-area-inset-right, 0px)) !important;
        bottom: auto !important;
        z-index: 1025 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: auto !important;
        max-width: none !important;
        padding: 5px 4px !important;
        border: 1px solid rgba(21, 45, 37, 0.10);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 3px 14px rgba(16, 36, 29, 0.14);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        transform: translateY(-50%) !important;
    }

    .floating-social__link {
        display: flex !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 7px rgba(16, 36, 29, 0.16) !important;
        transform: none !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .floating-social__link svg {
        display: block !important;
        width: 16px !important;
        height: 16px !important;
    }

    /* Hover labels are not useful on touch screens and can
       extend beyond the viewport, so keep them desktop-only. */
    .floating-social__label {
        display: none !important;
    }

    .floating-social__link:hover,
    .floating-social__link:focus-visible {
        transform: none !important;
    }
}

@media (max-width: 380px) {
    .floating-social {
        right: calc(4px + env(safe-area-inset-right, 0px)) !important;
        gap: 5px !important;
        padding: 4px 3px !important;
    }

    .floating-social__link {
        flex-basis: 29px !important;
        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;
    }

    .floating-social__link svg {
        width: 15px !important;
        height: 15px !important;
    }
}

@media (max-width: 767px) and (max-height: 520px) {
    .floating-social {
        top: 43% !important;
        gap: 4px !important;
    }

    .floating-social__link {
        flex-basis: 27px !important;
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
    }
}

/* =====================================================
   WALLPOWER PRODUCT IMAGE MAGNIFIER
   Applies only to images inside .product-card and the
   .product-detail-image on product detail pages.
===================================================== */
.wp-product-zoom-area {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}

.wp-product-zoom-area--card {
    height: 230px;
}

.wp-product-zoom-area--card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-product-zoom-area--detail {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    max-height: 540px;
}

.wp-product-zoom-area--detail > img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 540px;
    height: auto;
    object-fit: contain;
}

.wp-product-zoom-lens {
    position: absolute;
    z-index: 4;
    display: block;
    border: 2px solid rgba(255, 255, 255, .98);
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    box-shadow: 0 1px 12px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(21, 45, 37, .22);
    pointer-events: none;
}

.wp-product-zoom-preview {
    position: fixed;
    z-index: 3000;
    display: block;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 14px;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 12px 38px rgba(14, 28, 20, .28);
    pointer-events: none;
}

/* Mobile tap-to-zoom viewer */
.wp-product-zoom-open {
    overflow: hidden !important;
    touch-action: none;
}

.wp-product-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    background: rgba(10, 18, 14, .97);
    color: #fff;
}

.wp-product-zoom-modal__header {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 10px;
    font-size: 15px;
    font-weight: 700;
}

.wp-product-zoom-modal__close,
.wp-product-zoom-modal__controls button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.wp-product-zoom-modal__viewport {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.wp-product-zoom-modal__image {
    display: block;
    flex: 0 0 auto;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    transform-origin: center center;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.wp-product-zoom-modal__hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: fit-content;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    padding: 7px 12px;
    border-radius: 30px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
    text-align: center;
    pointer-events: none;
}

.wp-product-zoom-modal__controls {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 10px;
}

.wp-product-zoom-modal__controls button {
    font-size: 24px;
}

.wp-product-zoom-modal__level {
    min-width: 58px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 767px) {
    .wp-product-zoom-area--card {
        height: 220px;
    }

    .wp-product-zoom-area--detail {
        min-height: 220px;
    }

    .wp-product-zoom-preview,
    .wp-product-zoom-lens {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wp-product-zoom-modal__image {
        will-change: auto;
    }
}
