/* ====== 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.95);
    --card-shadow: 0 15px 35px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-green: #28a745;
}

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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== 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 ====== */
.contact-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);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}

.hero-content h1 {
    font-size: 3.5em;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3em;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ====== Contact Section ====== */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */
.contact-info h2 {
    font-size: 2.2em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info > p {
    color: var(--dark-gray);
    margin-bottom: 40px;
    font-size: 1.1em;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--background-light);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-method:hover {
    border-color: var(--primary-red);
    transform: translateX(5px);
}

.method-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.method-content h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.2em;
}

.method-content p {
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 0.95em;
}

.contact-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

.contact-text {
    color: var(--text-dark);
    font-weight: 600;
}

/* Business Hours */
.business-hours {
    background: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-red);
}

.business-hours h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.hour-item span:last-child {
    color: var(--dark-gray);
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.contact-form h2 {
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-form > p {
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(212, 85, 100, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 85, 100, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

/* ====== Quick Actions ====== */
.quick-actions {
    padding: 80px 0;
    background: var(--background-light);
}

.quick-actions h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 50px;
    font-weight: 700;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.action-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-red);
}

.action-card.whatsapp::before {
    background: #25D366;
}

.action-card.email::before {
    background: #EA4335;
}

.action-card.products::before {
    background: #4285F4;
}

.action-card.phone::before {
    background: #34A853;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.action-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.action-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 600;
}

.action-card p {
    color: var(--dark-gray);
    margin: 0;
}

/* ====== Map Section ====== */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 50px;
    font-weight: 700;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.map-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.map-content h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 600;
}

.map-content p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* ====== Footer ====== */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 50px 20px 30px;
}

.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"] .contact-method:hover {
    transform: translateX(-5px);
}

body[dir="rtl"] .business-hours {
    border-left: none;
    border-right: 4px solid var(--primary-red);
}

body[dir="rtl"] .hour-item {
    flex-direction: row-reverse;
}

/* ====== Responsive Design ====== */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@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;
    }
    
    .contact-hero {
        padding: 80px 20px;
        margin: 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-method:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .map-content h3 {
        font-size: 1.5em;
    }
    
    .map-content p {
        font-size: 1em;
    }
    
    .hour-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}