/* ===== Hero Banner Section ===== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
        url('../images/hero-banner.jpg') center center / cover no-repeat;
    background-attachment: scroll; /* غيّرها لـ fixed لو عايز تأثير Parallax */
    overflow: hidden;
}

/* طبقة إضافية خفيفة بالأحمر عشان الهوية */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.15), transparent 55%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.55);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #e6e6e6;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-content .btn {
    padding: 14px 34px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.35);
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(230, 0, 0, 0.45);
}

/* موبايل */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 460px;
        background-position: center top;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 5px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.product-card .btn {
    width: 100%;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

body.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

/* Offers Section */
.offers-section {
    background-color: #141414;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--primary-red);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-img {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-details {
    padding: 20px;
    text-align: center;
}

.offer-badge {
    background-color: var(--primary-red);
    color: #fff;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
}

.offer-details h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* ========== Offer Modal (Popup) ========== */
.offer-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.offer-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offer-modal {
    background: #1a1a1a;
    border: 2px solid var(--primary-red);
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.7) translateY(40px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(230, 0, 0, 0.25);
    position: relative;
}

.offer-modal-overlay.active .offer-modal {
    transform: scale(1) translateY(0);
}

.offer-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    transition: 0.2s;
}

body.rtl .offer-modal-close {
    left: auto;
    right: 12px;
}

.offer-modal-close:hover {
    background: var(--primary-red);
}

.offer-modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.offer-modal-body {
    padding: 25px;
    text-align: center;
}

.offer-modal-badge {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.offer-modal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.offer-modal-desc {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.offer-modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.offer-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.offer-modal-actions .btn {
    min-width: 140px;
}

/* كارت العرض يبقى قابل للضغط */
.offer-card {
    cursor: pointer;
}


/* ===== About Us Modal ===== */
.about-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.about-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.about-modal {
    background: #1a1a1a;
    border: 2px solid var(--primary-red);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.75) translateY(30px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(230, 0, 0, 0.25);
    position: relative;
}

.about-modal-overlay.active .about-modal {
    transform: scale(1) translateY(0);
}

.about-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 2;
    transition: 0.2s;
}

body.rtl .about-modal-close {
    left: auto;
    right: 12px;
}

.about-modal-close:hover {
    background: var(--primary-red);
}

.about-modal-header {
    text-align: center;
    padding: 30px 25px 15px;
    background: linear-gradient(180deg, rgba(230,0,0,0.15), transparent);
    border-bottom: 1px solid #333;
}

.about-logo {
    height: 70px;
    margin-bottom: 10px;
}

.about-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.about-tagline {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-modal-body {
    padding: 25px;
}

.about-desc {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
}

.about-info-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}

.about-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #222;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #333;
}

.about-info-item i {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-top: 3px;
    min-width: 24px;
}

.about-info-item strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.about-info-item a,
.about-info-item span {
    display: block;
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.about-info-item a:hover {
    color: var(--primary-red);
}

.about-socials {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.about-socials p {
    color: #888;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.about-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.about-social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
    border: 1px solid #333;
}

.about-social-links a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

/* موبايل */
@media (max-width: 480px) {
    .about-modal {
        max-width: 100%;
    }
    .about-modal-header h2 {
        font-size: 1.6rem;
    }
}

/* تظبيط الـ Modals للموبايل */
@media (max-width: 768px) {
    .offer-modal, .about-modal {
        max-height: 85vh; /* نمنعه يكبر عن حجم الشاشة */
        overflow-y: auto; /* نضيف سكرول داخلي لو الكلام كتير */
        width: 95%;
        margin: 0 auto;
    }

    .offer-modal-img {
        height: 150px; /* تصغير الصورة شوية */
    }

    .offer-modal-body h2, .about-modal-header h2 {
        font-size: 1.5rem;
    }

    .offer-modal-price {
        font-size: 1.5rem;
    }
}