:root {
    --primary-blue: #0078D4; /* الأزرق الأساسي */
    --deep-blue: #004A87; /* الأزرق الداكن */
    --silver-grey: #A6A6A6; /* الرمادي الفضي */
    --clean-white: #ffffff; /* الأبيض النقي */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--clean-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Almarai', 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navbar */
.header {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(0, 120, 212, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 0;
}

.logo .highlight {
    color: var(--deep-blue);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.navbar .nav-links a:hover {
    color: var(--deep-blue);
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--deep-blue);
    transition: var(--transition);
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.lang-text {
    font-family: 'Cairo', sans-serif;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--clean-white);
    z-index: 1002;
    padding: 20px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    border-left: 2px solid var(--primary-blue);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-menu {
    text-align: left;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--deep-blue);
    padding-right: 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 0; /* Since header is fixed, maybe add pad top or logic */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 135, 0.5) 0%, rgba(0, 120, 212, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, #4da6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px; /* زوايا حادة بدلاً من دائرية */
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.4);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
    margin-right: 15px;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* Sections General */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.center-text {
    text-align: center;
}

.section-header h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-header p {
    color: #777;
    font-size: 1.1rem;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--deep-blue));
    margin: 15px auto 0;
    border-radius: 0; /* زوايا حادة */
    position: relative;
}

.section-header .line::after {
    content: '▲';
    position: absolute;
    right: 50%;
    top: -8px;
    transform: translateX(50%);
    color: var(--primary-blue);
    font-size: 10px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.about-text p {
    margin-bottom: 25px;
    color: #555;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.features-list li i {
    color: var(--primary-blue);
    margin-left: 10px;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--clean-white);
    padding: 20px;
}

.about-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.2);
}

/* Services Overview */
.services-overview {
    background: linear-gradient(135deg, var(--clean-white) 0%, #f5f9fc 100%);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(0, 120, 212, 0.01) 50px,
            rgba(0, 120, 212, 0.01) 100px
        );
    pointer-events: none;
    z-index: 0;
}

.services-overview .container {
    position: relative;
    z-index: 1;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--clean-white);
    padding: 40px 30px;
    border-radius: 8px; /* زوايا حادة */
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--deep-blue));
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 120, 212, 0.15);
}

.card:hover::before {
    width: 100%;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 120, 212, 0.1);
    color: var(--primary-blue);
    border-radius: 8px; /* زوايا حادة */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: var(--transition);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); /* شكل خماسي */
}

.card:hover .icon-box {
    background: var(--primary-blue);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.card h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Product Sections (Alternating) */
.product-section {
    overflow: hidden;
}

.decor-bg { 
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%); /* ألوان دافئة لمواد الزينة */
    position: relative;
}

.decor-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 120, 212, 0.02) 10px,
        rgba(0, 120, 212, 0.02) 20px
    );
    pointer-events: none;
}

.alt-bg { 
    background: linear-gradient(135deg, #fff0f5 0%, #ffe6f2 100%); /* وردي فاتح للعطور والتجميل */
    position: relative;
}

.alt-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(255, 182, 193, 0.05) 10px,
        rgba(255, 182, 193, 0.05) 20px
    );
    pointer-events: none;
}

.cleaning-bg { 
    background: linear-gradient(135deg, #ffffff 0%, #e6f3ff 100%); /* أبيض وأزرق فاتح لمواد التنظيف */
    position: relative;
}

.cleaning-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        30deg,
        transparent,
        transparent 15px,
        rgba(0, 120, 212, 0.02) 15px,
        rgba(0, 120, 212, 0.02) 30px
    );
    pointer-events: none;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.text-content h3::after {
    content: '▲';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 0.6em;
    opacity: 0.5;
}

.text-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.btn-light {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-light:hover {
    background-color: var(--deep-blue);
    transform: translateY(-2px);
}

.visual-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-card {
    background: var(--clean-white);
    padding: 30px;
    border-radius: 8px; /* زوايا حادة */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%); /* شكل خماسي */
    border: 1px solid rgba(0, 120, 212, 0.1);
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.2);
}

.visual-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: var(--transition);
}

.visual-card:hover i {
    color: var(--deep-blue);
    transform: scale(1.1);
}

.visual-card span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.icon-display {
    text-align: center;
    font-size: 10rem;
    color: var(--silver-grey);
    position: relative;
}

.icon-display::before {
    content: '▲';
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 0.3em;
    color: var(--primary-blue);
    opacity: 0.3;
}

/* Why Us */
.why-us {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.03) 20px,
        rgba(255, 255, 255, 0.03) 40px
    );
    pointer-events: none;
}

.why-us .section-header h3 {
    color: #fff;
}

.why-us .section-header p {
    color: rgba(255,255,255,0.7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-item {
    position: relative;
}

.stat-item::before {
    content: '▲';
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

/* Gallery - Simple Grids */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    height: 300px;
}

.gallery-item {
    background-color: #ddd;
    border-radius: 8px; /* زوايا حادة */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 120, 212, 0.2) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.3);
}

/* Gallery items now use actual images from HTML */

.gallery-item:hover {
    transform: scale(1.02);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 50px;
    background: #fff;
    border-radius: 8px; /* زوايا حادة */
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 120, 212, 0.1);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f7ff 100%);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-left: 20px;
    margin-top: 5px;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-map {
    flex: 1.5;
    position: relative;
}

.contact-map iframe {
    height: 100%;
    width: 100%;
}

.map-note {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #001f3f 100%);
    color: #aaa;
    padding: 30px 0;
    font-size: 0.9rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

@keyframes shine {
    0% { left: -50%; top: -50%; }
    100% { left: 150%; top: 150%; }
}

/* Transition Utility Classes (controlled by JS Observer) */
.animate-up, .fade-in, .animate-left, .animate-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.animate-left { transform: translateX(-30px); }
.animate-right { transform: translateX(30px); }

.show {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .hero h2 { font-size: 2.5rem; }
    .about-grid, .content-wrapper, .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .content-wrapper.reverse { flex-direction: column; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar .nav-links { display: none; } /* Hide desktop nav */
    .language-switcher { order: -1; } /* Move language button before hamburger */
    .hamburger { display: block; } /* Show hamburger */
    .contact-map { height: 300px; width: 100%; }
}

@media (max-width: 600px) {
    .section-header h3 { font-size: 2rem; }
    .hero h2 { font-size: 2rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .gallery-grid { grid-template-columns: 1fr; }
}
