:root {
    --primary: #e50914;
    --primary-dark: #b80710;
    --bg-dark: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-light: #fdfdfd;
    --text-gray: #b3b3b3;
    --border: #2a2a2a;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow: 0 0 15px rgba(229, 9, 20, 0.4);
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #000;
    padding: 8px 0;
    border-bottom: 1px solid #222;
}

/* Navbar */
.navbar {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(229, 9, 20, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a:not(.cart-icon) {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.cart-icon)::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease-in-out;
}

.nav-links a:not(.cart-icon):hover::after {
    width: 100%;
    left: 0;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.cart-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.cart-badge {
    position: absolute; 
    top: -5px; 
    right: -5px; 
    background: var(--primary); 
    color: white; 
    border-radius: 50%; 
    width: 22px; 
    height: 22px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 12px; 
    font-weight: bold;
    border: 2px solid var(--bg-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.6)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2000&auto=format&fit=crop') center/cover;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    margin-right: 15px;
}

.btn-outline:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Delivery */
.delivery-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-item {
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--glow);
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-item h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.timeline-item h3 i {
    font-size: 2.5rem;
    background: rgba(229, 9, 20, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
}

.timeline-item:hover h3 i {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow);
}

.timeline-item p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

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

.product-card {
    background: linear-gradient(145deg, #161616, #0a0a0a);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 9, 20, 0.2);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-info {
    padding: 25px;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.4;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(229, 9, 20, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.product-card .btn {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.product-card .btn i {
    font-size: 1.1rem;
    margin: 0;
}

/* About Us */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--border);
    box-shadow: 20px 20px 0 var(--primary);
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-item summary {
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 25px 20px;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
}

@media (max-width: 992px) {
    .hide-mobile { display: none !important; }
    .menu-toggle {
        display: block;
    }
    .about-flex {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(10, 10, 10, 0.98);
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0px 6px 15px rgba(37, 211, 102, 0.5);
    color: #fff;
}
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 30px;
    }
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}
.lang-btn {
    background: transparent;
    color: var(--text-light);
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    font-family: inherit;
}
.lang-btn img {
    border-radius: 2px;
    width: 20px;
}
.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid var(--border);
}
.lang-dropdown:hover .lang-menu {
    display: block;
}
.lang-menu a {
    color: var(--text-light);
    padding: 12px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lang-menu a:last-child {
    border-bottom: none;
}
.lang-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

/* Premium Logo Styling */
.brand-logo-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    margin: 0;
}

.brand-logo-text .power {
    color: #fff;
    background: linear-gradient(to bottom, #ffffff 30%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo-text .protein {
    background: linear-gradient(135deg, #ff3b3b 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-inline-start: 6px;
    position: relative;
    padding-bottom: 2px;
}

.brand-logo-text .protein::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e50914, transparent);
    opacity: 0.8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.8);
}

.brand-logo-icon {
    height: 50px; 
    width: 50px; 
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.5));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-inline-end: 10px;
}

.nav-brand:hover .brand-logo-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(229, 9, 20, 0.8));
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}
.category-card {
    background: linear-gradient(145deg, #161616, #0a0a0a);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-10px);
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6), 0 0 20px rgba(229, 9, 20, 0.2);
}
.category-card:hover::before {
    opacity: 1;
}
.category-card i {
    font-size: 3.5rem;
    color: var(--primary);
    transition: var(--transition);
    z-index: 1;
}
.category-card:hover i {
    transform: scale(1.1);
    color: #fff;
    filter: drop-shadow(0 0 10px var(--primary));
}
.category-card h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        text-align: center !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .hero-content h1 {
        font-size: 2rem !important;
    }
    .hero-content p {
        font-size: 1.1rem !important;
    }
    .about-flex {
        flex-direction: column !important;
        text-align: center !important;
    }
    .about-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    .section-title {
        font-size: 1.8rem !important;
    }
    .categories-grid, .products-grid, .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .brand-logo-text {
        font-size: 1rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        line-height: 1.1 !important;
    }
    .brand-logo-text .protein {
        margin-inline-start: 0 !important;
    }
    .nav-actions {
        gap: 10px !important;
    }
}

