/* [Your existing CSS remains exactly the same] */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1e24;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
    background: #c7a17a;
    border-radius: 12px;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
section {
    padding: 80px 0;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2c2b28;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.2px;
}
.btn-primary:hover {
    background: #c7a17a;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -12px rgba(199, 161, 122, 0.3);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid #2c2b28;
    color: #2c2b28;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-outline:hover {
    background: #2c2b28;
    color: white;
    border-color: #2c2b28;
    transform: translateY(-2px);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}
.logo-image {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}
.logo-image:hover {
    transform: scale(1.02);
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 42px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1e1f22;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #c7a17a;
}
.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.hero-content {
    flex: 1.2;
}
.hero-badge {
    background: #f3ede8;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #c7a17a;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}
.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}
.hero-highlight {
    color: #c7a17a;
    border-bottom: 2px solid #e9dbcf;
}
.hero-desc {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 36px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-image {
    flex: 1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.hero-image:hover {
    transform: scale(1.01);
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-header p {
    color: #6c6a67;
    max-width: 600px;
    margin: 12px auto 0;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.category-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1efec;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 35px -15px rgba(0, 0, 0, 0.08);
    border-color: #e6d9cf;
}
.category-icon {
    font-size: 3rem;
    color: #c7a17a;
    margin-bottom: 20px;
}
.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.category-card p {
    color: #777;
}
.showcase {
    background: #f8f5f0;
    border-radius: 48px;
    margin: 20px 0;
}
.showcase-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.showcase-text {
    flex: 1;
}
.showcase-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.showcase-text p {
    color: #5a5855;
    margin-bottom: 28px;
}
.showcase-img {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.showcase-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.showcase-img:hover img {
    transform: scale(1.03);
}
.brand-legacy {
    background: #ffffff;
    border-top: 1px solid #ece6e0;
    border-bottom: 1px solid #ece6e0;
}
.legacy-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
    text-align: center;
}
.legacy-item {
    flex: 1;
    padding: 24px;
}
.legacy-item i {
    font-size: 2.5rem;
    color: #c7a17a;
    margin-bottom: 18px;
}
.legacy-item h4 {
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}
.legacy-item p {
    color: #6c6a67;
    max-width: 280px;
    margin: 12px auto 0;
}
.products-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.learn-link {
    font-weight: 500;
    text-decoration: none;
    color: #c7a17a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    transition: gap 0.2s;
}
.learn-link:hover {
    gap: 12px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* ← هذه هي الخاصية الناقصة */
    display: block;
    transition: transform 0.7s ease;
}        
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.gallery-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 5 / 5;        /* نسبة عرض:ارتفاع 4:5 أنيقة */
    background: #f5f2ef;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.12);
}
.gallery-item:hover {
    transform: translateY(-8px);      /* ترفع للأعلى */
    box-shadow: 0 28px 36px -16px rgba(0, 0, 0, 0.2);
}
.gallery-item:hover img {
    transform: scale(1.05);           /* تكبير خفيف */
}
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.05);
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover::after {
    opacity: 0.15;      /* تغميقة خفيفة جداً عند hover */
}
.zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.gallery-item:hover .zoom-hint {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .gallery-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
  .showcase-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 40px;
      flex-direction: column;
  }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.testimonial-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px 28px;
    border: 1px solid #f0ece8;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: #e2d4c8;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.05);
}
.stars {
    color: #c7a17a;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #2c2b28;
    font-style: italic;
    margin-bottom: 24px;
}
.customer-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.customer-avatar {
    width: 48px;
    height: 48px;
    background: #e9dfd6;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #c7a17a;
}
.customer-name {
    font-weight: 700;
}
.customer-title {
    font-size: 0.8rem;
    color: #8a8885;
}
.newsletter {
    background: #2c2b28;
    border-radius: 48px;
    padding: 64px 48px;
    color: white;
    text-align: center;
}
.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}
.newsletter p {
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 32px;
}
.news-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}
.news-form input {
    flex: 2;
    padding: 14px 22px;
    border-radius: 60px;
    border: none;
    outline: none;
    font-size: 1rem;
}
.news-form button {
    background: #c7a17a;
    border: none;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    color: #1e1f22;
    cursor: pointer;
    transition: all 0.2s;
}
.news-form button:hover {
    background: #e0bf9c;
    transform: scale(0.98);
}
footer {
    background: #faf8f5;
    padding: 56px 0 32px;
    margin-top: 20px;
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-col p {
    margin-top: 12px;
    color: #5a5855;
    max-width: 260px;
}
.footer-col h4 {
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col a {
    text-decoration: none;
    color: #4a4a4a;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #c7a17a;
}
.social-icons i {
    font-size: 1.4rem;
    margin-right: 16px;
    color: #2c2b28;
    transition: 0.2s;
}
.social-icons i:hover {
    color: #c7a17a;
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    border-top: 1px solid #e2dbd3;
    padding-top: 32px;
    font-size: 0.85rem;
    color: #8a8885;
}
@media (max-width: 950px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .nav-links {
        gap: 28px;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    section {
        padding: 60px 0;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .hero {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .newsletter {
        padding: 48px 24px;
    }
    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }
    .logo-image {
        height: 44px;
    }
}
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    padding: 30px 24px;
    gap: 28px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.05);
    z-index: 1000;
    border-bottom: 1px solid #e6dfd7;
}
.nav-links.mobile-open a {
    font-size: 1.2rem;
}

/*------*/

/* ============================================
   ACTIVE NAVIGATION LINK STYLES
   ============================================ */

/* الرابط النشط */
.nav-links a.active {
    color: #c7a17a !important;
    position: relative;
}

/* الخط السفلي للرابط النشط */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #c7a17a;
    border-radius: 2px;
    animation: activeSlideIn 0.3s ease-out;
}

/* تأثير الحركة عند ظهور الخط */
@keyframes activeSlideIn {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* تأثير hover للروابط */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c7a17a;
    transition: width 0.3s ease;
    border-radius: 2px;
    opacity: 0.6;
}

.nav-links a:hover::before {
    width: 100%;
}

/* إلغاء تأثير hover للرابط النشط */
.nav-links a.active::before {
    display: none;
}

/* للجوال - القائمة المنبثقة */
@media (max-width: 768px) {
    .nav-links a.active::after {
        bottom: -4px;
    }
    
    .nav-links.mobile-open a.active {
        background: rgba(199, 161, 122, 0.1);
        padding-left: 10px;
        border-radius: 12px;
    }
    
    .nav-links.mobile-open a.active::after {
        display: none;
    }
}