/* ===== ROOT VARIABLES (Theme 1: Custom Dark Navy - Default) ===== */
:root {
    --color-primary: #1e1b4b;        /* Navy Blue Primary */
    --color-secondary: #d4af37;      /* Golden Luxury */
    --color-accent: #6366f1;         /* Indigo Accent */
    --color-background: #0f172a;     /* Deep Navy Background */
    --color-card: #1e293b;           /* Lighter Navy for Cards/Sections */
    --color-text: #f8fafc;           /* High Contrast Text */
    --color-text-light: #cbd5e1;     /* Soft Slate Text */
    --color-white: #ffffff;
    --color-black: #000000;
    --font-family: "Tajawal", sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-duration: 0.4s;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

/* Theme 2: Soft Light */
[data-theme="light"] {
    --color-primary: #0f172a;
    --color-secondary: #0891b2;      /* Teal */
    --color-accent: #3b82f6;         /* Blue */
    --color-background: #f8fafc;     /* Off-white */
    --color-card: #ffffff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Theme 3: Dark Contrast */
[data-theme="contrast"] {
    --color-primary: #000000;
    --color-secondary: #3b82f6;      /* Bright Blue */
    --color-accent: #a855f7;         /* Bright Purple */
    --color-background: #020617;     /* Near Black */
    --color-card: #000000;
    --color-text: #ffffff;           /* Pure White */
    --color-text-light: #94a3b8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Theme 4: Classic Original */
[data-theme="classic"] {
    --color-primary: #020617;
    --color-secondary: #d4af37;
    --color-accent: #8b5cf6;
    --color-background: #0f172a;
    --color-card: #1a1a2e;
    --color-text: #f1f5f9;
    --color-text-light: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
    transition: background-color 0.4s ease, color 0.4s ease;
}

section, .navbar, .card, .product-card, .category-card, .footer, .settings-panel, .contact-card {
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-duration) var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.35rem; }

p {
    font-size: 1.125rem;
    font-weight: var(--font-weight-normal);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-duration) var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-duration) var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (min-width: 768px) {
    .nav-container {
        padding: 0 3rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.logo-icon {
    color: var(--color-secondary);
    font-size: 1.75rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: var(--font-weight-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width var(--transition-duration) var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--color-secondary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.4s var(--transition-smooth);
    }
    .nav-links.active {
        display: flex;
        right: 0;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(26, 26, 46, 0.5) 50%,
        rgba(26, 26, 46, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 900px;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--color-secondary);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-secondary);
    font-weight: var(--font-weight-normal);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 1rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
}

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

/* ===== SECTION STYLES ===== */
section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: "—";
    margin: 0 0.5rem;
    color: var(--color-accent);
}

.section-title {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--color-white);
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-card) 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: block;
}

.category-image {
    position: absolute;
    inset: 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 46, 0.9) 0%,
        rgba(26, 26, 46, 0.3) 50%,
        transparent 100%
    );
    transition: background var(--transition-duration) var(--transition-smooth);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    color: var(--color-white);
    text-align: center;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: var(--font-weight-normal);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-duration) var(--transition-smooth);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(
        to top,
        rgba(26, 26, 46, 0.95) 0%,
        rgba(26, 26, 46, 0.5) 60%,
        rgba(26, 26, 46, 0.2) 100%
    );
}

.category-card:hover .category-link {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FEATURED SECTION ===== */
.featured {
    background-color: var(--color-background);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-main {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.product-card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-duration) var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.featured-main .product-image {
    aspect-ratio: 16/10;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius-sm);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.875rem;
    color: var(--color-secondary);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.featured-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-card) 100%);
    position: relative;
    overflow: hidden;
}

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

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.about-content .section-label {
    text-align: right;
    display: block;
}

.about-content .section-label::before {
    display: none;
}

.about-content .section-title {
    text-align: right;
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 4px solid var(--color-secondary);
    border-radius: var(--border-radius-md);
    z-index: -1;
}

/* ===== STATS SECTION ===== */
.stats {
    background-color: var(--color-primary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    color: var(--color-white);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    display: inline;
}

.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
}

.stat-label {
    display: block;
    font-size: 1.125rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* ===== CONTACT STRIP ===== */
.contact-strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a2a4e 100%);
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-duration) var(--transition-smooth);
}

.contact-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    transition: all var(--transition-duration) var(--transition-smooth);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-card.whatsapp .contact-icon {
    background-color: #25D366;
    color: white;
}

.contact-card.phone .contact-icon {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.contact-card.location .contact-icon {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px currentColor;
}

.contact-label {
    font-size: 1.125rem;
    color: var(--color-white);
    font-weight: var(--font-weight-normal);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-primary);
    padding: 4rem 0 0;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.footer-links ul li,
.footer-contact ul li,
.footer-hours ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-duration) var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.footer-hours li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--color-secondary);
    transition: color var(--transition-duration) var(--transition-smooth);
}

.footer-bottom a:hover {
    color: var(--color-white);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-duration) var(--transition-smooth);
    opacity: 0;
    transform: scale(0);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero .hero-image {
    animation: none;
}

.page-hero .hero-content {
    text-align: center;
}

.page-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

/* ===== PRODUCTS GRID ===== */
.products-section {
    background-color: var(--color-background);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    background-color: var(--color-background);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-info-card {
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-duration) var(--transition-smooth);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-info-card .contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--color-background);
    border-radius: 50%;
}

.contact-info-card .contact-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-secondary);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.contact-info-card a {
    color: var(--color-secondary);
    font-weight: var(--font-weight-normal);
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 2rem; }

/* ===== CUSTOMIZATION MODE ===== */
body.customize-mode img {
    cursor: crosshair;
    outline: 3px dashed var(--color-secondary);
    outline-offset: -3px;
    position: relative;
    transition: all 0.2s ease;
}

body.customize-mode img:hover {
    filter: brightness(0.7);
}

body.customize-mode img::after {
    content: "تغيير الصورة";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-bold);
    pointer-events: none;
}

