/* css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --accent: #d87510; --accent-dark: #b5620c; --dark: #050505; --dark-card: #0f0f0f; --gray: #1a1a1a; }

body { background: var(--dark); color: white; font-family: 'Inter', sans-serif; overflow-x: hidden; }
.heading { font-family: 'Syncopate', sans-serif; text-transform: uppercase; letter-spacing: -0.5px; }

.nav-glass { background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(216, 117, 16, 0.2); transition: all 0.3s; }
.nav-link { position: relative; transition: color 0.3s; cursor: pointer; }
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent); }

.product-card { background: var(--dark-card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; overflow: hidden; transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1); cursor: pointer; }
.product-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }

.btn-primary { background: var(--accent); color: white; font-weight: 700; padding: 14px 32px; border-radius: 40px; transition: all 0.3s; display: inline-block; text-align: center; cursor: pointer; border: none; font-size: 14px; }
.btn-primary:hover { background: var(--accent-dark); transform: scale(1.02); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); padding: 12px 28px; border-radius: 40px; transition: all 0.3s; cursor: pointer; font-weight: 600; }
.btn-outline:hover { background: var(--accent); color: white; }

.input-field { background: var(--gray); border: 1px solid rgba(255, 255, 255, 0.1); color: white; padding: 12px 16px; border-radius: 12px; width: 100%; outline: none; transition: all 0.3s; }
.input-field:focus { border-color: var(--accent); box-shadow: 0 0 10px rgba(216, 117, 16, 0.2); }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 1000; justify-content: center; align-items: center; backdrop-filter: blur(10px); }
.modal.active { display: flex; }
.modal-content { background: var(--dark-card); border: 1px solid rgba(216, 117, 16, 0.3); border-radius: 32px; max-width: 900px; width: 90%; max-height: 85vh; overflow-y: auto; padding: 30px; }

.toast { position: fixed; bottom: 20px; right: 20px; background: var(--accent); color: white; padding: 12px 24px; border-radius: 12px; z-index: 2000; animation: slideIn 0.3s ease; font-weight: 600; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.hero-home { background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('https://images.pexels.com/photos/1926769/pexels-photo-1926769.jpeg?auto=compress&cs=tinysrgb&w=1600'); background-size: cover; background-position: center; height: 90vh; }
.hero-shop { background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/1656684/pexels-photo-1656684.jpeg?auto=compress&cs=tinysrgb&w=1600'); background-size: cover; background-position: center; height: 40vh; }

.cart-badge { position: absolute; top: -8px; right: -8px; background: var(--accent); color: white; font-size: 10px; font-weight: bold; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.status-pill {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}
.status-pill.pending { background: rgba(216, 117, 16, 0.15); color: #d87510; }
.status-pill.review { background: rgba(255, 255, 255, 0.1); color: #fff; }
.status-pill.shipped { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.hero-header-bg {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.btn-buy-now {
    background: #ffffff;
    color: #000000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 14px;
    border-radius: 12px;
    font-size: 12px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-buy-now:hover { background: var(--accent); color: white; }

@keyframes pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.05; }
}

/* Add to css/styles.css */

/* Auth Page Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#auth-overlay .bg-gradient-to-br {
    animation: fadeInUp 0.5s ease-out;
}

#login-form input, #signup-form input {
    transition: all 0.3s ease;
}

#login-form input:focus, #signup-form input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(216, 117, 16, 0.2);
}


/* Particle animation for auth page */
.particle {
    position: absolute;
    background: rgba(216, 117, 16, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.5;
    }
}
/* Add to css/styles.css */

/* Ken Burns Animation */
@keyframes ken-burns {
    0% { 
        transform: scale(1); 
    }
    100% { 
        transform: scale(1.15); 
    }
}

.animate-ken-burns { 
    animation: ken-burns 8s ease-out forwards; 
}

/* Text Outline Effect */
.text-outline-white {
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    color: transparent;
}

/* Slide Active State */
.active-slide { 
    opacity: 1 !important; 
    z-index: 1; 
}

/* Hero Slide Base */
.hero-slide {
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

/* Staggered Animations */
.animate-reveal-top { 
    animation: revealTop 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

.animate-reveal-bottom { 
    animation: revealBottom 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}

.animate-reveal-bottom-delay { 
    animation: revealBottom 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; 
}

.animate-fade-in { 
    animation: fadeIn 2s ease-out forwards; 
}

.animate-fade-in-slow { 
    animation: fadeIn 2s ease-out 0.5s forwards; 
}

@keyframes revealTop { 
    from { 
        transform: translateY(-50px); 
        opacity: 0; 
    } 
    to { 
        transform: translateY(0); 
        opacity: 1; 
    } 
}

@keyframes revealBottom { 
    from { 
        transform: translateY(100px); 
        opacity: 0; 
    } 
    to { 
        transform: translateY(0); 
        opacity: 1; 
    } 
}

@keyframes fadeIn { 
    from { 
        opacity: 0; 
    } 
    to { 
        opacity: 1; 
    } 
}

/* Text transition smoothness */
#hero-text-main, #hero-text-sub, #hero-tagline {
    transition: opacity 0.3s ease;
}

/* Progress Bar Animation */
#progress-bar-0, #progress-bar-1, #progress-bar-2 {
    transition: width 5000ms linear;
}

/* Product Card Hover Enhancements */
.product-card {
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}







/* Add to css/styles.css */

/* Ken Burns Animation */
@keyframes ken-burns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.animate-ken-burns {
  animation: ken-burns 8s ease-out forwards;
}

/* Slide Down Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-down {
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-down-delay {
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

/* Fade In Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

/* Hero Slide Transitions */
.hero-slide {
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progress Bar Animation */
#progress-0, #progress-1, #progress-2 {
  transition: width 5s linear;
}

/* Custom transition duration */
.transition-duration-8000 {
  transition-duration: 8000ms;
}




/* Add to css/styles.css */

/* Slide Down Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-down-delay {
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

/* Fade In with Delay */
.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Custom duration for progress bars */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-5000 {
    transition-duration: 5000ms;
}


/* Add these styles for mobile navigation */

/* Mobile Menu Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu:not(.hidden) {
    animation: slideDown 0.3s ease-out forwards;
}

/* Mobile Menu Links */
#mobile-menu .nav-link {
    transition: all 0.2s ease;
    display: inline-block;
}

#mobile-menu .nav-link:hover {
    transform: translateX(8px);
    color: #d87510 !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .nav-glass {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .heading.text-xl {
        font-size: 1.25rem;
    }
    
    .cart-badge {
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    /* Better touch targets */
    .nav-link, button, .relative.cursor-pointer {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Prevent hamburger icon clipping */
#mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#mobile-menu-btn i {
    font-size: 1.5rem;
    pointer-events: none;
}

#mobile-menu-btn:hover {
    background: rgba(216, 117, 16, 0.1);
    border-radius: 12px;
}

/* Better mobile spacing */
@media (max-width: 640px) {
    .nav-glass {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    /* Ensure cart icon doesn't get clipped */
    .relative.cursor-pointer {
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for right side icons */
    .flex.gap-2 {
        gap: 8px;
    }
}

/* Ensure the nav doesn't overflow */
.nav-glass {
    overflow: visible !important;
}

/* Make sure the mobile menu appears above everything */
#mobile-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-radius: 0 0 20px 20px;
}


/* Hidden SEO content - visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* For content that should be completely hidden from users but visible to bots */
.hidden-seo {
    display: none !important;
}

/* Mobile Menu - Only visible on mobile */
@media (min-width: 768px) {
    #mobile-menu-btn {
        display: none !important;
    }
    
    #mobile-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #mobile-menu-btn {
        display: flex !important;
    }
}

/* Cart badge - only show when logged in */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}