/* ===== الخطوط ===== */
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');
        
        /* ===== متغيرات CSS ===== */
        :root {
            --primary-color: #000000;
            --secondary-color: #c8a45c;
            --dark-gray: #333333;
            --light-gray: #f5f5f5;
            --white: #ffffff;
            --transition: all 0.3s ease;
            --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* ===== إعادة تعيين عامة ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Tajawal', sans-serif;
            background-color: var(--white);
            color: var(--primary-color);
            overflow-x: hidden;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgb(255, 255, 255),
        transparent
    );
    transition: 0.5s ease;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 164, 92, 0.3);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(200, 164, 92, 0.2);
}

.btn:hover::before {
    left: 100%;
}
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 36px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            text-transform: uppercase;
        }
        
        .section-title .line {
            width: 80px;
            height: 3px;
            background-color: var(--secondary-color);
            margin: 0 auto;
        }
        
        section {
            padding: 80px 0;
        }
        
        /* ===== الهيدر والتنقل ===== */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            background-color: transparent;
            transition: var(--transition);
            padding: 20px 0;
        }
        
        header.scrolled {
    background: rgba(0, 0, 0, 0.74);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
}
        
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            position: relative;
            display: inline-flex;
            align-items: center;
            font-size: 28px;
            font-weight: 900;
            letter-spacing: 1px;
            overflow: hidden;
        }
        

        .logo-img {
    position: absolute;
    top: 50%;
    right: -100px;
    height: 40px;
    width: auto;
    opacity: 0;
    transform: translateY(-50%);
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo-text, .text-s {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 20%,
        rgba(255, 255, 255, 1) 40%,
        rgba(255, 255, 255, 0.9) 60%,
        rgba(255, 255, 255, 1) 80%,
        rgba(255, 255, 255, 0.9) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: shimmer 2s infinite linear;
    background-size: 200% 100%;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    filter: brightness(1.2);
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* حذف التأثير القديم */
.logo-text::before, .text-s::before {
    display: none;
}

/* عند التمرير */
header.scrolled .logo-text,
header.scrolled .text-s {
    transform: translateX(100px);
    opacity: 0;
    visibility: hidden;
    filter: blur(3px);
}

header.scrolled .logo-img {
    right: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) rotate(360deg);
}

/* إضافة تأثير الخلفية المتحركة */
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.10s;
}

header.scrolled .logo::before {
    right: 100%;
}
        
        .nav-menu {
            display: flex;
            align-items: center;
        }
        
        .nav-list {
            display: flex;
        }
        
        .nav-item {
            margin: 0 15px;
        }
        
        .nav-link {
            color: var(--white);
            font-weight: 500;
            padding: 5px 3px;
            position: relative;
            transition: var(--transition);
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 0;
            height: 2px;
            background-color: var (--secondary-color);
            transition: width 0.3s ease-in-out;
        }
        
        .nav-link:hover {
            color: var(--secondary-color);
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-btn {
    margin-right: 20px;
    position: relative;
    overflow: hidden;
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    border-radius: 10px;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgb(255, 255, 255),
        transparent
    );
    transition: 0.5s ease;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.nav-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgb(200, 164, 92);
}

.nav-btn:hover::before {
    left: 100%;
}

/* تأثير عند التمرير */
header.scrolled .nav-btn {
    background-color: var(--secondary-color);
    transform: scale(0.95);
}

header.scrolled .nav-btn:hover {
    background-color: var(--primary-color);
    transform: scale(0.95) translateY(-3px);
}



/* تحريك الزر عند فتح القائمة في الموبايل */
@media (max-width: 992px) {
    .nav-btn {
        margin: 20px auto 0;
        display: inline-block;
    }

    .nav-menu.active .nav-btn {
        animation: slideIn 0.5s ease forwards;
    }

    @keyframes slideIn {
        0% {
            transform: translateY(20px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
}
        
        .hamburger {
            display: none;
            cursor: pointer;
        }
        
        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            background-color: var(--white);
            transition: var(--transition);
        }

        /* ===== قسم الترحيب ===== */
        .hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 1px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: absolute;
    left: 34.3%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* General Styles */
.hero-titles {
    position: relative;
    height: auto;
    min-height: 120px;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.9);
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7);
    }
    to {
        text-shadow: 0px 0px 30px rgba(255, 255, 255, 1);
    }
}

.hero-title.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 20px auto 40px;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
}

.hero .btn {
    font-size: 16px;
    padding: 15px 40px;
    margin-top: 20px;
    border-radius: 50px;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(200, 164, 92, 0.4);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
      font-size: 28px !important;
      line-height: 1.3;
    }
    
    .hero-description {
      font-size: 14px;
      padding: 0 15px;
    }
    
    .hero .btn {
      padding: 10px 25px;
      font-size: 14px;
    }
    
    .hero-content {
      left: 50%;
      width: 90%;
      transform: translate(-50%, -50%);
    }
  }

/* Title Animation */
@keyframes titleFade {
    0%, 20% {
        opacity: 1;
        transform: translateY(0);
    }
    25%, 95% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 0;
        transform: translateY(50px);
    }
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.scroll-down i {
    font-size: 24px;
    color: var(--white);
}
        
        /* ===== قسم عن الشركة ===== */
        .about {
    background: linear-gradient(135deg, 
        rgba(200, 164, 92, 0.05) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(200, 164, 92, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(200, 164, 92, 0.1),
        transparent 60%
    );
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at bottom left,
        rgba(200, 164, 92, 0.1),
        transparent 60%
    );
}

.about-content {
    position: relative;
    z-index: 2;
}
        
        .about-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .about-image {
            flex: 1 1 400px;
            margin-left: 50px;
            position: relative;
            overflow: hidden;
        }

        .about-image img {
            position: relative;
            z-index: 2;
            box-shadow: var(--box-shadow);
        }

        .about-image::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: var(--secondary-color);
            bottom: -20px;
            right: -20px;
            z-index: 1;
        }
        
        .about-text {
            flex: 1 1 400px;
        }
        
        .about-title {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .about-title::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--secondary-color);
            bottom: -10px;
            right: 0;
        }
        
        .about-description {
            margin-bottom: 25px;
            line-height: 1.8;
            color: var(--dark-gray);
        }
        
        .about-stats {
            display: flex;
            flex-wrap: wrap;
            margin-top: 40px;
        }
        
        .stat-item {
            flex: 1 1 150px;
            margin-left: 30px;
            margin-bottom: 20px;
        }
        
        .stat-number {
            font-size: 42px;
            font-weight: 700;
            color: var (--secondary-color);
            margin-bottom: 10px;
        }
        
        .stat-title {
            font-size: 16px;
            color: var (--dark-gray);
        }
        
         .services {
            background: linear-gradient(to bottom, var(--light-gray), #fff);
            position: relative;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 25px;
            padding: 20px 0;
        }
        
        .service-item {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(200, 164, 92, 0.1);
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(200, 164, 92, 0.1);
        }
        
        .service-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(145deg, 
                rgba(200, 164, 92, 0.1),
                rgba(200, 164, 92, 0.05)
            );
            clip-path: circle(0% at 50% 50%);
            transition: all 0.6s ease-out;
        }
        
        .service-item:hover::before {
            clip-path: circle(100% at 50% 50%);
        }
        
        .service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(200, 164, 92, 0.2);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 25px;
            background: linear-gradient(45deg, var(--secondary-color), #daa520);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: rotate(45deg);
            transition: all 0.4s ease;
        }
        
        .service-icon i {
            font-size: 32px;
            color: var(--white);
            transform: rotate(-45deg);
            transition: all 0.4s ease;
        }
        
        .service-item:hover .service-icon {
            transform: rotate(0deg);
            background: linear-gradient(45deg, #daa520, var(--secondary-color));
        }
        
        .service-item:hover .service-icon i {
            transform: rotate(0deg) scale(1.1);
        }
        
        .service-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .service-description {
            font-size: 15px;
            line-height: 1.8;
            color: var(--dark-gray);
            transition: all 0.3s ease;
            margin: 0 auto;
            max-width: 300px;
        }
        
        .service-item:hover .service-title {
            color: var(--secondary-color);
        }
        
        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
            }
        
            .service-item {
                padding: 30px 20px;
            }
        
            .service-icon {
                width: 70px;
                height: 70px;
            }
        
            .service-icon i {
                font-size: 28px;
            }
        
            .service-title {
                font-size: 20px;
            }
        
            .service-description {
                font-size: 14px;
            }
        }
        
        /* ===== قسم المشاريع ===== */
        .projects {
    padding: 80px 0;
    background: #f8f9fa;
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--dark-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    display: block !important;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    aspect-ratio: 4/2.5;
}

.project-item.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 15px;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 500;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(200, 164, 92, 0.2),
        transparent
    );
    transition: 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 164, 92, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* تحسينات CSS للمشاريع */
.project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.9)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

/* حذف أنماط زر عرض التفاصيل */
.project-link {
    display: none;
}

.project-category {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .project-overlay {
        padding: 20px;
    }

    .project-title {
        font-size: 20px;
    }
}

/* أنماط القائمة المنبثقة */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.project-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 500px;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px;
}

.thumbnail-item {
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.thumbnail-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 992px) {
    .project-modal-content {
        grid-template-columns: 1fr;
        max-height: 80vh;
        overflow-y: auto;
    }

    .gallery-main {
        height: 300px;
    }
}

.project-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.detail-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.detail-value {
    color: var(--white);
    opacity: 0.9;
}

.project-description {
    margin-top: 30px;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.8;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 11;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-header {
    position: relative;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.style-title {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

@media (max-width: 992px) {
    .project-modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .gallery-main-image {
        height: 300px;
    }

    .project-info {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f0f0f0; /* لون خلفية مؤقت أثناء تحميل الصورة */
}

.project-image.image-error {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.project-image.image-error::after {
    content: 'الصورة غير متوفرة';
    color: #666;
    font-size: 14px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}
        
        /* ===== قسم الشهادات ===== */
        .testimonials {
            background-color: var(--primary-color);
            color: var(--white);
        }
        
        .testimonials .section-title h2 {
            color: var(--white);
        }
        
        .testimonials-slider {
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
        }
        
        .testimonial-item {
            text-align: center;
            padding: 0 20px;
        }
        
        .testimonial-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 30px;
            border: 5px solid var(--secondary-color);
            object-fit: cover;
        }
        
        .testimonial-text {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 20px;
            position: relative;
            padding: 0 20px;
        }
        
        .testimonial-text::before, .testimonial-text::after {
            content: '"';
            font-size: 60px;
            color: var(--secondary-color);
            opacity: 0.2;
            position: absolute;
        }
        
        .testimonial-text::before {
            top: -20px;
            right: 0;
        }
        
        .testimonial-text::after {
            bottom: -40px;
            left: 0;
        }
        
        .testimonial-author {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .testimonial-position {
            font-size: 14px;
            color: var(--secondary-color);
        }
        
        .testimonial-nav {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        
        .testimonial-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: transparent;
            border: 2px solid var(--secondary-color);
            color: var(--white);
            margin: 0 10px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .testimonial-btn:hover {
            background-color: var(--secondary-color);
        }
        
        /* ===== قسم التواصل ===== */
        .contact-flex {
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
        }
        
        .contact-info {
            flex: 1 1 300px;
        }
        
        .contact-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .contact-title::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--secondary-color);
            bottom: -10px;
            right: 0;
        }
        
        .contact-description {
            margin-bottom: 30px;
            line-height: 1.7;
        }
        
        .contact-detail {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--secondary-color);
            color: var(--white);
            border-radius: 50%;
            margin-left: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        
        .contact-text h4 {
            font-size: 18px;
            margin-bottom: 5px;
        }
        
        .contact-text p {
            color: var(--dark-gray);
        }
        
        .contact-form {
            flex: 1 1 400px;
            background-color: var(--white);
            padding: 40px;
            border-radius: 5px;
            box-shadow: var(--box-shadow);
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-control {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 3px;
            font-family: 'Tajawal', sans-serif;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--secondary-color);
            outline: none;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        textarea.form-control {
            height: 150px;
            resize: none;
        }
        
        .contact-submit {
            width: 100%;
        }
            
        /* ===== الفوتر ===== */
        .footer {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 60px 0 0;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            margin-bottom: 60px;
            justify-content: space-between;
        }
        
        .footer-logo {
            font-size: 36px;
            font-weight: 900;
            margin-bottom: 20px;
        }
        
        .footer-logo span {
            color: var(--secondary-color);
        }
        
        .footer-about {
            flex: 2 1 400px;
        }
        
        .footer-description {
            margin-bottom: 25px;
            line-height: 1.8;
            color: #aaa;
        }
        
        .social-links {
            display: flex;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-left: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            transition: var(--transition);
        }
        
        .social-link:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        .footer-links {
            flex: 1 1 200px;
        }
        
        .footer-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background-color: var(--secondary-color);
            bottom: -10px;
            right: 0;
        }
        
        .footer-nav li {
            margin-bottom: 12px;
        }
        
        .footer-nav a {
            color: #aaa;
            transition: var(--transition);
            display: inline-block;
        }
        
        .footer-nav a:hover {
            color: var(--secondary-color);
            transform: translateX(-5px);
        }
        
        .footer-nav i {
            margin-left: 8px;
            color: var(--secondary-color);
            font-size: 12px;
        }
        
        .footer-bottom {
            padding: 20px 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: #aaa;
        }
        
        /* ===== التجاوب ===== */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 42px;
            }
            
            .nav-menu {
                position: fixed;
                top: -100%;
                right: 0;
                width: 100%;
                height: 100vh;
                background-color: var(--primary-color);
                flex-direction: column;
                justify-content: center;
                transition: 0.5s;
                z-index: 990;
                overflow-y: auto;
                padding: 20px 0;
            }
            
            .nav-menu.active {
                top: 0;
            }
            
            .nav-list {
                flex-direction: column;
                text-align: center;
            }
            
            .nav-item {
                margin: 15px 0;
            }
            
            .nav-btn {
                margin: 20px 0 0;
            }
            
            .hamburger {
                display: block;
                z-index: 999;
            }
            
            .hamburger.active .bar:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            
            .hamburger.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
            
            .about-image {
                margin-left: 0;
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 30px;
            }
            
            .hero-title {
                font-size: 36px;
            }
            
            .hero-subtitle {
                font-size: 16px;
            }
            
            .about-title, .contact-title {
                font-size: 30px;
            }
            
            .stat-number {
                font-size: 36px;
            }
        }
        
        @media (max-width: 576px) {
            .btn {
                padding: 10px 20px;
                font-size: 13px;
            }
            
            .hero-title {
                font-size: 30px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .contact-form {
                padding: 25px;
            }
        }

        .about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(145deg, rgba(200, 164, 92, 0.05), rgba(200, 164, 92, 0.1));
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(200, 164, 92, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(200, 164, 92, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--secondary-color), #daa520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: var(--white);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-text {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* أنماط قسم الأسئلة الشائعة */
.faq {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.faq .section-title h2 {
    color: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin: 0;
}

.faq-icon {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: #aaa;
    line-height: 1.6;
    padding-bottom: 20px;
}

.faq-item.active {
    background: rgba(200, 164, 92, 0.1);
}

.faq-item.active .faq-header {
    border-bottom: 1px solid rgba(200, 164, 92, 0.2);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item:hover {
    background: rgba(200, 164, 92, 0.1);
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

/* إضافة الأنماط في قسم الـ style */
.hero-titles {
    position: relative;
    height: 70px;
    margin-bottom: 30px;
    overflow: hidden;
}

.hero-title {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes titleFade {
    0%, 20% {
        opacity: 1;
        transform: translateY(0);
    }
    25%, 95% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 0;
        transform: translateY(50px);
    }
}

@media (max-width: 768px) {
    .hero-titles {
        height: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal.active {
    display: flex;
    opacity: 1;
}

.quote-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-50px);
    transition: all 0.4s ease;
}

.quote-modal.active .quote-content {
    transform: translateY(0);
}

.quote-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.quote-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.quote-form-group {
    margin-bottom: 20px;
}

.quote-label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 500;
}

.quote-input,
.quote-select,
.quote-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
}

.quote-input:focus,
.quote-select:focus,
.quote-textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 164, 92, 0.1);
}

.quote-textarea {
    height: 120px;
    resize: none;
}

.quote-submit {
    width: 100%;
    background: linear-gradient(45deg, #c5a669, #daa520);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-submit:hover {
    background: linear-gradient(45deg, #daa520, #c5a669);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 164, 92, 0.2);
}

.social-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.146); /* خلفية داكنة أكثر لدعم المتصفحات القديمة */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(200, 164, 92, 0.3);
}

/* تغيير لون الأيقونات في المناطق البيضاء */
section:not(.hero):not(.footer):not(.faq) .social-icon {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

section:not(.hero):not(.footer):not(.faq) .social-icon:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* تحسين تأثير التحويم */
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), #daa520);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.social-icon:hover::before {
    transform: translateY(0);
}

/* تحسين التلميح النصي */
.social-tooltip {
    background: var(--primary-color);
}

.social-tooltip::before {
    border-right-color: var(--primary-color);
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .social-bar {
        left: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.social-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::after {
    opacity: 1;
}

.social-tooltip {
    position: absolute;
    left: 60px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--secondary-color);
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .social-bar {
        left: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* إضافة الأنماط في ملف CSS */
.style-filter,
.room-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.style-btn,
.room-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-btn.active,
.room-btn.active,
.style-btn:hover,
.room-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: none;
}

.project-item.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.project-style {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-color);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-category {
    display: block;
    color: var(--secondary-color);
    margin: 5px 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
}

.projects-filters {
    margin-bottom: 50px;
}

.filters-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.style-filter,
.room-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: #f8f9fa;
    color: #333;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #eee;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--secondary-color);
    color: white;
}

.filter-icon {
    font-size: 16px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.project-image {
    position: relative;
    aspect-ratio: 4/3;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding: 30px;
    display: flex;
    align-items: flex-end;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-details {
    color: white;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.style-tag {
    background: var(--secondary-color);
}

.room-tag {
    background: rgba(255,255,255,0.2);
}

.project-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-location {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.view-project {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-project:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .filter-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

.search-bar {
    text-align: center;
    margin-bottom: 20px;
}
.search-bar input {
    width: 50%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.load-more {
    text-align: center;
    margin-top: 20px;
}
#load-more-btn {
    background: var(--secondary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
#load-more-btn:hover {
    background: var(--primary-color);
}

.style-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

/* للأجهزة اللوحية (تابلت) */
@media (max-width: 992px) {
    .style-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* للهواتف الذكية */
@media (max-width: 576px) {
    .style-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


.style-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.style-card:hover {
    transform: translateY(-10px);
}

.style-image {
    position: relative;
    aspect-ratio: 16/9;
}

.style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    transition: all 0.3s ease;
}

.style-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.style-overlay p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.view-style-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .style-cards {
      grid-template-columns: 1fr;
      gap: 15px;
      padding: 0 15px;
    }
    
    .style-overlay h3 {
      font-size: 20px;
    }
    
    .style-overlay p {
      font-size: 14px;
    }
    
    .view-style-btn {
      padding: 10px 20px;
      font-size: 14px;
    }
  }

.style-card:hover .view-style-btn {
    opacity: 1;
    transform: translateY(0);
}

.style-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85); /* خلفية داكنة للمتصفحات التي لا تدعم blur */
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -o-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* للمتصفحات التي لا تدعم backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .style-modal {
        background: rgba(0, 0, 0, 0.95); /* خلفية أغمق للمتصفحات غير المدعومة */
    }
}

/* لمتصفح Safari */
@supports (-webkit-backdrop-filter: none) {
    .style-modal {
        background: rgba(0, 0, 0, 0.75);
    }
}

/* تحسينات الأداء */
.style-modal {
    will-change: backdrop-filter;
    -webkit-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.style-modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    position: relative;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* مهم لمنع تجاوز المحتوى */
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #000;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: #444;
}

/* تعديل تثبيت المحتوى عند التمرير */
.modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.style-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.style-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #c8a45c;
    border-radius: 2px;
}

.room-tabs {
    position: sticky;
    top: 70px;
    background: #fff;
    z-index: 2;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.room-tab {
    padding: 12px 20px;
    border: none;
    background: #f0f0f0;
    color: #444;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.room-tab:hover {
    background: #e0e0e0;
}

.room-tab.active {
    background: #c8a45c;
    color: white;
    box-shadow: 0 3px 10px rgba(200, 164, 92, 0.3);
}

/* تحسين التمرير */
.projects-grid {
    overflow-y: auto; /* تمرير فقط للمشاريع */
    padding: 20px 0;
    margin: 0 -10px; /* تعويض padding للصور */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    margin: 0 10px;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* تحسين التمرير */
.projects-grid::-webkit-scrollbar {
    width: 8px;
}

.projects-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.projects-grid::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.projects-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* منع تأثير التمرير على الشاشة الخلفية */
body.modal-open {
    overflow: hidden;
    padding-right: 8px; /* تعويض شريط التمرير */
}

/* تحسين الأداء */
.project-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: zoom-in;
    text-decoration: none;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-image:hover img {
    transform: scale(1.1);
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-image:hover .zoom-btn {
    transform: translateY(0);
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: all 1.2s cubic-bezier(0.33, 1, 0.68, 1);
    will-change: transform;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(200, 164, 92, 0.95),
        rgba(0, 0, 0, 0.2)
    );
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

/* تأثيرات التحويم */
.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(200, 164, 92, 0.2);
}

.project-item:hover .project-image img {
    transform: scale(1.15) rotate(-3deg);
}


.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* تأثير الحدود */
.project-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1 solid var(--secondary-color);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    pointer-events: none;
    opacity: 0;
}

.project-item:hover::after {
    border-width: 3px;
    opacity: 1;
}

@media (max-width: 768px) {
    .project-item {
        aspect-ratio: 3/4;
    }
}

.project-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .room-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .style-title {
        font-size: 22px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(1000px, 1fr));
        gap: 15px;
    }
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .style-modal {
        padding: 20px;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-header {
        margin: -20px -20px 15px;
        padding: 20px 20px 15px;
    }

    .room-tabs {
        margin: -15px -20px 15px;
        padding: 15px 20px;
        top: 80px;
    }
}

/* إضافة الأنماط في quote-modal.css */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    position: relative;
    animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
}

.hero-title.typing-text {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle.typing-text {
    font-size: 24px;
    color: var(--secondary-color);
    animation-delay: 4s;
    opacity: 0;
    animation: typing 3s steps(30, end) 4s forwards, blink-caret .75s step-end infinite;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.hero-description {
    animation-delay: 7s;
}

.hero-content .btn {
    animation-delay: 8s;
}

@keyframes typing {
    from { 
        width: 0;
        opacity: 1;
    }
    to { 
        width: 100%;
        opacity: 1;
    }
}

@keyframes blink-caret {
    from, to { 
        border-right: 2px solid transparent; 
    }
    50% { 
        border-right: 2px solid var(--secondary-color); 
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title.typing-text {
        font-size: 32px;
    }
    
    .hero-subtitle.typing-text {
        font-size: 18px;
    }
}

/* General Styles */
.quote-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.quote-modal.active {
    opacity: 1;
    visibility: visible;
}

.quote-content {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(200, 164, 92, 0.15);
}

.quote-modal.active .quote-content {
    transform: translateY(0);
    opacity: 1;
}

.quote-header {
    text-align: center;
    margin-bottom: 30px;
}

.quote-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
}

.quote-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), #daa520);
    border-radius: 2px;
}

.quote-subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

.quote-form-group {
    margin-bottom: 20px;
    position: relative;
}

.quote-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-input,
.quote-select,
.quote-textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(200, 164, 92, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-input:focus,
.quote-select:focus,
.quote-textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 6px rgba(200, 164, 92, 0.3);
    outline: none;
}

.quote-textarea {
    height: 140px;
    resize: none;
}

.quote-select {
    appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--secondary-color) 50%),
                      linear-gradient(135deg, var(--secondary-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) center, calc(100% - 15px) center;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.quote-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(45deg, var(--secondary-color), #daa520);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(200, 164, 92, 0.3);
}

.quote-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.quote-close:hover {
    background: var(--secondary-color);
    color: white;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .quote-content {
        padding: 25px;
    }
    
    .quote-title {
        font-size: 24px;
    }
    
    .quote-submit {
        padding: 12px;
        font-size: 14px;
    }
}

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.viewer-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.viewer-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
}

.viewer-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewer-image-container img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.viewer-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.viewer-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .viewer-close {
        top: 10px;
        right: 10px;
    }
}

.search-container {
    position: relative;
    max-width: 300px;
    margin: 15px auto 0;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.search-input:focus + .search-icon {
    color: var(--secondary-color);
}
