/*
Theme Name: Elnour Marketing Theme
Theme URI: http://elnourmarketing.com
Description: Custom Bootstrap 5 Theme for Elnour Marketing
Version: 1.0
Author: Elnour Marketing
*/

:root {
    --primary-color: #f39c12; /* Golden/Orange from Logo */
    --secondary-color: #1a1a1a; /* Black */
    --light-bg: #f8f9fa;
    --text-color: #333;
    --hero-overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* RTL Specifics - تحسينات اللغة العربية */
html[dir="rtl"] body {
    font-family: 'Tajawal', sans-serif;
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .text-end-rtl {
    text-align: left !important;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px; /* Adjust based on logo aspect ratio */
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    margin-left: 15px;
    margin-right: 15px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.btn-lang {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 30px;
    padding: 5px 20px;
    transition: all 0.3s;
}

.btn-lang:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

/* Fix Hero alignment in RTL */
html[dir="rtl"] .hero-content {
    text-align: right;
}

.btn-main {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.4);
    color: white;
}

/* Services Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card ul {
    padding-left: 20px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Fix Lists in RTL */
html[dir="rtl"] .service-card ul {
    padding-right: 20px;
    padding-left: 0;
    text-align: right;
}

/* Special highlight for Zeus */
.zeus-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}
.zeus-card h3, .zeus-card ul li, .zeus-card .service-icon {
    color: white;
}
.zeus-card ul li::marker {
    color: var(--primary-color);
}

/* Features/NFC Section */
.nfc-section {
    background-color: var(--light-bg);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

html[dir="rtl"] .footer-links ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

html[dir="rtl"] .contact-info i {
    margin-right: 0;
    margin-left: 10px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
}

html[dir="rtl"] .social-links a {
    margin-right: 0;
    margin-left: 10px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}