/* الملف المشترك للتنسيق - shared.css */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #005e7c;
    --secondary-color: #e8a541;
    --background-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
    --footer-bg: #003a4e;
    --primary-color-rgb: 0, 94, 124;
    --secondary-color-rgb: 232, 165, 65;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    direction: rtl;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* تنسيق الهيدر */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    white-space: nowrap;
    display: inline-block;
}

.logo span {
    color: var(--secondary-color);
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.nav-menu ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.nav-menu li {
    margin: 0 1.2rem;
    position: relative;
    white-space: nowrap;
}

.nav-menu li:last-child {
    margin-right: 0;
}

.nav-menu li:first-child {
    margin-left: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.7rem 0.5rem;
    position: relative;
    display: block;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-menu a:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* أنماط خاصة للقائمة في الشاشات الكبيرة */
.desktop-menu ul {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    width: 100%;
}

.desktop-menu li {
    display: inline-block;
    white-space: nowrap;
    margin: 0 0.8rem !important;
}

.desktop-menu li:last-child {
    margin-left: 0 !important;
}

.desktop-menu li:first-child {
    margin-right: 0 !important;
}

.desktop-menu a {
    display: inline-block;
    white-space: nowrap;
}

/* الفوتر */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding-right: 0.5rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.3rem 0;
    display: inline-block;
}

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

.footer-bottom {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 0.6rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* العنوان الرئيسي للصفحة */
.page-title {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* البطاقات والأقسام */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* الأزرار */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #004a63;
}

.btn-secondary {
    background-color: #0786ae;
}

.btn-secondary:hover {
    background-color: #d89933;
}

/* تخطيط الشبكة */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* الجدول */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

table th, table td {
    padding: 0.75rem;
    text-align: right;
    border: 1px solid var(--border-color);
}

table th {
    background-color: var(--primary-color);
    color: white;
}

table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* تحسينات الأداء وتوافق الموبايل */
img {
    max-width: 100%;
    height: auto;
}

/* طبقة التغطية للقائمة في وضع الموبايل */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* التوافق مع الهواتف المحمولة */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 1002;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .nav-menu, .desktop-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 4rem 2rem 2rem;
        transition: right 0.3s ease;
        flex-direction: column;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active, .desktop-menu.active {
        right: 0;
    }
    
    .nav-menu ul, .desktop-menu ul {
        flex-direction: column !important;
        width: 100%;
    }
    
    .nav-menu li, .desktop-menu li {
        margin: 0.8rem 0 !important;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a, .desktop-menu a {
        display: block;
        padding: 0.8rem;
        width: 100%;
    }
    
    .header-container {
        position: relative;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        min-width: 100%;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }

    /* تحسين عرض البطاقات على الأجهزة الصغيرة */
    .quick-cards, .official-links {
        grid-template-columns: 1fr;
    }
}

/* للأجهزة المتوسطة مثل التابلت */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .container {
        padding: 0 20px;
    }
}

/* تحسينات الأداء */
@media print {
    header, footer, .hero-buttons, .mobile-toggle {
        display: none;
    }
}

/* ===== الوصول السريع ===== */
.quick-access {
    margin-bottom: 3rem;
}

/* أنماط قسم من نحن */
.about-us-section {
    padding: 4rem 0;
    background-color: #f7fafd;
    margin-bottom: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-icons {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-icons:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-icons:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.about-icon-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f4f9ff, #e6f0ff);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-icon-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-icon-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(var(--primary-color-rgb), 0.1), transparent 70%);
    z-index: 1;
}

.about-icon-item i {
    font-size: 3rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
}

.about-icon-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.about-icon-item:nth-child(1) i {
    color: #005e7c; /* أزرق مائل للخضرة */
}

.about-icon-item:nth-child(2) i {
    color: #e8a541; /* ذهبي */
}

.about-icon-item:nth-child(3) i {
    color: #e84c41; /* أحمر */
}

.about-icon-item:nth-child(4) i {
    color: #41b883; /* أخضر */
}

.about-text {
    flex: 2;
    min-width: 300px;
    padding: 1rem;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.about-text h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.team-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
    border-radius: 12px;
    border-right: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-message:hover {
    transform: translateY(-5px);
}

.team-message p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.team-message .btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-message .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* أنماط قسم الاقتباسات */
.quotes-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff, #f4f9ff);
    margin-bottom: 3rem;
}

.quotes-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.quote {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.quote:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 0 10px;
}

.quote i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.3;
}

.quote p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 500;
    flex-grow: 1;
}

.quote-author {
    display: block;
    text-align: left;
    color: #666;
    font-style: italic;
    font-size: 1rem;
    margin-top: auto;
}

/* أنماط قسم المناسبات المحلية */
.local-events-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.local-events {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.event-date:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.3), transparent 70%);
    z-index: 1;
}

.event-date .day {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 2;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.event-info {
    padding: 1.5rem;
    flex: 1;
}

.event-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.event-info p {
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.event-location, .event-details {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.event-location i, .event-details i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.local-events-message {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.local-events-message:hover {
    transform: translateY(-3px);
}

.local-events-message i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.local-events-message p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

/* أنماط قسم النصائح */
.tips-section {
    padding: 5rem 0;
    background-color: #f7fafd;
    margin-bottom: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tip-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tip-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.03), rgba(var(--secondary-color-rgb), 0.03));
    border-radius: 15px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-card:hover:before {
    opacity: 1;
}

.tip-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}

.tip-icon:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.tip-card:hover .tip-icon:before {
    opacity: 0.5;
}

.tip-icon i {
    color: white;
    font-size: 2.3rem;
}

.tip-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.tip-card p {
    color: #555;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .quotes-container, 
    .local-events, 
    .tips-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .quotes-container, 
    .local-events, 
    .tips-container {
        grid-template-columns: 1fr;
    }
    
    .event-date {
        min-width: 80px;
        padding: 1rem;
    }
    
    .event-date .day {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .quote p {
        font-size: 1.1rem;
    }
    
    .tip-icon {
        width: 70px;
        height: 70px;
    }
    
    .tip-icon i {
        font-size: 1.8rem;
    }
    
    .tip-card h3 {
        font-size: 1.3rem;
    }
}

/* أنماط قسم الاتصال بنا */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f4f9ff, #ffffff);
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 15px rgba(var(--primary-color-rgb), 0.2);
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item p {
    color: #555;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    background-color: white;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        margin-bottom: 2rem;
    }
}

/* ===== معرض الصور ===== */

/* طبقة التغطية للقائمة المتنقلة */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        z-index: 1001;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: block;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        padding: 15px 0;
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}
