/* ===== Variables - ألوان الشعار (ذهبي وأسود) ===== */
:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #F4E4BC;
    --black: #1a1a1a;
    --black-light: #2d2d2d;
    --grey: #4a4a4a;
    --grey-light: #f5f5f5;
    --white: #ffffff;
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.8;
    overflow-x: hidden;
}

body.lang-en {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.company-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black);
}

.logo:hover .company-name {
    color: var(--gold-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--black);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

.lang-toggle {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.lang-toggle:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
}

/* ===== Hero / Cover Slider ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.5) 50%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: center;
    z-index: 3;
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gold-light);
    font-weight: 500;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover,
.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--grey);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.gold-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-section {
    background: var(--grey-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--black-light);
}

.about-text strong {
    color: var(--gold-dark);
}

.about-logo img {
    max-width: 220px;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.3));
}

/* ===== Vision Section ===== */
.vision-section {
    background: var(--white);
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vision-card {
    background: var(--grey-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.vision-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    color: var(--gold-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.vision-card p {
    color: var(--grey);
    font-size: 1rem;
}

/* ===== Partners Section ===== */
.partners-section {
    background: var(--black);
    color: var(--white);
}

.partners-section .section-header h2 {
    color: var(--white);
}

.partners-section .section-subtitle {
    color: var(--gold-light);
}

.partners-section .gold-line {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    background: var(--white);
    padding: 25px 40px;
    border-radius: 12px;
    transition: var(--transition);
    max-width: 220px;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== Marketing Section ===== */
.marketing-section {
    background: linear-gradient(135deg, var(--grey-light) 0%, #e8e8e8 100%);
}

.marketing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.marketing-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.marketing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketing-text h2 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 700;
}

.marketing-text .highlight {
    font-size: 1.3rem;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 20px;
}

.marketing-text p {
    margin-bottom: 15px;
    color: var(--black-light);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    margin-top: 15px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-block {
    width: 100%;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: var(--black);
    color: var(--white);
    padding: 40px;
    border-radius: 16px;
}

.contact-info h3,
.contact-form-wrapper h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--gold-light);
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    background: var(--grey-light);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 25px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-logo-img {
    height: 80px;
    width: auto;
    /* هوية شعار قريبة من ألوان الموقع - ذهبي وأسود */
    filter: brightness(1.15) contrast(1.05) drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    opacity: 0.98;
}

.footer-info p {
    color: var(--gold-light);
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

/* ===== Products Page ===== */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-hero p {
    color: var(--gold-light);
    font-size: 1.2rem;
}

.products-section {
    padding: 60px 0 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--black);
    border: none;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--gold-light);
}

.nav-links a.active {
    color: var(--gold-dark);
    font-weight: 700;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-content,
    .marketing-content {
        grid-template-columns: 1fr;
    }

    .marketing-content {
        flex-direction: column-reverse;
    }

    .marketing-image {
        order: 1;
    }

    .vision-cards {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .company-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }

    .nav-links a {
        color: var(--black);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .partners-logos {
        flex-direction: column;
        gap: 30px;
    }

    .partner-logo {
        max-width: 180px;
    }

    .section {
        padding: 50px 0;
    }

    .hero-content {
        bottom: 30%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px 0 50px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}
