﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


.anim-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.anim-fade-up-d1 {
    animation-delay: 0.1s;
}

.anim-fade-up-d2 {
    animation-delay: 0.25s;
}

.anim-fade-up-d3 {
    animation-delay: 0.4s;
}

.anim-fade-up-d4 {
    animation-delay: 0.55s;
}

.anim-fade-up-d5 {
    animation-delay: 0.7s;
}

.anim-fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.anim-slide-right {
    animation: slideRight 0.8s ease forwards;
    opacity: 0;
}

.anim-scale-in {
    animation: scaleIn 0.6s ease forwards;
    opacity: 0;
}

.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

        .product-card:hover .product-img {
            transform: scale(1.08);
        }

        .product-card:hover .product-overlay {
            opacity: 1;
        }

.product-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }



.category-card {
    transition: all 0.4s ease;
}

    .category-card:hover {
        transform: scale(1.03);
    }

        .category-card:hover .cat-icon {
            transform: rotate(5deg) scale(1.1);
        }

.cat-icon {
    transition: transform 0.4s ease;
}

.testimonial-card {
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    }

.marquee-track {
    display: flex;
    animation: marquee 20s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.light-mode .text-white {
    color: #0f172a !important;
}

.light-mode .text-gray-300 {
    color: #334155 !important;
}

.light-mode .text-gray-400 {
    color: #475569 !important;
}

.light-mode .bg-slate-950 {
    background: #f8fafc !important;
}

.light-mode nav {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: #e2e8f0;
}

.light-mode {
    background: #f8fafc;
    color: #0f172a;
}

    .light-mode nav {
        background: rgba(255, 255, 255, 0.75);
        border-color: #e2e8f0;
    }

    .light-mode .glass {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(18px);
    }

    .light-mode .text-slate-400 {
        color: #475569 !important;
    }

    .light-mode .text-slate-300 {
        color: #334155 !important;
    }

    .light-mode input {
        color: #0f172a !important;
    }

        .light-mode input::placeholder {
            color: #64748b;
        }

    .light-mode select {
        color: #0f172a;
        background: #fff;
    }

    .light-mode .product-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .light-mode #app-wrapper {
        background: #f8fafc;
    }

/* Smooth theme transition */
/*body,
nav,
#app-wrapper,
.product-card,
.category-card,
.testimonial-card,
input,
button,
section,
div,
p,
h1,
h2,
h3,
h4,
span,
a {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}*/

body,
nav


 {
    transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}

/* Theme button icon color fix */
#themeToggle i {
    color: white;
    transition: color 0.4s ease;
}

.light-mode #themeToggle i {
    color: #0f172a;
}
/* TESTIMONIAL CARD LIGHT MODE */
.light-mode .testimonial-card {
    background: rgba(255,255,255,0.85) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* NEWSLETTER INPUT LIGHT MODE */
.light-mode input[type="email"] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

    .light-mode input[type="email"]::placeholder {
        color: #64748b !important;
    }

/* SMALL TEXTS */
.light-mode .text-gray-500 {
    color: #64748b !important;
}

.light-mode .text-gray-400 {
    color: #475569 !important;
}

.light-mode .testimonial-card {
    background: linear-gradient(135deg,#ffffff,#f8fafc) !important;
}

.bestSellerSection {
    background: linear-gradient( 135deg, rgba(15,23,42,0.5), rgba(30,27,75,0.5) );
    transition: all 0.5s ease;
}

/* LIGHT MODE */
.light-mode .bestSellerSection {
    background: linear-gradient( 135deg, #f8fafc, #eef2ff );
}

.light-mode .product-card {
    background: linear-gradient( 135deg, #ffffff, #f8fafc ) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.light-mode .product-overlay {
    background: rgba(255,255,255,0.1);
}
