/* Universal styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background-color: #fafafa;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

/* Page-specific styles */
.hero-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%), url('https://images.unsplash.com/photo-1631420471881-af845a44fb78?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=870');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
}

.product-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 50;
    backdrop-filter: blur(10px);
    padding: 0 1rem;
}

.mobile-nav > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
}

.mobile-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 40;
    border-bottom: 1px solid #f0f0f0;
    display: flex; /* Show by default on mobile */
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.nav-icon {
    transition: all 0.2s ease;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
}

.nav-icon.active {
    color: #ff3e8a;
}

.nav-icon.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff3e8a;
}

.nav-icon:hover {
    color: #ff3e8a;
}

.category-card {
    transition: all 0.4s ease;
    border-radius: 20px;
    overflow: hidden;
}

.category-card:hover {
    transform: scale(1.03);
}

.btn-primary {
    background: linear-gradient(135deg, #ff3e8a, #ff6b35);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 62, 138, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
}

.trending-badge {
    background: linear-gradient(135deg, #ff3e8a, #ff6b35);
    transform: rotate(-5deg);
}

.discount-badge {
    background: #1a1a1a;
    color: white;
}

.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
}

/* Responsive styles - MOBILE FIRST APPROACH */
/* Default: Show mobile elements, hide desktop nav */
.desktop-nav {
    display: none; /* Hidden by default on mobile */
}

.mobile-nav, .mobile-header {
    display: flex; /* Show by default on mobile */
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex; /* Show on desktop */
    }
    
    .mobile-nav, .mobile-header {
        display: none !important; /* Hide on desktop with !important to override */
    }
}

@media (max-width: 767px) {
    .mobile-padding {
        padding-bottom: 5rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; }