/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

html,
body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
    padding-top: 104px; /* Default offset for header + notification bar */
}

/* Header hide/show transition */
#main-header {
    background-color: white;
    width: 100%;
}

.product-card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.product-img {
    height: 200px;
    object-fit: cover;
}

.category-nav .nav-link {
    color: #555;
    font-weight: 500;
}

.category-nav .nav-link.active {
    background-color: #0d6efd;
    color: white;
    border-radius: 20px;
}

.carousel-item img {
    height: 300px;
    /* Updated via recent task */
    object-fit: cover;
}

/* Mobile Sticky Categories */
@media (max-width: 991.98px) {
    .sticky-categories {
        position: sticky;
        top: 60px;
        z-index: 1020;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 0.75rem 0.5rem;
        margin: 0;
        width: 100%;
    }

    .sticky-categories::-webkit-scrollbar {
        display: none;
    }

    .sticky-categories {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Branding Header */
.branding-container {
    text-align: center;
    padding: 2rem 0;
    animation: fadeInDown 1s ease-out;
}

.branding-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--bs-primary), #a2d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.branding-slogan {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer h5 {
    color: var(--bs-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-link {
    color: #b3b3b3;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--bs-primary);
    padding-right: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-3px);
}