/* ========================================
   PREMIUM QUALITY AFRICA TASTE - LUXURY CSS
   Cinematic, Immersive, Award-Winning Design
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #3a0ca3;
    --orange: #ff8800;
    --red: #ff2d55;
    --pink: #ff66c4;
    --gradient-1: linear-gradient(135deg, #3a0ca3, #ff2d55, #ff66c4);
    --gradient-2: linear-gradient(45deg, #ff8800, #ff2d55);
    --gradient-3: linear-gradient(to right, #3a0ca3, #ff66c4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glow-text {
    text-shadow: 0 0 20px rgba(255, 102, 196, 0.8),
                 0 0 40px rgba(255, 102, 196, 0.6),
                 0 0 60px rgba(255, 102, 196, 0.4);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 102, 196, 0.8); }
    50% { text-shadow: 0 0 40px rgba(255, 102, 196, 1), 0 0 80px rgba(255, 102, 196, 0.8); }
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-blur {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.logo-container {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   HERO SECTION - CINEMATIC SLIDER
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenBurns 20s ease infinite;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Animated Background Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blobFloat 20s ease-in-out infinite;
    z-index: 5;
}

.blob-1 {
    background: radial-gradient(circle, rgba(58, 12, 163, 0.8), transparent);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.blob-2 {
    background: radial-gradient(circle, rgba(255, 45, 85, 0.8), transparent);
    bottom: -250px;
    right: -250px;
    animation-delay: 7s;
}

.blob-3 {
    background: radial-gradient(circle, rgba(255, 102, 196, 0.8), transparent);
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -100px) scale(1.1); }
    50% { transform: translate(-50px, 100px) scale(0.9); }
    75% { transform: translate(150px, 50px) scale(1.05); }
}

/* Hero Text Animations */
.hero-title {
    animation: fadeInUp 1.5s ease both;
}

.hero-subtitle {
    animation: fadeInUp 1.5s ease 0.3s both;
}

.hero-mission {
    animation: fadeInUp 1.5s ease 0.6s both;
}

.cta-block {
    animation: fadeInUp 1.5s ease 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary,
.btn-secondary,
.btn-order,
.btn-see-more {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-2);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 136, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 136, 0, 0.7);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px) scale(1.05);
}

.btn-order {
    background: var(--gradient-1);
    color: #fff;
    width: 100%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 102, 196, 0.4);
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 102, 196, 0.6);
}

.btn-see-more {
    background: linear-gradient(135deg, #3a0ca3, #ff66c4);
    color: #fff;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    box-shadow: 0 10px 40px rgba(58, 12, 163, 0.5);
}

.btn-see-more:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(58, 12, 163, 0.7);
}

/* ========================================
   CATEGORY CARDS - GLASSMORPHISM
   ======================================== */

.category-card {
    position: relative;
    transition: transform 0.5s ease;
}

.category-card:hover {
    transform: translateY(-15px) rotateY(5deg);
}

.card-content {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .card-content {
    box-shadow: 0 30px 80px rgba(255, 102, 196, 0.4);
    border-color: rgba(255, 102, 196, 0.5);
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-1);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: blur(15px);
}

.category-card:hover .card-glow {
    opacity: 0.6;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    position: relative;
}

.category-card:hover .card-image {
    transform: scale(1.1);
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

/* ========================================
   GLASS CARD
   ======================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SOCIAL PROOF - POPUP NOTIFICATIONS
   ======================================== */

#notification-popup {
    position: fixed;
    bottom: 20px;
    right: -450px;
    z-index: 9999;
    max-width: 90%;
    width: 400px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#notification-popup.show {
    right: 20px;
    opacity: 1;
}

/* Mobile: Show at bottom center */
@media (max-width: 768px) {
    #notification-popup {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(150%);
        bottom: 90px;
    }
    
    #notification-popup.show {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(0);
    }
}

.notification-content {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 102, 196, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(255, 102, 196, 0.6),
                0 0 20px rgba(255, 102, 196, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(255, 102, 196, 0.6),
                    0 0 20px rgba(255, 102, 196, 0.3);
    }
    50% {
        box-shadow: 0 15px 50px rgba(255, 102, 196, 0.8),
                    0 0 30px rgba(255, 102, 196, 0.5);
    }
}

.notification-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-details {
    flex: 1;
}

.notification-name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.notification-info {
    color: #d1d5db;
    font-size: 0.875rem;
}

.notification-time {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
}



/* ========================================
   MOBILE BUTTONS
   ======================================== */

.mobile-buttons {
    animation: slideUp 0.5s ease both;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ========================================
   SHOP PAGE ENHANCEMENTS
   ======================================== */

.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(255, 102, 196, 0.4);
    border-color: rgba(255, 102, 196, 0.5);
}

.product-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 136, 0, 0.5);
}

.price-tag {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .category-card {
        margin-bottom: 2rem;
    }
    
    body {
        padding-bottom: 80px;
    }
}

/* ========================================
   LOADING ANIMATION
   ======================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.1) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
   ======================================== */

*:focus-visible {
    outline: 3px solid #ff66c4;
    outline-offset: 3px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .nav-blur,
    .mobile-buttons,
    .scroll-indicator,
    .blob {
        display: none;
    }
}