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

:root {
    /* Colors - Dark Theme (Default) */
    --gold: #D4AF37;
    --gold-light: #E8D48A;
    --gold-dark: #B8960F;
    --black: #0A0A0A;
    --dark: #1A1A1A;
    --dark-gray: #2A2A2A;
    --gray: #888888;
    --light-gray: #CCCCCC;
    --white: #FFFFFF;
    --cream: #F5F5DC;

    /* Theme Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --bg-card: rgba(255, 255, 255, 0.02);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-arabic: 'Noto Kufi Arabic', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Shadows */
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 5px 30px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(0, 0, 0, 0.02);
    --text-primary: #1A1A1A;
    --text-secondary: #444444;
    --text-muted: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 1px;
    background: var(--gold);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 40px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.diamond {
    width: 40px;
    height: 40px;
    background: var(--gold);
    transform: rotate(45deg);
    animation: pulse 1s infinite ease-in-out;
    margin: 0 auto 20px;
}

@keyframes pulse {

    0%,
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) scale(1.2);
        opacity: 0.7;
    }
}

.loader span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 60%, transparent 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    padding: 10px 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

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

.logo img {
    height: 70px;
    transition: var(--transition-fast);
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
}

.navbar.scrolled .logo img {
    height: 48px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--white);
    position: relative;
    padding: 10px 0;
    transition: var(--transition-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -22px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    transition: var(--transition-fast);
    opacity: 0.6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: var(--transition-fast);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.nav-link:hover {
    color: var(--gold);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.nav-link:hover::before {
    width: 18px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
    transform: none;
}

.nav-link.active {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.nav-contact .phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    transition: var(--transition-fast);
}

.nav-contact .phone-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.nav-contact .phone-link i {
    font-size: 0.9rem;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    cursor: pointer;
    margin-left: 15px;
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.lang-toggle .lang-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    transition: var(--transition-fast);
}

.lang-toggle:hover .lang-text {
    color: var(--black);
}

/* Light Theme - Language Toggle */
[data-theme="light"] .lang-toggle {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .lang-toggle:hover {
    background: var(--gold);
    border-color: var(--gold);
}

[data-theme="light"] .lang-toggle .lang-text {
    color: var(--gold-dark);
}

[data-theme="light"] .lang-toggle:hover .lang-text {
    color: var(--white);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    cursor: pointer;
    margin-left: 10px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.theme-toggle:hover::before {
    width: 200%;
    height: 200%;
}

.theme-toggle:hover {
    border-color: var(--gold);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.theme-toggle i {
    font-size: 0.9rem;
    color: var(--gold);
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.theme-toggle:hover i {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

/* Light Mode - Theme Toggle Shows Sun */
[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: scale(0);
    position: absolute;
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

/* Light Theme - Theme Toggle Base Styles */
[data-theme="light"] .theme-toggle {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .theme-toggle:hover {
    background: var(--gold);
}

[data-theme="light"] .theme-toggle i {
    color: var(--gold-dark);
}

[data-theme="light"] .theme-toggle:hover i {
    color: var(--white);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
    background: var(--gold);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background: var(--gold);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.slide-content h1 {
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 40px;
}

.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-text.delay-1 {
    animation-delay: 0.3s;
}

.animate-text.delay-2 {
    animation-delay: 0.6s;
}

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

.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: var(--dark);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    filter: brightness(0.9);
}

.image-frame {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 2px solid var(--gold);
    z-index: -1;
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    padding: 25px 35px;
    text-align: center;
}

.floating-badge .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
}

.floating-badge .text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content p strong {
    color: var(--gold);
}

.about-content .btn {
    margin-top: 20px;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: var(--section-padding);
    background: var(--black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    transition: var(--transition-medium);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.2rem;
    transform: scale(0);
    transition: var(--transition-fast);
}

.product-card:hover .view-btn {
    transform: scale(1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-medium);
}

.feature-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: var(--section-padding);
    background: var(--black);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.gallery-title {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.gallery-zoom {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    color: var(--black);
    font-size: 1rem;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-zoom {
    transform: translateY(0);
    opacity: 1;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    text-align: center;
    transition: var(--transition-medium);
}

.contact-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--black);
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    color: var(--light-gray);
}

.contact-card a:hover {
    color: var(--gold);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    filter: brightness(0.8);
}

.map-container iframe {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    padding: 80px 0 0;
}

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

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.footer-about p strong {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 4px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--white);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    color: var(--black);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .nav-container {
        position: relative;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        order: 1;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 2;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-fast);
        order: 3;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-contact {
        margin-left: auto;
        order: 3;
        gap: 8px;
    }

    .nav-contact .phone-link {
        display: none;
    }

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

    .about-image {
        order: 0;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .floating-badge {
        right: auto;
        left: 20px;
        bottom: -20px;
        padding: 20px 25px;
    }

    .image-frame {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }

    .cta-banner {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .slider-controls {
        bottom: 80px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    position: relative;
}

.theme-toggle:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.theme-toggle .fa-sun {
    color: var(--gold);
    opacity: 1;
}

.theme-toggle .fa-moon {
    color: var(--white);
    opacity: 0;
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 0;
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 1;
    color: var(--text-primary);
}

.theme-toggle:hover i {
    color: var(--black);
}

.nav-contact {
    display: flex;
    align-items: center;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    cursor: pointer;
    margin-left: 15px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.lang-toggle .lang-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.lang-toggle:hover .lang-text {
    color: var(--black);
}

/* Light theme for language toggle */
[data-theme="light"] .lang-toggle {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .lang-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] span,
[dir="rtl"] button,
[dir="rtl"] li {
    font-family: var(--font-arabic);
}

[dir="rtl"] .section-tag {
    padding-left: 0;
    padding-right: 50px;
}

[dir="rtl"] .section-tag::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .about-grid {
    direction: rtl;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* RTL Mobile Navigation */
@media (max-width: 992px) {
    [dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
        flex-direction: column;
    }

    [dir="rtl"] .nav-menu.active {
        left: 0;
    }

    [dir="rtl"] .logo {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .nav-contact {
        margin-left: 0;
        margin-right: auto;
        gap: 8px;
    }

    [dir="rtl"] .lang-toggle {
        margin-left: 0;
        margin-right: 15px;
    }

    [dir="rtl"] .theme-toggle {
        margin-left: 0;
        margin-right: 15px;
    }
}


/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    right: auto;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-fast);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ===== ABOUT STATS ===== */
.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ===== CONTACT GRID UPDATE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

/* ===== LIGHT THEME SECTION OVERRIDES ===== */
[data-theme="light"] .navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

[data-theme="light"] .nav-link {
    color: var(--text-primary);
}

[data-theme="light"] .nav-link::before {
    background: linear-gradient(90deg, transparent, var(--gold));
}

[data-theme="light"] .nav-link:hover {
    color: #B8960F;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

[data-theme="light"] .nav-link.active {
    color: #B8960F;
}

[data-theme="light"] .nav-toggle {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .nav-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .nav-toggle span {
    background: var(--text-primary);
}

[data-theme="light"] .nav-toggle.active span {
    background: #B8960F;
}

[data-theme="light"] .logo img {
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.2));
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: var(--text-primary);
}

[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-contact h4 {
    color: var(--text-primary);
}

[data-theme="light"] .feature-card h3,
[data-theme="light"] .contact-card h3 {
    color: var(--text-primary);
}

[data-theme="light"] .slide-content h1,
[data-theme="light"] .slide-content p {
    color: var(--text-primary);
}

[data-theme="light"] .section-header h2 {
    color: var(--text-primary);
}

[data-theme="light"] .about-content h2 {
    color: var(--text-primary);
}

[data-theme="light"] .product-info h3 {
    color: var(--text-primary);
}

[data-theme="light"] .gallery-title {
    color: var(--text-primary);
}

[data-theme="light"] .cta-content h2,
[data-theme="light"] .cta-content p {
    color: var(--text-primary);
}

[data-theme="light"] .stat-number {
    color: var(--text-primary);
}

[data-theme="light"] .lightbox-caption {
    color: var(--text-primary);
}

[data-theme="light"] .floating-badge .number {
    color: var(--text-primary);
}

[data-theme="light"] .scroll-indicator {
    color: var(--text-primary);
}

[data-theme="light"] .whatsapp-float {
    display: none;
}

[data-theme="light"] .about {
    background: var(--bg-secondary);
}

[data-theme="light"] .products {
    background: var(--bg-primary);
}

[data-theme="light"] .product-card {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-small);
}

[data-theme="light"] .features {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="light"] .feature-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: var(--shadow-small);
}

[data-theme="light"] .gallery {
    background: var(--bg-primary);
}

[data-theme="light"] .filter-btn {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

[data-theme="light"] .contact {
    background: var(--bg-secondary);
}

[data-theme="light"] .contact-card {
    background: var(--bg-primary);
    border-color: var(--border-color);
    box-shadow: var(--shadow-small);
}

[data-theme="light"] .footer {
    background: #1A1A1A;
}

[data-theme="light"] .nav-menu {
    background: transparent;
}

[data-theme="light"] .preloader {
    background: var(--bg-primary);
}

[data-theme="light"] .lightbox {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .lightbox-close,
[data-theme="light"] .lightbox-prev,
[data-theme="light"] .lightbox-next {
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .scroll-top {
    box-shadow: var(--shadow-medium);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    right: auto;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

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

/* Hide WhatsApp in light mode */
[data-theme="light"] .whatsapp-float {
    display: none;
}

/* ===== RESPONSIVE FOR NEW ELEMENTS ===== */
@media (max-width: 992px) {
    /* Mobile Navigation Layout: menu button -- logo -- language & theme toggles */
    .nav-toggle {
        display: flex;
        z-index: 1001;
        order: 1;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 2;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 120px 40px 40px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        order: 3;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 15px 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-link::before {
        display: none;
    }

    /* Nav Contact - Language and Theme Toggles */
    .nav-contact {
        display: flex;
        align-items: center;
        margin-left: auto;
        order: 3;
        gap: 8px;
    }

    /* Hide phone number on mobile */
    .nav-contact .phone-link {
        display: none;
    }

    /* Language and Theme Toggle on Mobile */
    .lang-toggle {
        margin-left: 0;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .theme-toggle {
        padding: 8px 14px;
    }

    .theme-toggle i {
        font-size: 0.85rem;
    }

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

    /* RTL (Arabic) Mobile Support */
    [dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
        flex-direction: column;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
    }

    [dir="rtl"] .nav-menu.active {
        left: 0;
    }

    [dir="rtl"] .logo {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .nav-contact {
        margin-left: 0;
        margin-right: auto;
    }

    [dir="rtl"] .lang-toggle {
        margin-left: 0;
        margin-right: 0;
    }

    [dir="rtl"] .theme-toggle {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(33.33% - 20px);
    }

    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .stat-item {
        flex: 0 0 100%;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}