/*
Theme Name: Family Mall Duhok
Theme URI: https://www.familymallduhok.com
Description: Official landing page theme for Family Mall Duhok - Shopping & Entertainment Center with Customizer admin panel
Author: Family Mall Duhok
Version: 3.0.0
Text Domain: familymall-duhok
*/

/* ========== CSS RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2D2D7B;
    --primary-orange: #E8651A;
    --dark-blue: #1A1A5E;
    --light-bg: #F5F7FA;
    --white: #FFFFFF;
    --text-dark: #1A1B2E;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --gradient-start: #2D2D7B;
    --gradient-end: #1A1A5E;
    --shadow-sm: 0 2px 8px rgba(45, 45, 123, 0.06);
    --shadow: 0 4px 24px rgba(45, 45, 123, 0.10);
    --shadow-lg: 0 12px 40px rgba(45, 45, 123, 0.15);
    --shadow-hover: 0 8px 40px rgba(45, 45, 123, 0.18);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Support */
body.rtl {
    direction: rtl;
    font-family: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif;
}

body.rtl .hero-content,
body.rtl .about-text,
body.rtl .contact-info {
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 48px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 38px;
}

/* Nav Right: links + language switcher */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    letter-spacing: 0.2px;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-blue);
    background: rgba(45, 45, 123, 0.06);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition);
    border-radius: 2px;
}

body.rtl .nav-links a::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 20px;
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .lang-switcher {
    background: rgba(45, 45, 123, 0.04);
    border-color: rgba(45, 45, 123, 0.08);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-xs);
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: var(--font-main);
}

.navbar.scrolled .lang-btn {
    color: var(--text-light);
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .lang-btn:hover {
    color: var(--primary-blue);
    background: rgba(45, 45, 123, 0.06);
}

.lang-btn.active {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(232, 101, 26, 0.3);
}

.navbar.scrolled .lang-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(45, 45, 123, 0.2);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.kurdistan-flag {
    border-radius: 2px;
    vertical-align: middle;
    display: inline-block;
}

/* ========== MOBILE MENU ========== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    z-index: 1060;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}

.navbar.scrolled .menu-toggle span {
    background: var(--text-dark);
}

.menu-toggle.open span {
    background: var(--white) !important;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 94, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.open {
    display: flex;
    opacity: 1;
}

.mobile-overlay .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.mobile-overlay .mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: block;
    letter-spacing: 0.5px;
}

.mobile-overlay .mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-orange);
}

.mobile-overlay .mobile-lang-switcher {
    display: flex;
    gap: 3px;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

.mobile-overlay .mobile-lang-switcher .lang-btn {
    color: rgba(255, 255, 255, 0.65);
    padding: 10px 16px;
}

.mobile-overlay .mobile-lang-switcher .lang-btn.active {
    background: var(--primary-orange);
    color: var(--white);
}

.mobile-overlay .mobile-lang-switcher .lang-btn:hover {
    color: var(--white);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    contain: layout;
}

/* Dark overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 45, 0.7) 0%,
        rgba(20, 20, 70, 0.45) 45%,
        rgba(10, 10, 45, 0.75) 100%
    );
    z-index: 0;
}

/* Warm ambient glow */
.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, rgba(232, 165, 26, 0.08) 0%, transparent 65%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.05); }
}

/* Decorative dots */
.hero-dots {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-dots .dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatDot 6s ease-in-out infinite;
}

@keyframes floatDot {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 720px;
}

.hero-logo {
    width: 260px;
    max-width: 60vw;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
    filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.35));
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    box-shadow: 0 4px 24px rgba(232, 101, 26, 0.4);
    letter-spacing: 0.3px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 101, 26, 0.5);
    background: #d45a15;
}

.hero-cta:active {
    transform: translateY(0);
}

/* ========== HERO BOTTOM STATS BAR ========== */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 22px 40px;
    background: rgba(10, 10, 45, 0.5);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 40px;
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 165, 26, 0.12);
    border-radius: var(--radius-sm);
    color: #f0a830;
    flex-shrink: 0;
    border: 1px solid rgba(232, 165, 26, 0.2);
}

.hero-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2.5s ease-in-out infinite;
}

.hero-scroll svg {
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.35);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECTIONS SHARED ========== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 100px 24px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.feature-card {
    padding: 22px;
    background: var(--light-bg);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: default;
}

.feature-card:hover {
    border-color: rgba(45, 45, 123, 0.08);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--white);
}

.feature-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.hours-badge {
    position: absolute;
    bottom: -20px;
    right: 24px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 18px 26px;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(232, 101, 26, 0.3);
    text-align: center;
    z-index: 2;
}

body.rtl .hours-badge {
    right: auto;
    left: 24px;
}

.hours-badge .hours-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    opacity: 0.9;
}

.hours-badge .hours-time {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 4px;
}

/* ========== STORES/DIRECTORY SECTION ========== */
.stores {
    padding: 100px 24px;
    background: var(--light-bg);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.store-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    cursor: default;
}

.store-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: transparent;
}

.store-card img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: var(--transition);
}

.store-card:hover img {
    filter: grayscale(0%) opacity(1);
}

.store-card-placeholder {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.store-card:hover .store-card-placeholder {
    color: var(--primary-blue);
}

.stores-cta {
    text-align: center;
    margin-top: 40px;
}

.stores-cta-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stores-cta-text strong {
    color: var(--primary-orange);
    font-weight: 700;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    padding: 100px 24px;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-item.gallery-item--tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 45, 0.6) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.gallery-lightbox.open {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========== EVENTS/PROMOTIONS SECTION ========== */
.events {
    padding: 100px 24px;
    background: linear-gradient(145deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.events .section-label {
    color: rgba(232, 165, 26, 0.9);
}

.events .section-title {
    color: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.event-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.event-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.event-card-body {
    padding: 24px;
}

.event-card-date {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 10px;
    background: rgba(232, 101, 26, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

.event-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.event-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.events-empty {
    text-align: center;
    padding: 60px 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 100px 24px;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.rtl .contact-item {
    flex-direction: row-reverse;
}

.contact-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: transparent;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-blue), rgba(45, 45, 123, 0.85));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--primary-orange);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid rgba(45, 45, 123, 0.08);
    color: var(--primary-blue);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 45, 123, 0.2);
    border-color: transparent;
}

/* Map */
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(145deg, var(--gradient-start), var(--dark-blue));
    color: var(--white);
    padding: 36px 24px;
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-brand {
    font-weight: 600;
    color: var(--primary-orange);
    opacity: 1;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    animation: whatsappPulse 3s ease-in-out infinite;
}

body.rtl .whatsapp-btn {
    right: auto;
    left: 28px;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

body.rtl .whatsapp-tooltip {
    right: auto;
    left: 68px;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 96px;
    z-index: 998;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    color: var(--text-dark);
}

body.rtl .scroll-top-btn {
    right: auto;
    left: 96px;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

/* ========== RESPONSIVE — TABLET ========== */
@media (max-width: 968px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    .about-image-wrapper img {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.gallery-item--tall {
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ========== RESPONSIVE — MOBILE ========== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-logo {
        width: 200px;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 18px;
    }

    .hero-bottom-bar {
        padding: 16px 12px;
    }

    .hero-stat {
        padding: 0 12px;
        gap: 10px;
    }

    .hero-stat-icon {
        width: 36px;
        height: 36px;
        border-radius: var(--radius-xs);
    }

    .hero-stat-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero-stat-number {
        font-size: 1rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-stat-divider {
        height: 30px;
    }

    .hero-scroll {
        bottom: 82px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-map {
        min-height: 300px;
    }

    .contact-map iframe {
        min-height: 300px;
    }

    .scroll-top-btn {
        right: 84px;
        bottom: 22px;
        width: 40px;
        height: 40px;
    }

    body.rtl .scroll-top-btn {
        right: auto;
        left: 84px;
    }
}

/* ========== RESPONSIVE — SMALL MOBILE ========== */
@media (max-width: 480px) {
    .hero {
        min-height: 100svh;
    }

    .hero-logo {
        width: 170px;
    }

    .hero-tagline {
        font-size: 0.92rem;
        margin-bottom: 28px;
        padding: 0 8px;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.88rem;
    }

    .hero-stat-icon {
        display: none;
    }

    .hero-stat {
        padding: 0 8px;
        text-align: center;
    }

    .hero-stat-number {
        font-size: 0.88rem;
    }

    .hero-stat-label {
        font-size: 0.58rem;
    }

    .hero-bottom-bar {
        padding: 12px 6px;
    }

    .about,
    .contact,
    .stores,
    .gallery,
    .events {
        padding: 64px 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .store-card {
        padding: 16px 10px;
        min-height: 80px;
    }

    .event-card-image {
        height: 160px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
    }

    .feature-icon {
        margin-bottom: 0;
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .feature-card h4 {
        margin-bottom: 2px;
    }

    .hours-badge {
        right: 16px;
        bottom: -16px;
        padding: 14px 20px;
    }

    body.rtl .hours-badge {
        right: auto;
        left: 16px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    body.rtl .whatsapp-btn {
        right: auto;
        left: 20px;
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }

    .scroll-top-btn {
        right: 80px;
        bottom: 22px;
        width: 38px;
        height: 38px;
    }

    body.rtl .scroll-top-btn {
        right: auto;
        left: 80px;
    }

    .contact-item {
        padding: 16px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .about-image-wrapper img {
        height: 240px;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-dots .dot {
        display: none;
    }
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* ========== PERFORMANCE HINTS ========== */
.navbar {
    will-change: background-color, padding;
}

.whatsapp-btn {
    will-change: transform;
}
