/* ============================================
   Sand Color Theme
   #F9F6F0 Desert White  |  #F2EBE0 Light Sand
   #E8DECF Warm Sand     |  #D9CAB3 Medium Sand
   #C4B49D Dark Sand     |  #8A7D6B Desert Stone
   #524A3E Deep Brown    |  #423A2E Darkest Brown
   ============================================ */

/* ─── Body ───────────────────────────────── */
body {
    background-color: #F9F6F0;
    color: #524A3E;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

/* ─── Navbar ─────────────────────────────── */
.navbar {
    background: linear-gradient(135deg, #F9F6F0 0%, #F2EBE0 100%);
    border-bottom: 1px solid #D9CAB3;
    box-shadow: 0 2px 10px rgba(138, 125, 107, 0.1);
}

.navbar.transparent {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
}

.navbar.transparent .navbar-menu a {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.navbar.transparent .navbar-logo img {
    filter: brightness(0) invert(1);
}

.navbar.transparent .menu-toggle span {
    background-color: #ffffff !important;
}

.navbar.transparent .lang-icon {
    color: #ffffff !important;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #F9F6F0 0%, #F2EBE0 100%) !important;
    border: 1px solid #D9CAB3 !important;
    box-shadow: 0 8px 30px rgba(138, 125, 107, 0.2) !important;
    border-radius: 12px !important;
    left: 0.5% !important;
    right: 0.5% !important;
    width: 99% !important;
    top: 12px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 1050 !important;
}

.navbar-menu a {
    color: #625A4E !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.25s ease, border-bottom 0.25s ease;
}

.navbar-menu a:hover {
    color: #423A2E !important;
    background: transparent !important;
}

/* ─── Hamburger ─────────────────────────── */
.menu-toggle span {
    background-color: #625A4E !important;
}

.navbar.transparent .menu-toggle {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

.navbar.transparent .menu-toggle span {
    background-color: #ffffff !important;
}

.navbar.scrolled .menu-toggle span {
    background-color: #625A4E !important;
}

.menu-toggle.active {
    background: rgba(0, 0, 0, 0.08) !important;
}

/* ─── Hero ───────────────────────────────── */
.hero-content {
    background: transparent !important;
    color: #ffffff;
}

/* Inner page hero — no image, CSS-only */
.page-hero {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #3B3028 0%, #5A4A3A 40%, #7A6555 70%, #9A8070 100%);
    margin-top: 78px;
    padding-top: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 184, 140, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 184, 140, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.02) 40px,
        rgba(255,255,255,0.02) 80px
    );
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Service page hero — slightly shorter */
.service-hero {
    height: 220px;
}

.service-hero .page-hero-content h1 {
    font-size: 1.8rem;
}

.hero-content h1 {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ─── Buttons ────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #C4B49D 0%, #A89B86 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(138, 125, 107, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A89B86 0%, #8A7D6B 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(138, 125, 107, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #E8DECF 0%, #D9CAB3 100%) !important;
    color: #524A3E !important;
    border: 1px solid #C4B49D !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #D9CAB3 0%, #C4B49D 100%) !important;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* ─── Sections ───────────────────────────── */
section.bg-white {
    background-color: #F9F6F0 !important;
}

section.bg-light {
    background-color: #F2EBE0 !important;
}

.stats-section {
    background: linear-gradient(135deg, #524A3E 0%, #423A2E 100%) !important;
    color: #F9F6F0 !important;
}

/* ─── Section Titles ─────────────────────── */
.section-subtitle {
    color: #8A7D6B !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-title h2 {
    color: #423A2E !important;
}

/* ─── Stats ──────────────────────────────── */
.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
}

.stat-number {
    color: #F9F6F0 !important;
    font-size: 3rem;
    font-weight: 900;
}

.stat-label {
    color: #D9CAB3 !important;
    font-weight: 500;
}

/* ─── Cards ──────────────────────────────── */
.card {
    background: #ffffff !important;
    border: 1px solid #E8DECF !important;
    box-shadow: 0 2px 12px rgba(138, 125, 107, 0.06) !important;
    border-radius: 16px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px rgba(138, 125, 107, 0.15) !important;
    border-color: #C4B49D !important;
}

.card-icon {
    font-size: 2.5rem;
    color: #8A7D6B !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.card-title {
    color: #423A2E !important;
    font-weight: 700;
}

.card-text {
    color: #625A4E !important;
    line-height: 1.75;
}

/* ─── Value Cards ────────────────────────── */
.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #F9F6F0 100%) !important;
    border: 1px solid #E8DECF;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(138, 125, 107, 0.12);
}

.value-icon {
    background: transparent !important;
    color: #8A7D6B !important;
    border: none !important;
    font-size: 2.5rem;
    text-align: center;
}

.value-title {
    color: #423A2E !important;
    font-weight: 700;
}

.value-description {
    color: #625A4E !important;
}

/* ─── CTA Section ────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #524A3E 0%, #423A2E 100%) !important;
    border: none !important;
}

.cta-section h2 {
    color: #F9F6F0 !important;
}

.cta-section p {
    color: #D9CAB3 !important;
}

/* ─── Footer ─────────────────────────────── */
footer {
    background: linear-gradient(180deg, #423A2E 0%, #2E2820 100%) !important;
    color: #D9CAB3 !important;
    border-top: none !important;
}

footer h3 {
    color: #F2EBE0 !important;
    font-weight: 700;
    margin-bottom: 16px;
}

footer p {
    color: #C4B49D !important;
    line-height: 1.8;
}

footer a {
    color: #C4B49D !important;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #F2EBE0 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #8A7D6B !important;
    padding-top: 20px;
    font-size: 0.9rem;
}

.social-icon {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #C4B49D !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #C4B49D !important;
    color: #2E2820 !important;
    border-color: #C4B49D !important;
    transform: translateY(-3px);
}

/* ─── Back to Top ────────────────────────── */
.back-to-top {
    background: linear-gradient(135deg, #C4B49D 0%, #A89B86 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(138, 125, 107, 0.3);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #A89B86 0%, #8A7D6B 100%) !important;
    transform: translateY(-3px);
}

/* ─── WhatsApp ───────────────────────────── */
.whatsapp-float {
    background: #25d366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35) !important;
}

.whatsapp-float:hover {
    background: #1ebe5d !important;
    transform: translateY(-3px) scale(1.05);
}

/* ─── Forms ──────────────────────────────── */
input, textarea, select {
    background-color: #ffffff !important;
    color: #524A3E !important;
    border: 1.5px solid #D9CAB3 !important;
    border-radius: 10px !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #8A7D6B !important;
    box-shadow: 0 0 0 3px rgba(138, 125, 107, 0.15) !important;
    outline: none;
}

/* ─── Scroll Progress Bar ────────────────── */
.scroll-progress {
    background: linear-gradient(90deg, #C4B49D 0%, #8A7D6B 100%);
}

/* ─── Page Active Link ───────────────────── */
.navbar-menu a.active {
    color: #8A7D6B !important;
    font-weight: 700 !important;
}
