/* ==========================================
   Root Variables & Reset
   ========================================== */
:root {
    --primary-color: #16a34a;
    --secondary-color: #0284c7;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contacts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    transition: opacity 0.3s;
}

.top-bar-link:hover {
    opacity: 0.8;
}

.working-hours {
    font-size: 0.85rem;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--dark-color);
    transition: color 0.3s;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-menu {
    display: none;
    background: white;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-top: 10px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu nav a {
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu nav a:hover {
    background: var(--light-color);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background: #20b957;
}

.desktop-cta {
    display: inline-flex;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.text-primary {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .check {
    background: var(--primary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: 80px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.service-content p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    padding: 8px 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-images {
    display: grid;
    gap: 20px;
}

.about-images img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-images img.mt-8 {
    margin-top: 20px;
}

.why-choose {
    background: var(--light-color);
    padding: 60px;
    border-radius: 20px;
}

.why-choose h3 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.features-grid-why {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card-why {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card-why:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-card-why h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-card-why p {
    color: #6b7280;
    line-height: 1.7;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery {
    padding: 80px 0;
    background: var(--light-color);
}

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

.filter-btn {
    padding: 10px 25px;
    border-radius: 8px;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-overlay span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(22, 163, 74, 0.05);
    transform: translateX(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card p {
    color: #6b7280;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-column p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: #d1d5db;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
}

.contact-list li i {
    color: var(--primary-color);
}

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

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

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #d1d5db;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ==========================================
   Lightbox
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--primary-color);
}

.lightbox-content {
    max-width: 1000px;
    width: 100%;
}

.lightbox-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-info {
    text-align: center;
    color: white;
    margin-top: 20px;
}

.lightbox-info p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.lightbox-info span {
    opacity: 0.8;
}

/* ==========================================
   Toast Notification
   ========================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: none;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10001;
    animation: slideIn 0.3s ease;
}

.toast.active {
    display: flex;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .desktop-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .why-choose {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid-why {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .toast {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */
.mt-8 {
    margin-top: 2rem;
}

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

/* ==========================================
   Smooth Scrolling
   ========================================== */
html {
    scroll-behavior: smooth;
}
