/* Arabic Font */
body {
    font-family: 'Cairo', sans-serif;
    color: #1a1717;
    overflow-x: hidden;
    direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

/* Color Variables */
:root {
    --primary-dark: #1a1717;
    --primary-red: #e12827;
    --cta-red: #d92726;
    --secondary-gray: #a7a9ac;
    --gold-accent: #D4AF37;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar Styling */
.navbar {
    background: rgba(26, 23, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 100px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--cta-red);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    align-items: center;
    overflow: hidden;
    padding-bottom: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
}

/* CTA Buttons */
.btn-primary-cta {
    background: var(--cta-red);
    border: none;
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 39, 38, 0.3);
}

.btn-primary-cta:hover {
    background: #b81f1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 39, 38, 0.4);
}

/* Section Styling */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--cta-red);
}

.section-subtitle {
    color: var(--secondary-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Ramadan Decorative Elements */
.ramadan-pattern {
    position: absolute;
    opacity: 0.03;
    font-size: 15rem;
    color: var(--gold-accent);
    z-index: 0;
}

/* Offers Section */
.offers-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.offers-section .row {
    display: flex;
    flex-wrap: wrap;
}

.offers-section [class*="col-"] {
    display: flex;
}

/* Image-based Offer Cards */
.offer-card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    height: auto;
    cursor: pointer;
    width: 100%;
}

.offer-card-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.offer-card-image:hover .offer-image {
    transform: scale(1.1);
}

.tagline-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2727 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tagline-box:before {
    content: '☪';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    left: -2rem;
    top: -2rem;
    color: var(--gold-accent);
}

.tagline-text {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Contact Form */
.contact-section {
    background: #f8f9fa;
}

.contact-section .col-lg-8 {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Terms Section - Simple List Style */
.terms-section {
    background: #f8f9fa;
}

.terms-content {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.terms-list {
    list-style: none;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
    counter-reset: terms-counter;
}

.terms-list li {
    position: relative;
    padding-right: 3rem;
    padding-left: 0;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.8;
    font-size: 1.05rem;
    counter-increment: terms-counter;
}

.terms-list li:before {
    content: counter(terms-counter);
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    background: var(--cta-red);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.terms-list li:last-child {
    margin-bottom: 0;
}

.terms-list li strong {
    color: var(--primary-dark);
}

/* Products & Services Section */
.services-section {
    background: #fff;
}

.service-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--cta-red);
    background: #fff;
}

.service-icon {
    font-size: 3rem;
    color: var(--cta-red);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Locations Section */
.locations-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.location-list {
    max-height: 600px;
    overflow-y: auto;
}

.location-item {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 98%;
}

.location-item:hover, .location-item.active {
    border-color: var(--cta-red);
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.location-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.location-info {
    color: var(--secondary-gray);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.location-info i {
    color: var(--cta-red);
    margin-left: 0.5rem;
    margin-right: 0;
    width: 20px;
}

#map {
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--cta-red);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    #map {
        height: 400px;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .tagline-text {
        font-size: 1.3rem;
    }
    
    .btn-primary-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .offer-card-image {
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    .terms-content {
        padding: 2rem 1.5rem;
    }
    
    .terms-list li {
        font-size: 0.95rem;
        padding-right: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .terms-list li:before {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .contact-section .col-lg-8 {
        padding: 2rem 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}
/* Language Switcher */
.language-switcher {
    margin: 1rem 0;
}

.lang-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.lang-link:hover {
    background: var(--cta-red);
    border-color: var(--cta-red);
    color: #fff;
    transform: translateY(-2px);
}

.lang-link i {
    margin-right: 0.3rem;
}

/* Mobile language switcher */
@media (max-width: 991px) {
    .language-switcher {
        text-align: center;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
    }
}
.lang-link i {
    margin-right: 0;
    margin-left: 0.3rem;
}
