/* ====== Reset & Base Styles ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

:root {
    --primary-red: #d45564;
    --dark-red: #E6001B;
    --dark-gray: #545454;
    --text-dark: #1C1C1C;
    --text-light: #F4F4F4;
    --background-light: rgba(244,244,244,0.9);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
      background: linear-gradient(135deg, #ffffff 0%, #f3f3f3 100%); 
    background-attachment: fixed;

    color: var(--text-dark);
    line-height: 1.6;
}

/* ====== Navbar ====== */
nav {
    background-color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

nav .logo img {
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

nav .logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--dark-red);
    background-color: rgba(255,255,255,0.1);
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--dark-red);
    border-radius: 6px;
    color: var(--dark-red);
    background: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--dark-red);
    color: white;
    transform: translateY(-2px);
}

/* ====== Hero Section ====== */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: var(--background-light);
    margin: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5em;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3em;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ====== Products Grid ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image::before {
    content: '🩺';
    font-size: 8em;
    opacity: 0.1;
}

.nitrile-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.nitrile-image::before {
    content: '🧤';
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--dark-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.product-content {
    padding: 30px;
}

.product-content h2 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.product-content p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.features-list {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.feature-icon {
    background: var(--primary-red);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    flex-shrink: 0;
}

.product-specs {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.spec-tag {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-red);
    border: 1px solid #e9ecef;
}

/* ====== Specifications Section ====== */
.specs-section {
    background: white;
    padding: 80px 5%;
    text-align: center;
}

.specs-section h2 {
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 50px;
    font-weight: 700;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.spec-item {
    background: var(--background-light);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.spec-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.spec-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.spec-item p {
    color: var(--dark-gray);
    font-weight: 500;
}

/* ====== CTA Section ====== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin: 40px 5%;
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--dark-red);
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

/* ====== Footer ====== */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 50px 20px 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer p {
    margin: 8px 0;
    font-size: 1.1em;
}

.footer-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff6b7a;
    text-decoration: underline;
}

/* ====== RTL Support ====== */
body[dir="rtl"] {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

body[dir="rtl"] .feature-item {
    flex-direction: row-reverse;
}

body[dir="rtl"] .product-badge {
    right: auto;
    left: 20px;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    nav ul {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 15px;
        margin: 10px;
    }
    
    .hero h1 {
        font-size: 2.5em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        margin: 20px;
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .product-content {
        padding: 20px;
    }
}