/* ============================================
   WOODWORKING THEME — Supreme Edition
   Modern | Refined | Warm Wood Identity
   Version: 4.0  (consolidated single stylesheet)
   ============================================ */

/* ===== 1. FONT IMPORTS ===== */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Thin.woff2') format('woff2'), url('../fonts/Inter-Thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraLight.woff2') format('woff2'), url('../fonts/Inter-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Light.woff2') format('woff2'), url('../fonts/Inter-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'), url('../fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2'), url('../fonts/Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2'), url('../fonts/Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2'), url('../fonts/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraBold.woff2') format('woff2'), url('../fonts/Inter-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Black.woff2') format('woff2'), url('../fonts/Inter-Black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Medium.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-SemiBold.woff2') format('woff2'), url('../fonts/PlayfairDisplay-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-ExtraBold.woff2') format('woff2'), url('../fonts/PlayfairDisplay-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Black.woff2') format('woff2'), url('../fonts/PlayfairDisplay-Black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Regular.woff2') format('woff2'), url('../fonts/Cairo-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-SemiBold.woff2') format('woff2'), url('../fonts/Cairo-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.woff2') format('woff2'), url('../fonts/Cairo-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-ExtraBold.woff2') format('woff2'), url('../fonts/Cairo-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Black.woff2') format('woff2'), url('../fonts/Cairo-Black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}

/* ===== 2. ROOT VARIABLES ===== */
:root {
    --wood-gold: #C08A3E;
    --wood-gold-dark: #A9772E;
    --wood-gold-light: #E0B876;
    --wood-brown: #8A6A4B;
    --wood-brown-light: #B39476;
    --wood-dark: #4A3728;
    --wood-dark-soft: #5A4534;
    --wood-cream: #F3E9DA;
    --wood-cream-light: #FBF6EF;
    --wood-white: #FFFFFF;
    --wood-text: #3D2E22;
    --wood-text-light: #8A7866;
    --wood-border: #EADFD0;
    --wood-shadow: rgba(74, 55, 40, 0.08);
    --wood-shadow-lg: rgba(74, 55, 40, 0.15);

    --gradient-hero: linear-gradient(135deg, #5A4433 0%, #8A6A4B 45%, #C08A3E 100%);
    --gradient-accent: linear-gradient(135deg, #E0B876 0%, #C08A3E 100%);
    --gradient-gold: linear-gradient(135deg, #F3E9DA 0%, #EADFD0 100%);
    --gradient-dark: linear-gradient(135deg, #5A4534 0%, #4A3728 100%);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;

    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-arabic: 'Cairo', 'Inter', sans-serif;

    --container-pad: 100px;
}

/* ===== 3. RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--wood-text);
    background: var(--wood-cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wood-gold-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--wood-gold);
}

::selection {
    background: rgba(184, 134, 11, 0.18);
    color: var(--wood-dark);
}

/* ===== 4. TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6,
.alt-font {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--wood-dark);
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
}

h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    line-height: 1.2;
}

h4 {
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    line-height: 1.3;
}

h5 {
    font-size: clamp(1.1rem, 1.2vw, 1.3rem);
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== 5. UTILITIES ===== */
.text-wood {
    color: var(--wood-gold-dark) !important;
}

.text-cream {
    color: var(--wood-cream) !important;
}

.bg-cream {
    background: var(--wood-cream) !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

/* ===== 6. BUTTONS ===== */
.btn-wood {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

.btn-wood::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-wood:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 134, 11, 0.4);
    color: #fff;
}

.btn-wood:hover::before {
    opacity: 1;
}

.btn-wood-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--wood-gold-dark);
    border: 2px solid var(--wood-gold-dark);
    padding: 14px 36px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-wood-outline:hover {
    background: var(--wood-gold-dark);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 134, 11, 0.2);
}

/* light outline variant for use on dark/photo backgrounds */
.btn-wood-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 14px 36px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.btn-wood-outline-light:hover {
    background: #fff;
    color: var(--wood-dark);
    border-color: #fff;
    transform: translateY(-4px);
}

.btn-wood-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-wood-lg {
    padding: 18px 48px;
    font-size: 1rem;
}

.btn-wood-white {
    background: #fff;
    color: var(--wood-gold-dark);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-wood-white:hover {
    background: var(--wood-cream);
    color: var(--wood-gold-dark);
}

/* ===== 7. SECTIONS ===== */
.section {
    padding: 110px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-cream {
    background: var(--wood-cream);
}

.section-dark {
    background: var(--gradient-dark);
    color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-header.left {
    text-align: left;
    margin-left: 0;
}

.section-header .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 134, 11, 0.08);
    color: var(--wood-gold-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-header .tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wood-gold);
}

.section-header .title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header .title span {
    color: var(--wood-gold-dark);
}

.section-header .subtitle {
    color: var(--wood-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header.left .subtitle {
    margin: 0;
}

.section-header .divider {
    width: 64px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 22px auto;
}

.section-header.left .divider {
    margin: 22px 0;
}

/* ===== 9. NAVBAR ===== */
.navbar {
    padding: 14px 0;
    background: rgba(251, 246, 239, 0.85) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(234, 223, 208, 0.6);
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 8px 0;
    background: rgba(251, 246, 239, 0.97) !important;
    box-shadow: 0 8px 30px var(--wood-shadow);
}

.navbar .navbar-brand img {
    transition: var(--transition);
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--wood-text) !important;
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--wood-gold-dark) !important;
    background: #fff;
    box-shadow: 0 4px 16px var(--wood-shadow);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    padding: 8px 0;
    box-shadow: 0 20px 60px var(--wood-shadow-lg);
    margin-top: 8px;
    min-width: 220px;
}

.navbar .languages-dropdown-menu {
    min-width: 150px;
}

.navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.navbar .languages-dropdown-menu .dropdown-item {
    padding: 6px 12px;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: var(--wood-cream);
    color: var(--wood-gold-dark);
    padding-left: 26px;
}

[dir="rtl"] .navbar .dropdown-menu .dropdown-item:hover {
    padding-left: 20px;
    padding-right: 26px;
}

/* ============================================
   SEARCH OVERLAY - FIX
   ============================================ */
.search-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999999 !important; /* Increased z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-wrapper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all !important;
}

/* Override any parent issues */
.search-wrapper .search-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
    z-index: 10;
    padding: 10px;
}

.search-wrapper .search-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.search-wrapper .search-container {
    max-width: 700px;
    width: 90%;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.search-wrapper .search-container h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.search-wrapper .search-input-wrapper {
    position: relative;
    margin-top: 20px;
}

.search-wrapper .search-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.search-wrapper .search-input:focus {
    border-color: #c8a45c;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(200, 164, 92, 0.1);
}

.search-wrapper .search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-wrapper .search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #c8a45c, #b8923f);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper .search-submit:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(200, 164, 92, 0.4);
}

.search-wrapper .search-submit i {
    font-size: 1.1rem;
}

/* RTL Support */
[dir="rtl"] .search-wrapper .search-input {
    padding: 20px 30px 20px 60px;
}

[dir="rtl"] .search-wrapper .search-submit {
    right: auto;
    left: 8px;
}

[dir="rtl"] .search-wrapper .search-close {
    right: auto;
    left: 40px;
}

/* Search Trigger Button - Make sure it's clickable */
.search-trigger {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #333 !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1000;
}

.search-trigger:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #c8a45c !important;
}

.search-trigger i {
    font-size: 1.1rem;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .search-wrapper .search-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
    
    [dir="rtl"] .search-wrapper .search-close {
        right: auto;
        left: 20px;
    }
    
    .search-wrapper .search-input {
        padding: 16px 55px 16px 20px;
        font-size: 1rem;
    }
    
    .search-wrapper .search-submit {
        width: 42px;
        height: 42px;
    }
    
    .search-wrapper .search-container h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .search-wrapper .search-container {
        width: 95%;
    }
    
    .search-wrapper .search-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
    
    .search-wrapper .search-input {
        padding: 14px 50px 14px 16px;
        font-size: 0.95rem;
    }
    
    .search-wrapper .search-submit {
        width: 38px;
        height: 38px;
    }
    
    .search-wrapper .search-container h3 {
        font-size: 1.2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .search-wrapper .search-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
    
    [dir="rtl"] .search-wrapper .search-close {
        right: auto;
        left: 20px;
    }
    
    .search-wrapper .search-input {
        padding: 16px 55px 16px 20px;
        font-size: 1rem;
    }
    
    .search-wrapper .search-submit {
        width: 42px;
        height: 42px;
    }
    
    .search-wrapper .search-container h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .search-wrapper .search-container {
        width: 95%;
    }
    
    .search-wrapper .search-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
    
    .search-wrapper .search-input {
        padding: 14px 50px 14px 16px;
        font-size: 0.95rem;
    }
    
    .search-wrapper .search-submit {
        width: 38px;
        height: 38px;
    }
    
    .search-wrapper .search-container h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   HERO SLIDER - COMPLETE WORKING VERSION
   ============================================ */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: #2c1810;
    z-index: 1;
}

/* Each slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Background image with Ken Burns effect */
.hero-slide .slide-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    transition: transform 8s ease-out;
    will-change: transform;
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

/* Overlay */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(115deg, rgba(20, 11, 6, 0.88) 0%, rgba(74, 55, 40, 0.60) 45%, rgba(74, 55, 40, 0.20) 100%),
        radial-gradient(circle at 85% 15%, rgba(224, 184, 118, 0.10) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

[dir="rtl"] .hero-slide::before {
    background: 
        linear-gradient(245deg, rgba(20, 11, 6, 0.88) 0%, rgba(74, 55, 40, 0.60) 45%, rgba(74, 55, 40, 0.20) 100%),
        radial-gradient(circle at 15% 15%, rgba(224, 184, 118, 0.10) 0%, transparent 50%);
}

/* Pattern overlay */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Container and row - properly centered */
.hero-slider .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slider .container .row {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    padding: 40px 0;
    width: 100%;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 168, 75, 0.12);
    border: 1px solid rgba(212, 168, 75, 0.20);
    padding: 8px 24px;
    border-radius: 50px;
    color: #e0b876;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
    opacity: 1;
    transform: none;
}

/* Title */
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    opacity: 1;
    transform: none;
}

.hero-title .highlight {
    color: #e0b876;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e0b876, #c08a3e);
    border-radius: 2px;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto 35px;
    opacity: 1;
    transform: none;
}

/* Actions / Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 1;
    transform: none;
}

.hero-actions .btn-wood {
    min-width: 200px;
    justify-content: center;
}

/* Animation states - only apply when slide has animate-in class */
.hero-slide.animate-in .hero-badge,
.hero-slide.animate-in .hero-title,
.hero-slide.animate-in .hero-subtitle,
.hero-slide.animate-in .hero-actions {
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.animate-in.active .hero-badge {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}

.hero-slide.animate-in.active .hero-title {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s;
}

.hero-slide.animate-in.active .hero-subtitle {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.6s;
}

.hero-slide.animate-in.active .hero-actions {
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.8s;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-control:hover {
    background: rgba(192, 138, 62, 0.30);
    border-color: rgba(192, 138, 62, 0.40);
    transform: translateY(-50%) scale(1.08);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Progress bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.06);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #e0b876, #c08a3e);
    width: 0%;
}

.hero-slide.active .progress-bar {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: #e0b876;
    box-shadow: 0 0 20px rgba(224, 184, 118, 0.40);
    transform: scale(1.2);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.50);
}

/* Counter */
.hero-slide-counter {
    position: absolute;
    left: 40px;
    bottom: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.hero-slide-counter .current {
    color: #e0b876;
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-slide-counter .divider {
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.20);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInScroll 1s ease forwards 2s;
}

@keyframes fadeInScroll {
    to { opacity: 1; }
}

.scroll-text {
    color: rgba(255, 255, 255, 0.40);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 16px;
    background: #e0b876;
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -20px; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-slider {
        max-height: 700px;
        min-height: 500px;
    }
    .slider-control {
        display: none;
    }
    .hero-scroll-indicator {
        display: none;
    }
    .hero-slide-counter {
        display: none;
    }
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
        min-height: 450px;
        max-height: 600px;
    }
    .slider-dots {
        bottom: 30px;
        gap: 10px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
        margin-bottom: 18px;
    }
    .hero-content-wrapper {
        padding: 20px 0;
    }
}

@media (max-width: 575px) {
    .hero-slider {
        min-height: 400px;
        max-height: 500px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn-wood {
        min-width: 100%;
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.85rem;
    }
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    .dot {
        width: 7px;
        height: 7px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide .slide-bg {
        transition: none !important;
        transform: none !important;
    }
    .hero-slide.animate-in .hero-badge,
    .hero-slide.animate-in .hero-title,
    .hero-slide.animate-in .hero-subtitle,
    .hero-slide.animate-in .hero-actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .hero-slide.active .progress-bar {
        animation: none !important;
    }
    .scroll-dot {
        animation: none !important;
    }
    .hero-scroll-indicator {
        animation: none !important;
        opacity: 0.4 !important;
    }
}

/* ===== 10. CARDS ===== */
.card-wood {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--wood-border);
}

.card-wood:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px var(--wood-shadow-lg);
    border-color: transparent;
}

.card-wood .card-image {
    overflow: hidden;
    position: relative;
}

.card-wood .card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card-wood:hover .card-image img {
    transform: scale(1.06);
}

.card-wood .card-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.55), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-wood:hover .card-image .overlay {
    opacity: 1;
}

.card-wood .card-image .overlay .btn-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border: 2px solid #fff;
    border-radius: 50px;
    transform: translateY(20px);
    transition: var(--transition);
    text-decoration: none;
}

.card-wood:hover .card-image .overlay .btn-link {
    transform: translateY(0);
}

.card-wood .card-image .overlay .btn-link:hover {
    background: #fff;
    color: var(--wood-dark);
}

.card-wood .card-body {
    padding: 28px 30px 26px;
}

.card-wood .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-wood .card-title a {
    color: var(--wood-dark);
}

.card-wood .card-title a:hover {
    color: var(--wood-gold-dark);
}

.card-wood .card-text {
    color: var(--wood-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.card-wood .card-footer {
    background: transparent;
    border: none;
    padding: 0 30px 28px;
}

/* Service Card */
.service-card .card-image {
    height: 220px;
}

.service-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--wood-gold-dark);
    margin-bottom: 16px;
    transition: var(--transition);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px var(--wood-shadow);
}

.service-card:hover .card-icon {
    background: var(--gradient-accent);
    color: #fff;
    transform: scale(1.05) rotate(-4deg);
}

/* Project Card */
.project-card .card-image {
    height: 280px;
}

.project-card .badge-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(212, 168, 75, 0.95);
    color: #fff;
    backdrop-filter: blur(4px);
    z-index: 2;
}

[dir="rtl"] .project-card .badge-status {
    right: auto;
    left: 16px;
}

.project-card .badge-status.completed {
    background: rgba(46, 125, 50, 0.95);
}

/* Blog Card */
.blog-card .card-image {
    height: 210px;
}

.blog-card .card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--wood-text-light);
    margin-bottom: 10px;
}

.blog-card .card-meta .category {
    color: var(--wood-gold-dark);
    font-weight: 700;
}

/* ===== 11. WHY CHOOSE US / FEATURES ===== */
.features-section {
    padding: 110px 0;
    overflow: hidden;
}

.features-visual {
    position: relative;
}

.features-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4 / 5;
    box-shadow: 0 30px 80px var(--wood-shadow-lg);
}

.features-visual .experience-badge {
    position: absolute;
    bottom: 28px;
    right: -14px;
    background: var(--gradient-hero);
    color: #fff;
    padding: 22px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 20px 50px rgba(44, 24, 16, 0.35);
    border: 1px solid rgba(212, 168, 75, 0.2);
}

[dir="rtl"] .features-visual .experience-badge {
    right: auto;
    left: -14px;
}

.features-visual .experience-badge .num {
    font-family: var(--font-secondary);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--wood-gold-light);
    line-height: 1;
    display: block;
}

.features-visual .experience-badge .txt {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.feature-item {
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px var(--wood-shadow);
    border-color: transparent;
}

.feature-item .icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gradient-gold);
    color: var(--wood-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.feature-item:hover .icon {
    background: var(--gradient-accent);
    color: #fff;
}

.feature-item h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--wood-text-light);
    line-height: 1.65;
    margin: 0;
}

/* ===== 12. OUR PROCESS (steps) ===== */
.process-section {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--wood-cream) 0%, var(--wood-cream-light) 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 32px, rgba(192, 138, 62, 0.04) 32px, rgba(192, 138, 62, 0.04) 33px);
    pointer-events: none;
}

.process-section .section-header .title {
    color: var(--wood-dark);
}

.process-section .section-header .title span {
    color: var(--wood-gold-dark);
}

.process-section .section-header .subtitle {
    color: var(--wood-text-light);
}

.process-grid {
    position: relative;
    z-index: 1;
}

.process-line {
    position: absolute;
    top: 44px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--wood-border) 15%, var(--wood-border) 85%, transparent);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.process-step .step-circle {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--wood-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--wood-gold-dark);
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 30px var(--wood-shadow);
}

.process-step:hover .step-circle {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(192, 138, 62, 0.35);
}

.process-step .step-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--wood-cream-light);
}

[dir="rtl"] .process-step .step-num {
    right: auto;
    left: -6px;
}

.process-step h5 {
    color: var(--wood-dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--wood-text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ===== 13. STATS ===== */
.stats-section {
    background: var(--gradient-hero);
    padding: 84px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(212, 168, 75, 0.02) 30px, rgba(212, 168, 75, 0.02) 31px);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item .number {
    font-size: 3.6rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.1;
    font-family: var(--font-secondary);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.stat-item .label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== 14. TESTIMONIALS ===== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 38px 32px;
    border: 1px solid var(--wood-border);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px var(--wood-shadow-lg);
    border-color: transparent;
}

.testimonial-card .quote {
    color: var(--wood-gold-light);
    font-size: 2.4rem;
    opacity: 0.35;
    margin-bottom: 12px;
    line-height: 1;
}

.testimonial-card .content {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--wood-text);
    margin-bottom: 22px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-card .author .avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    font-family: var(--font-secondary);
}

.testimonial-card .author .name {
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 0;
}

.testimonial-card .author .position {
    font-size: 0.8rem;
    color: var(--wood-text-light);
    margin: 0;
}

/* ===== 15. FAQ (accordion) ===== */
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.faq-wrap .accordion-item {
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-wrap .accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: 0 16px 44px var(--wood-shadow);
    border-color: transparent;
}

.faq-wrap .accordion-button {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--wood-dark);
    padding: 24px 28px;
    background: #fff;
    box-shadow: none;
}

.faq-wrap .accordion-button:not(.collapsed) {
    color: var(--wood-gold-dark);
    background: #fff;
}

.faq-wrap .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-wrap .accordion-button::after {
    width: 34px;
    height: 34px;
    background-size: 16px;
    background-position: center;
    background-color: var(--wood-cream);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238B6914'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
}

.faq-wrap .accordion-button:not(.collapsed)::after {
    background-color: var(--gradient-accent);
    background-color: var(--wood-gold);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
}

.faq-wrap .accordion-body {
    padding: 4px 28px 26px;
    color: var(--wood-text-light);
    font-size: 0.96rem;
    line-height: 1.8;
}

/* ===== 16. CTA ===== */
.cta-section {
    background: var(--wood-cream-light);
    padding: 90px 0;
}

.cta-content {
    position: relative;
    text-align: center;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 72px 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px var(--wood-shadow-lg);
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255, 255, 255, 0.04) 30px, rgba(255, 255, 255, 0.04) 31px);
    pointer-events: none;
}

.cta-content h2 {
    position: relative;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #fff;
    font-weight: 700;
}

.cta-content h2 span {
    color: var(--wood-gold-light);
}

.cta-content p {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 16px auto 0;
}

.cta-content .actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 38px;
}

/* ===== 17. GALLERY / PORTFOLIO ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.72), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay h5 {
    color: #fff;
    margin-bottom: 4px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h5 {
    transform: translateY(0);
}

.gallery-item .gallery-overlay span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.05s;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Gallery lightbox (built by app.js) */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 11, 6, 0.96);
    backdrop-filter: blur(14px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox .lightbox-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.gallery-lightbox .lightbox-content img {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.gallery-lightbox .lightbox-info {
    margin-top: 18px;
}

.gallery-lightbox .lightbox-info h5 {
    color: #fff;
    margin-bottom: 4px;
}

.gallery-lightbox .lightbox-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.gallery-lightbox .lightbox-close {
    position: absolute;
    top: 26px;
    right: 34px;
    font-size: 2.6rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-lightbox .lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox .lightbox-prev {
    left: 30px;
}

.gallery-lightbox .lightbox-next {
    right: 30px;
}

.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover {
    background: var(--gradient-accent);
    border-color: transparent;
}

/* ===== 18. TABS ===== */
.nav-wood {
    border: none;
}

.nav-wood .nav-link {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--wood-text);
    background: #fff;
    border: 1px solid var(--wood-border);
    transition: var(--transition);
}

.nav-wood .nav-link.active {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(184, 134, 11, 0.25);
}

.nav-wood .nav-link:not(.active):hover {
    border-color: var(--wood-gold-dark);
    color: var(--wood-gold-dark);
}

/* ===== 19. FOOTER ===== */
.footer {
    background: var(--wood-cream);
    color: var(--wood-text-light);
    padding: 72px 0 0;
    border-top: 3px solid var(--wood-gold);
}

.footer-title {
    color: var(--wood-dark);
    font-weight: 700;
    margin-bottom: 22px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--wood-text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--wood-gold-dark);
    padding-left: 4px;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact p i {
    margin-top: 4px;
    min-width: 18px;
    color: var(--wood-gold-dark);
}

.footer-contact a {
    color: var(--wood-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--wood-gold-dark);
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--wood-text-light);
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--wood-border);
}

.social-icons .social-icon:hover {
    background: var(--gradient-accent);
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid var(--wood-border);
    padding: 22px 0;
    margin-top: 44px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--wood-text-light);
}

/* ===== 20. STICKY SOCIAL / MOBILE BAR ===== */
.sticky-social {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px 10px;
    border: 1px solid var(--wood-border);
    box-shadow: 0 8px 32px var(--wood-shadow);
}

[dir="rtl"] .sticky-social {
    left: auto;
    right: 24px;
}

.sticky-label {
    color: var(--wood-text-light);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
    writing-mode: vertical-rl;
}

.sticky-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sticky-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--wood-text-light);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    background: rgba(44, 24, 16, 0.03);
}

.sticky-link:hover {
    color: #fff;
    transform: scale(1.1);
    background: var(--gradient-accent);
}

.sticky-link .sticky-tooltip {
    position: absolute;
    left: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--wood-dark);
    color: #fff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

[dir="rtl"] .sticky-link .sticky-tooltip {
    left: auto;
    right: calc(100% + 16px);
}

.sticky-link:hover .sticky-tooltip {
    opacity: 1;
    visibility: visible;
    left: calc(100% + 22px);
}

[dir="rtl"] .sticky-link:hover .sticky-tooltip {
    left: auto;
    right: calc(100% + 22px);
}

.mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-top: 1px solid var(--wood-border);
    display: none;
    justify-content: space-around;
    align-items: center;
}

.mobile-sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--wood-text-light);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 4px 12px;
    border-radius: 8px;
}

.mobile-sticky-btn i {
    font-size: 1.2rem;
}

.mobile-sticky-btn:hover {
    color: var(--wood-gold-dark);
}

.mobile-sticky-btn.whatsapp {
    background: #25d366;
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    flex-direction: row;
    gap: 8px;
}

.mobile-sticky-btn.whatsapp i {
    font-size: 1.1rem;
}

.mobile-sticky-btn.call {
    background: var(--gradient-accent);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    flex-direction: row;
    gap: 8px;
}

.mobile-sticky-btn.call i {
    font-size: 1.1rem;
}

/* ===== 21. COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 900px;
    width: 95%;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    z-index: 99999;
    border: 1px solid rgba(212, 168, 75, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient-accent);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
}

.cookie-text {
    flex: 1;
    min-width: 180px;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    font-weight: 500;
}

.cookie-link:hover {
    color: var(--wood-gold-light);
}

/* ===== 22. BACK TO TOP + SCROLL PROGRESS ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top .scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 24px rgba(184, 134, 11, 0.35);
    transition: var(--transition);
}

.back-to-top .scroll-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 40px rgba(184, 134, 11, 0.45);
    color: #fff;
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gradient-accent);
    z-index: 100001;
    transition: width 0.1s linear;
}

.languages-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== 23. ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    70% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== 24. RESPONSIVE ===== */
@media (max-width: 1199px) {
    .process-line {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 10px 16px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        background: var(--wood-cream);
        margin-top: 0;
        border-radius: 0;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
        padding-left: 30px;
    }

    .section,
    .features-section,
    .process-section {
        padding: 70px 0;
    }

    .stats-section,
    .cta-section {
        padding: 60px 0;
    }

    .stat-item .number {
        font-size: 2.8rem;
    }

    .feature-list {
        margin-top: 40px;
    }

    .features-visual {
        max-width: 460px;
        margin: 0 auto 20px;
    }

    .process-step {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }

    .features-section,
    .process-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header .title {
        font-size: 2rem;
    }

    .stats-section,
    .cta-section {
        padding: 44px 0;
    }

    .stat-item .number {
        font-size: 2.2rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .card-wood .card-image img {
        height: 200px;
    }

    .testimonial-card {
        padding: 26px;
    }

    .gallery-item img {
        height: 240px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-title {
        margin-bottom: 16px;
        font-size: 1rem;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
    }

    [dir="rtl"] .back-to-top {
        right: auto;
        left: 20px;
    }

    .back-to-top .scroll-top {
        width: 44px;
        height: 44px;
    }

    .gallery-lightbox {
        padding: 20px;
    }

    .gallery-lightbox .lightbox-prev {
        left: 12px;
    }

    .gallery-lightbox .lightbox-next {
        right: 12px;
    }

    .faq-wrap .accordion-button {
        font-size: 1rem;
        padding: 20px 22px;
    }

    .faq-wrap .accordion-body {
        padding: 4px 22px 22px;
    }

    .cookie-consent {
        bottom: 15px;
        padding: 16px 20px;
        width: 98%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-actions .btn-wood {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }

    .cookie-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }

    .cookie-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .btn-wood,
    .btn-wood-outline,
    .btn-wood-outline-light {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.8rem;
    }

    .card-wood .card-body {
        padding: 22px;
    }

    .card-wood .card-footer {
        padding: 0 22px 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .nav-wood .nav-link {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .features-visual .experience-badge {
        padding: 16px 22px;
        right: 0;
    }

    [dir="rtl"] .features-visual .experience-badge {
        left: 0;
        right: auto;
    }

    .mobile-sticky-btn {
        padding: 4px 8px;
        font-size: 0.55rem;
    }

    .mobile-sticky-btn i {
        font-size: 1rem;
    }

    .mobile-sticky-btn.whatsapp,
    .mobile-sticky-btn.call {
        padding: 6px 14px;
        font-size: 0.65rem;
    }

    .mobile-sticky-btn.whatsapp i,
    .mobile-sticky-btn.call i {
        font-size: 0.9rem;
    }
}

@media (max-width: 1199px) {
    .mobile-sticky {
        display: flex;
    }
}

/* ===== 25. REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .hero-scroll-hint .mouse::before {
        animation: none;
    }
}

/* ============================================
   26. ABOUT PAGE  (page hero, milestones, team, clients)
   ============================================ */

/* ---- Page hero + breadcrumb (reusable on all inner pages) ---- */
.page-hero {
    position: relative;
    padding: 170px 0 90px;
    /* top padding clears the fixed navbar */
    background-color: var(--wood-dark);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(45, 32, 21, 0.82) 0%, rgba(74, 55, 40, 0.88) 100%),
        radial-gradient(circle at 80% 0%, rgba(224, 184, 118, 0.12) 0%, transparent 50%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-eyebrow {
    display: inline-block;
    color: var(--wood-gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 18px;
}

.breadcrumb-wood {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.breadcrumb-wood li {
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-wood li+li::before {
    content: '\f105';
    /* fa chevron-right */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    color: var(--wood-gold-light);
    font-size: 0.7rem;
}

[dir="rtl"] .breadcrumb-wood li+li::before {
    content: '\f104';
}

/* chevron-left for RTL */
.breadcrumb-wood a {
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb-wood a:hover {
    color: var(--wood-gold-light);
}

/* ---- Story image collage ---- */
.about-collage img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 24px 60px var(--wood-shadow);
    transition: var(--transition);
}

.about-collage img.short {
    height: 300px;
}

.about-collage img.tall {
    height: 380px;
}

.about-collage img:hover {
    transform: translateY(-6px);
}

/* ---- Milestones ---- */
.milestone {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-md);
    padding: 48px 28px 30px;
    overflow: hidden;
    transition: var(--transition);
}

.milestone:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px var(--wood-shadow-lg);
    border-color: transparent;
}

.milestone .num {
    position: absolute;
    top: -8px;
    left: 18px;
    font-family: var(--font-secondary);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--wood-gold);
    opacity: 0.14;
}

[dir="rtl"] .milestone .num {
    left: auto;
    right: 18px;
}

.milestone .m-title {
    position: relative;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--wood-dark);
}

.milestone p {
    position: relative;
    color: var(--wood-text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.milestone .m-divider {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: var(--gradient-accent);
    margin-top: 20px;
    border-radius: 2px;
}

/* ---- Trust bar ---- */
.trust-bar {
    display: flex;
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 16px 44px var(--wood-shadow);
}

.trust-bar .trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 26px;
    text-align: center;
}

.trust-bar .trust-item:first-child {
    border-right: 1px solid var(--wood-border);
}

[dir="rtl"] .trust-bar .trust-item:first-child {
    border-right: none;
    border-left: 1px solid var(--wood-border);
}

.trust-bar .trust-item i {
    color: var(--wood-gold-dark);
    font-size: 1.4rem;
}

.trust-bar .trust-item span {
    font-size: 0.95rem;
    color: var(--wood-text);
}

.trust-bar .trust-item strong {
    color: var(--wood-dark);
    font-weight: 800;
}

/* ---- Team ---- */
.team-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 44px var(--wood-shadow);
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover img {
    transform: scale(1.06);
}

.team-card .team-info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px 24px 22px;
    background: linear-gradient(to top, rgba(45, 32, 21, 0.92), transparent);
    color: #fff;
    z-index: 2;
}

.team-card .team-info .name {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.15rem;
}

.team-card .team-info .role {
    display: block;
    font-size: 0.82rem;
    color: var(--wood-gold-light);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.team-card .team-social {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

[dir="rtl"] .team-card .team-social {
    right: auto;
    left: 16px;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-card .team-social:hover {
    color: #fff;
    transform: scale(1.08);
}

/* ---- Clients marquee (CSS-only, no JS) ---- */
.clients-marquee {
    margin-top: 50px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: clientScroll 32s linear infinite;
}

.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}

.clients-track img {
    height: 44px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.clients-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes clientScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

[dir="rtl"] .clients-track {
    animation-name: clientScrollRtl;
}

@keyframes clientScrollRtl {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* ---- About page responsive ---- */
@media (max-width: 991px) {
    .page-hero {
        padding: 130px 0 60px;
    }

    .about-collage img.short,
    .about-collage img.tall {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 110px 0 50px;
    }

    .trust-bar {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .trust-bar .trust-item:first-child {
        border-right: none;
        border-bottom: 1px solid var(--wood-border);
    }

    [dir="rtl"] .trust-bar .trust-item:first-child {
        border-left: none;
    }

    .about-collage img.short,
    .about-collage img.tall {
        height: 240px;
    }

    .clients-track {
        gap: 40px;
    }

    .clients-track img {
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clients-track {
        animation: none;
    }
}

/* ============================================
   27. SERVICES + SERVICE DETAILS PAGES
   ============================================ */

/* ---- Wood pagination (scoped — won't affect other Bootstrap pagination) ---- */
.wood-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.wood-pagination .page-item {
    margin: 0;
}

.wood-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--wood-border);
    border-radius: 12px !important;
    background: #fff;
    color: var(--wood-text);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px var(--wood-shadow);
    transition: var(--transition);
}

.wood-pagination .page-item .page-link:hover {
    color: var(--wood-gold-dark);
    border-color: var(--wood-gold);
    background: var(--wood-cream);
}

.wood-pagination .page-item.active .page-link {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(192, 138, 62, 0.3);
}

.wood-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    box-shadow: none;
}

.wood-pagination .page-link:focus {
    box-shadow: none;
    outline: none;
}

/* ---- Service details: lead + rich-text (long_description HTML) ---- */
.service-lead {
    font-size: 1.15rem;
    color: var(--wood-text);
    line-height: 1.85;
    margin-bottom: 24px;
}

.service-prose {
    color: var(--wood-text-light);
    font-size: 1rem;
    line-height: 1.9;
}

.service-prose>*:first-child {
    margin-top: 0;
}

.service-prose h1,
.service-prose h2,
.service-prose h3,
.service-prose h4,
.service-prose h5,
.service-prose h6 {
    color: var(--wood-dark);
    margin: 28px 0 14px;
}

.service-prose p {
    margin-bottom: 16px;
}

.service-prose ul,
.service-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

[dir="rtl"] .service-prose ul,
[dir="rtl"] .service-prose ol {
    padding-left: 0;
    padding-right: 22px;
}

.service-prose li {
    margin-bottom: 8px;
}

.service-prose li::marker {
    color: var(--wood-gold-dark);
}

.service-prose a {
    color: var(--wood-gold-dark);
    text-decoration: underline;
}

.service-prose a:hover {
    color: var(--wood-gold);
}

.service-prose img {
    border-radius: var(--radius-md);
    margin: 16px 0;
}

.service-prose blockquote {
    border-left: 3px solid var(--wood-gold);
    background: var(--wood-cream);
    padding: 16px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 0 0 16px;
    color: var(--wood-text);
}

[dir="rtl"] .service-prose blockquote {
    border-left: none;
    border-right: 3px solid var(--wood-gold);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* ---- Sticky contact sidebar ---- */
.service-sidebar {
    position: sticky;
    top: 100px;
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 60px var(--wood-shadow-lg);
}

.service-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(255, 255, 255, 0.03) 28px, rgba(255, 255, 255, 0.03) 29px);
    pointer-events: none;
}

.service-sidebar>* {
    position: relative;
    z-index: 1;
}

.service-sidebar h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-sidebar p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.service-sidebar .btn-wood {
    width: 100%;
    justify-content: center;
}

.service-sidebar-contact {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-sidebar-contact a,
.service-sidebar-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    margin-bottom: 12px;
    text-decoration: none;
}

.service-sidebar-contact p:last-child {
    margin-bottom: 0;
}

.service-sidebar-contact i {
    color: var(--wood-gold-light);
    width: 18px;
    text-align: center;
}

.service-sidebar-contact a:hover {
    color: var(--wood-gold-light);
}

/* ---- Sub-service info card ---- */
.info-card {
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--wood-shadow-lg);
    border-color: transparent;
}

.info-card .info-card-img {
    height: 220px;
    overflow: hidden;
}

.info-card .info-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.info-card:hover .info-card-img img {
    transform: scale(1.05);
}

.info-card .info-card-body {
    padding: 26px 28px;
}

.info-card .info-card-body h5 {
    color: var(--wood-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card .info-card-text {
    color: var(--wood-text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

.info-card .info-card-text p:last-child {
    margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .service-sidebar {
        position: static;
        top: auto;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .info-card .info-card-img {
        height: 200px;
    }

    .wood-pagination .page-item .page-link {
        min-width: 40px;
        height: 40px;
    }
}

/* ============================================
   28. PROJECTS + PROJECT DETAILS PAGES
   ============================================ */

/* ---- Project gallery (clicks open your existing lightbox) ---- */
.project-gallery-main {
    margin-bottom: 14px;
}

.project-gallery-main .gallery-item img {
    height: 460px;
}

.project-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.project-gallery-thumbs .gallery-item {
    border-radius: var(--radius-sm);
}

.project-gallery-thumbs .gallery-item img {
    height: 108px;
}

.project-gallery-thumbs .gallery-overlay {
    padding: 0;
    align-items: center;
    justify-content: center;
}

.project-gallery-thumbs .gallery-overlay span {
    transform: none;
    color: #fff;
    font-size: 1rem;
}

/* ---- Project info column ---- */
.project-info {
    padding-top: 6px;
}

.project-service {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--wood-gold-dark);
    margin-bottom: 12px;
}

.project-service:hover {
    color: var(--wood-gold);
}

.project-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--wood-dark);
    margin-bottom: 16px;
}

.project-info .service-lead {
    margin: 20px 0 28px;
}

/* ---- Status pill (inline, unlike the card corner .badge-status) ---- */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-pill.in-progress {
    background: rgba(212, 168, 75, 0.16);
    color: var(--wood-gold-dark);
}

.status-pill.in-progress::before {
    background: var(--wood-gold);
}

.status-pill.completed {
    background: rgba(46, 125, 50, 0.12);
    color: #2e7d32;
}

.status-pill.completed::before {
    background: #2e7d32;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .project-gallery-main .gallery-item img {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .project-gallery-main .gallery-item img {
        height: 300px;
    }

    .project-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-gallery-thumbs .gallery-item img {
        height: 90px;
    }
}

/* ============================================
   29. BLOG PAGES
   ============================================ */

/* ---- Article header ---- */
.blog-hero {
    padding: 150px 0 30px;
    text-align: center;
}

.blog-category-link {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--wood-gold-dark);
    margin-bottom: 16px;
}

.blog-category-link:hover {
    color: var(--wood-gold);
}

.blog-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    max-width: 820px;
    margin: 0 auto 18px;
    line-height: 1.15;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--wood-text-light);
    font-size: 0.9rem;
}

.blog-meta i {
    color: var(--wood-gold-dark);
    margin-right: 6px;
}

.blog-meta .dot {
    color: var(--wood-border);
}

/* ---- Featured image ---- */
.blog-featured {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.blog-featured img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px var(--wood-shadow-lg);
}

/* ---- Lead / sub-title ---- */
.blog-lead {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    color: var(--wood-dark);
    margin-bottom: 22px;
}

.blog-lead-divider {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--wood-border);
    margin: 0 0 34px;
}

/* ---- Share bar ---- */
.blog-share {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--wood-border);
}

.blog-share>span {
    font-weight: 700;
    color: var(--wood-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-share a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wood-cream);
    color: var(--wood-text-light);
    border: 1px solid var(--wood-border);
    transition: var(--transition);
}

.blog-share a:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .blog-hero {
        padding: 120px 0 20px;
    }

    .blog-featured {
        margin-bottom: 34px;
    }

    .blog-featured img {
        border-radius: var(--radius-md);
        max-height: 340px;
    }

    .blog-lead {
        font-size: 1.2rem;
    }
}

/* ============================================
   30. CONTACT PAGE
   ============================================ */

/* ---- Alerts ---- */
.contact-alerts .alert {
    border: none;
    border-left: 4px solid;
    border-radius: var(--radius-md);
    padding: 16px 22px;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

[dir="rtl"] .contact-alerts .alert {
    border-left: none;
    border-right: 4px solid;
}

.contact-alerts .alert-success {
    background: rgba(46, 125, 50, 0.10);
    color: #2e7d32;
    border-color: #2e7d32;
}

.contact-alerts .alert-warning {
    background: rgba(192, 138, 62, 0.12);
    color: var(--wood-gold-dark);
    border-color: var(--wood-gold);
}

.contact-alerts .alert-danger {
    background: rgba(192, 57, 43, 0.10);
    color: #b23b2e;
    border-color: #c0392b;
}

/* ---- Info cards ---- */
.contact-info-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--wood-shadow-lg);
    border-color: transparent;
}

.contact-info-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--wood-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.contact-info-card:hover .icon {
    background: var(--gradient-accent);
    color: #fff;
}

.contact-info-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--wood-dark);
}

.contact-info-card a,
.contact-info-card p {
    color: var(--wood-text-light);
    font-size: 0.95rem;
    margin: 0;
    word-break: break-word;
}

.contact-info-card a:hover {
    color: var(--wood-gold-dark);
}

/* ---- Form card ---- */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 24px 60px var(--wood-shadow);
}

.contact-form-card label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--wood-dark);
    margin-bottom: 6px;
}

.form-control {
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    font-size: 0.95rem;
    background: var(--wood-cream-light);
    color: var(--wood-text);
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--wood-text-light);
    opacity: 0.7;
}

.form-control:focus {
    border-color: var(--wood-gold);
    box-shadow: 0 0 0 3px rgba(192, 138, 62, 0.12);
    background: #fff;
    outline: none;
}

.form-control {
    resize: vertical;
    min-height: 56px;
}

/* ---- Map ---- */
.contact-map {
    line-height: 0;
}

.contact-map iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .contact-form-card {
        padding: 28px 22px;
    }

    .contact-map iframe {
        height: 340px;
    }
}