﻿html {
  font-size: 14px;
}

/* Prevent horizontal scrollbar on all viewports - ensure layout fits width */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
:root {
    --navbar-height: 80px;
}
@media (min-width: 992px) {
    :root {
        --navbar-height: 108px;
    }
}

#wc-site-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--navbar-height);
}

#wc-main-content {
    flex: 1 0 auto;
}
/* Use border-box so paddings/margins do not create unexpected overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Navbar Logo Image */
.wc-navbar__logo-img {
    height: 38px;
    width: 38px;
    object-fit: cover;
    border-radius: 50%;
    margin-inline-end: 8px;
    vertical-align: middle;
}



/* ?? Navbar Icons (Cart, Wishlist, Login) ??? */
.wc-navbar-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 1.15rem;
    padding: 6px 8px;
    border-radius: 8px;
    transition: color .2s, background .2s;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.wc-navbar-icon:hover { 
    color: var(--wc-gold, #c9a84c); 
    background: rgba(201,168,76,.15);
}

.wc-cart-icon { gap: 6px; }

.wc-cart-badge {
    position: absolute;
    top: -16px;
    inset-inline-end: 2px;
    background: green;
    color: #1a1a1a;
    font-size: .6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.wc-cart-total {
    font-size: .75rem;
    color: var(--wc-gold, #c9a84c);
    font-weight: 600;
}
/* ??????????????????????????????????????????? */

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}



.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================================
   NAVBAR — shared across all pages
   ============================================================ */
.wc-navbar {
    background: transparent;
    padding: 1.2rem 0;
    transition: var(--wc-transition);
    z-index: 1030;
}
.wc-navbar--scrolled {
    background: rgba(28, 16, 8, 0.97) !important;
    padding: .7rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
/* Solid navbar for non-hero pages (About, Shop, Cart, etc.) */
.wc-navbar--solid {
    background: rgba(28, 16, 8, 0.97) !important;
    padding: .7rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.wc-navbar__brand {
    display: flex;
    flex-direction:column;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.1;
    text-decoration: none;
}
.wc-navbar__logo-ar {
    font-family: var(--wc-font-ar);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--wc-gold);
    letter-spacing: .5px;
}
.wc-navbar__logo-en {
    font-family: var(--wc-font-en);
    font-size: .65rem;
    letter-spacing: 4px;
    color: var(--wc-gold-light);
    text-transform: uppercase;
}
.wc-nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: .92rem;
    padding: .4rem .8rem !important;
    position: relative;
    transition: var(--wc-transition);
}
.wc-nav-link::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   right: 50%;
   height: 2px;
   background: var(--wc-gold);
   transition: var(--wc-transition);
 }
.wc-nav-link:hover, .wc-nav-link.active { color: var(--wc-gold) !important; }
.wc-nav-link:hover::before { left: 0; right: 0; }
.wc-lang-btn {
    border: 1px solid var(--wc-gold);
    color: var(--wc-gold);
    font-size: .82rem;
    padding: .3rem .9rem;
    border-radius: 50px;
    transition: var(--wc-transition);
    background: transparent;
}
.wc-lang-btn:hover { background: var(--wc-gold); color: #fff; }
/* Measurement nav button — unique gold-filled style */
.wc-measure-nav-btn {
    background: var(--wc-gold);
    color: #fff !important;
    border-color: var(--wc-gold);
    font-weight: 600;
}
.wc-measure-nav-btn:hover { background: transparent; color: var(--wc-gold) !important; }
/* Jobs nav button — outlined variant */
.wc-jobs-nav-btn {
    background: transparent;
    color: var(--wc-gold) !important;
    border-color: var(--wc-gold);
    font-weight: 600;
}
.wc-jobs-nav-btn:hover { background: var(--wc-gold); color: #fff !important; }
.wc-navbar__toggler {
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.wc-navbar__toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--wc-gold);
    border-radius: 2px;
    transition: var(--wc-transition);
}
@media (min-width: 992px) {
    .wc-navbar .wc-navbar__toggler {
        display: none;
    }
}
/* ============================================================
   NAV DROPDOWN — Projects / Categories
   ============================================================ */
.wc-nav-dropdown { position: relative; }

.wc-nav-dropdown__menu {
    min-width: 200px;
    background: rgba(12, 10, 7, 0.97);
    border: 1px solid rgba(196,151,59,.15);
    border-radius: 4px;
    padding: .5rem 0;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wc-nav-dropdown__divider {
    border-color: rgba(196,151,59,.12);
    margin: .3rem 0;
}

.wc-nav-dropdown__item {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    padding: .48rem 1.2rem;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.wc-nav-dropdown__item:hover,
.wc-nav-dropdown__item:focus {
    color: #fff;
    background: rgba(196,151,59,.1);
}

.wc-nav-dropdown__item--all {
    color: var(--wc-gold);
    font-size: .78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.wc-nav-dropdown__item--all:hover {
    color: var(--wc-gold);
    background: rgba(196,151,59,.12);
}

/* Arrow indicator on the toggle */
.wc-nav-link--projects::after {
    display: inline-block;
    margin-inline-start: .35rem;
    vertical-align: middle;
    content: "";
    border-top: .32em solid;
    border-right: .32em solid transparent;
    border-left: .32em solid transparent;
}
/* =========================================================
   Mobile bottom nav
========================================================= */
.wc-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 16, 8, 0.97);
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
    padding: .5rem 0;
    z-index: 1030; 
}

.wc-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255,255,255,.85) !important;
    text-decoration: none;
    font-size: .68rem;
    transition: var(--wc-transition);
}

    .wc-bottom-nav-item i {
        font-size: 1.3rem;
    }

    .wc-bottom-nav-item:hover,
    .wc-bottom-nav-item.active {
        color: var(--wc-gold) !important;
    }

.wc-bottom-nav-icon-wrap {
    position: relative;
    display: inline-flex;
}

    .wc-bottom-nav-icon-wrap .wc-cart-badge {
        position: absolute;
        top: -6px;
        inset-inline-end: -8px;
    }

/* عشان الفوتر أو أي محتوى في آخر الصفحة ميتغطاش بالـ bottom nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
    }
}

/* =========================================================
   TOAST NOTIFICATIONS
========================================================= */
.wc-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 1rem 1.25rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.wc-toast.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.wc-toast__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.wc-toast__content i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.wc-toast--warning {
    border-left: 4px solid #ff6b6b;
}

.wc-toast--warning .wc-toast__content i {
    color: #ff6b6b;
}

.wc-toast--success {
    border-left: 4px solid #51cf66;
}

.wc-toast--success .wc-toast__content i {
    color: #51cf66;
}

.wc-toast--error {
    border-left: 4px solid #ff6b6b;
}

.wc-toast--error .wc-toast__content i {
    color: #ff6b6b;
}

/* RTL Support */
[dir="rtl"] .wc-toast {
    right: auto;
    left: 20px;
    transform: translateX(-400px);
}

[dir="rtl"] .wc-toast.show {
    transform: translateX(0);
}

[dir="rtl"] .wc-toast--warning,
[dir="rtl"] .wc-toast--success,
[dir="rtl"] .wc-toast--error {
    border-left: none;
    border-right: 4px solid;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .wc-toast {
        top: 60px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .wc-toast.show {
        transform: translateY(0);
    }
    
    [dir="rtl"] .wc-toast {
        transform: translateY(-100px);
    }
    
    [dir="rtl"] .wc-toast.show {
        transform: translateY(0);
    }
}
    opacity: .6;
    transition: transform .25s;
}

.wc-nav-dropdown:hover .wc-nav-link--projects::after,
.wc-nav-link--projects[aria-expanded="true"]::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* RTL fix */
[dir="rtl"] .wc-nav-dropdown__menu { text-align: right; }

/* Open on hover (desktop only) */
@media (min-width: 992px) {
    .wc-nav-dropdown:hover > .wc-nav-dropdown__menu {
        display: block;
        animation: dropFadeIn .18s ease;
    }
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .wc-hero .row {
        justify-content: center !important;
    }

    .wc-hero .col-lg-7 {
        text-align: center !important;
    }
   
    .wc-hero__btn {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   Floating measurement CTA (fixed on all public pages)
========================================================= */
.wc-float-cta {
    position: fixed;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.85rem;
    border-radius: 50px;
    background: var(--wc-cream, #faf7f4);
    color: var(--wc-primary, #493628);
    border: 1px solid rgba(185, 146, 109, 0.55);
    font-family: var(--wc-font-ar), sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 28px rgba(26, 17, 10, 0.28);
    animation: wc-float-bob 2.4s ease-in-out infinite;
}
.wc-float-cta:hover,
.wc-float-cta:focus {
    color: #fff;
    background: var(--wc-gold, #b9926d);
    border-color: var(--wc-gold, #b9926d);
    text-decoration: none;
}
.wc-float-cta__label {
    position: relative;
    z-index: 1;
}
.wc-float-cta__pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    animation: wc-float-pulse 2s ease-out infinite;
}
@keyframes wc-float-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}
@keyframes wc-float-pulse {
    0% { box-shadow: 0 0 0 0 rgba(185, 146, 109, 0.55); }
    70% { box-shadow: 0 0 0 18px rgba(185, 146, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(185, 146, 109, 0); }
}
@media (max-width: 991.98px) {
    .wc-float-cta {
        bottom: 5.25rem;
        font-size: 0.88rem;
        padding: 0.75rem 1.4rem;
        max-width: calc(100vw - 2rem);
        white-space: normal;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wc-float-cta,
    .wc-float-cta__pulse {
        animation: none;
    }
}

/* =========================================================
   WhatsApp floating button
========================================================= */
.wc-wa-float {
    position: fixed;
    inset-inline-start: 1.25rem;
    bottom: 1.75rem;
    z-index: 1045;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 1.85rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
    animation: wc-wa-bob 2.6s ease-in-out infinite;
}
.wc-wa-float:hover,
.wc-wa-float:focus {
    color: #fff;
    background: #1ebe5d;
    text-decoration: none;
}
.wc-wa-float i { position: relative; z-index: 1; line-height: 1; }
.wc-wa-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    animation: wc-wa-pulse 2s ease-out infinite;
}
@keyframes wc-wa-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes wc-wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 991.98px) {
    .wc-wa-float {
        bottom: 5.25rem;
        width: 52px;
        height: 52px;
        font-size: 1.65rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wc-wa-float,
    .wc-wa-float__pulse {
        animation: none;
    }
}

/* =========================================================
   Announcement bar — news ticker
========================================================= */
.wc-announce {
    background: linear-gradient(90deg, #0d0a08 0%, #1a110a 35%, #2a1c10 50%, #1a110a 65%, #0d0a08 100%);
    color: #fff;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(185, 146, 109, 0.18);
    overflow: hidden;
}
.wc-announce__inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .45rem 0;
}
.wc-announce__mask {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 1.5rem;
    direction: ltr;
}
.wc-announce__track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: wc-ticker-en 22s linear infinite;
}
.wc-announce__track--ar,
[dir="rtl"] .wc-announce__track {
    left: 0;
    direction: rtl;
    animation-name: wc-ticker-ar;
}
.wc-announce__track--en {
    left: 100%;
    direction: ltr;
    animation-name: wc-ticker-en;
}
@keyframes wc-ticker-en {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 100vw)); }
}
@keyframes wc-ticker-ar {
    from { transform: translateX(-100%); }
    to { transform: translateX(100vw); }
}
.wc-announce__item:last-child::after {
    display: none;
}
.wc-announce__item {
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    padding: 0 2.4rem;
    unicode-bidi: isolate;
}
.wc-announce__item::after {
    content: "•";
    margin-inline-start: 2.4rem;
    color: var(--wc-gold, #b9926d);
    letter-spacing: 0;
}
.wc-announce__close {
    position: absolute;
    inset-inline-end: .85rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    opacity: .75;
    cursor: pointer;
    padding: .2rem;
    z-index: 2;
}
.wc-announce__close:hover { opacity: 1; }
@media (max-width: 575.98px) {
    .wc-announce__item {
        font-size: .72rem;
        letter-spacing: .08em;
        padding: 0 1.6rem;
    }
    .wc-announce__item::after { margin-inline-start: 1.6rem; }
}