:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f8f9fa;
    --accent-pink: #f4c2c2;
    --accent-purple: #d4b5d4;
    --accent-blue: #b5d4e8;
    --accent-green: #c2e8c2;
    --text-dark: #2c2c2c;
    --text-light: #6c757d;
    --text-white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .me-1, [dir="rtl"] .me-2, [dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

[dir="rtl"] .ms-1, [dir="rtl"] .ms-2, [dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
}

/* Navigation Styles */
.navbar {
    background-color: transparent;
    /* padding: 1rem 0; */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

.navbar-transparent {
    background-color: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
}

.navbar-scrolled {
    background-color: white !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-pink) !important;
    background-color: rgb(255, 255, 255);
    transform: translateY(-1px);
}

.cart-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: var(--accent-pink);
}

/* Hero Section */
.hero-section {
    min-height: 130vh;
    background: linear-gradient(135deg, var(--accent-pink) 0%, rgba(244, 194, 194, 0.8) 50%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 4rem;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-custom {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary-custom {
    background-color: var(--text-dark);
    color: white;
    border: 2px solid var(--text-dark);
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary-custom:hover {
    background-color: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Product Sections */
.product-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    background: white;
}

.product-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--text-dark);
}

.product-price-old {
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.out-of-stock {
    background-color: rgba(255, 0, 0, 0.1);
    color: red;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Feature Section */
.feature-section {
    background: #000000; /* Solid black background */
    padding: 5rem 0;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.feature-text {
    flex: 1;
    color: #ffffff; /* White text for contrast */
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 15px;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-badge {
    background: #ffffff; /* White background for badges */
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000; /* Black text for badges */
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: var(--secondary-color);
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    margin-bottom: 2rem;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Features Grid */
.features-grid {
    padding: 5rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #000000; /* Solid black background */
    color: #ffffff; /* White text for all footer content */
    padding: 4rem 0 2rem;
}

.newsletter-section {
    text-align: center;
    margin-bottom: 3rem;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff; /* White title */
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 25px;
    outline: none;
    background-color: rgb(255, 255, 255); /* Light white background for input */
    color: #000000; /* White text in input */
}

.newsletter-btn {
    background: #ffffff; /* White button background */
    color: #000000; /* Black text for contrast */
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent white on hover */
}

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

.footer-column h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #ffffff; /* White text for headers */
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8); /* Light white for links */
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff; /* Full white on hover */
}

.footer-brand {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.7; /* Increased opacity for better visibility */
    margin-top: 2rem;
    color: #ffffff; /* White text */
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        width: 100%;
        opacity: 0.3;
    }

    .hero-content {
        padding: 6rem 0 2rem;
    }

    /* Mobile Navbar Styles */
    .navbar-collapse {
        background-color: white !important;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin: 0.25rem 0;
        transition: background-color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background-color: var(--accent-pink);
        color: white !important;
    }

    .btn-custom {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .feature-content {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    /* Small Mobile Navbar Improvements */
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}
