@font-face {
    font-family: 'PNU';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/pnu-font@master/dist/PNU-Regular.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'PNU';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/pnu-font@master/dist/PNU-Bold.woff2') format('woff2');
    font-weight: bold;
}

:root {
    /* ألوان فاتحة رسمية: أبيض أساسي وأزرق تطعيمي (مستوحى من الشعار) */
    --primary: #ffffff;      
    --bg-dark: #f8f9fa; /* خلفية ناعمة جداً */
    --accent: #11365A; /* الأزرق الخاص بالشعار */
    --accent-light: #1A4D80;
    --accent-glow: rgba(17, 54, 90, 0.2);
    --blue-gradient: linear-gradient(135deg, #1A4D80 0%, #11365A 100%);
    --gold: #F8A71D; /* لمسات خفيفة جداً من الذهبي إن لزم */
    --card-bg: #ffffff;
    --border-light: rgba(17, 54, 90, 0.1);
    --text-main: #11365A;
    --text-muted: #667b93;
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(17, 54, 90, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(248, 167, 29, 0.03), transparent 25%);
    color: var(--text-main);
    line-height: 1.8;
    min-height: 100vh;
    font-family: 'PNU', 'Tajawal', sans-serif;
}

html[dir="ltr"] body {
    font-family: 'Inter', sans-serif;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar - أزرق فخم */
.navbar {
    background: var(--accent);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
}

/* النص باللون الأبيض */
.brand span {
    color: #ffffff;
}

.navbar-logo {
    height: 82px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 17px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    opacity: 0.8;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 110px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255,255,255,0.8) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 64px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* الأزرار الفخمة */
.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--blue-gradient);
    color: #ffffff;
    box-shadow: 0 10px 20px var(--accent-glow);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #11365A 0%, #1A4D80 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(17, 54, 90, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(17, 54, 90, 0.2);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 16px;
    display: inline-block;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Products Grid - البطاقات الزجاجية المتوهجة */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--blue-gradient);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(17, 54, 90, 0.15);
}

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

.product-img {
    height: 260px;
    background: #f0f4f8;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.7s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
    opacity: 1;
}

/* تخطيط المنتج: اسم و زر التفاصيل بنفس السطر */
.product-details {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.product-title {
    font-size: 20px;
    color: var(--text-main);
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

/* زر التفاصيل داخل البطاقة */
.btn-details {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-details:hover {
    background: var(--blue-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-info {
    flex: 1;
    background: var(--blue-gradient);
    padding: 60px;
    color: #ffffff;
}

.contact-info h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: flex-start;
}

.info-item i {
    font-size: 24px;
    color: var(--accent);
    background: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-item h4 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    flex: 1.5;
    padding: 60px;
}

/* Social Links in Contact */
.social-link {
    color: var(--accent);
    font-size: 30px;
    text-decoration: none !important;
    transition: var(--transition);
    background: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(17, 54, 90, 0.1);
    border: 2px solid transparent;
}

.social-link:hover {
    color: #ffffff;
    background: var(--blue-gradient);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.input-group label {
    color: var(--accent);
    font-weight: bold;
}

.input-group input, .input-group textarea {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: #ffffff;
}

/* Footer */
footer {
    background-color: var(--accent);
    color: #ffffff;
    padding: 30px 0;
}

/* =========================================
   Responsive Design (Mobile & Tablet)
   ========================================= */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        padding: 40px;
    }
    
    .contact-form-container {
        padding: 40px;
    }

    .hero h1 {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .navbar-logo {
        height: 60px;
    }

    .brand {
        font-size: 22px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 15px;
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .brands-logos {
        gap: 20px;
    }

    .brands-logos img {
        height: 70px !important;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .info-item h4 {
        font-size: 18px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
