/* ====================================
   HOT IMPEX - CLEAN STYLESHEET
   ====================================*/

/* ====================================
   1. FONTS & IMPORTS
   ====================================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* ====================================
   2. CSS CUSTOM PROPERTIES
   ====================================*/
:root {
    /* Color Gradients */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);

    /* Glass Effects */
    --surface-glass: rgba(255, 255, 255, 0.25);

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hard: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-3xl: 0 35px 60px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --border-radius-sm: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-quick: all 0.2s ease;

    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: rgba(0, 0, 0, 0.1);
}

/* ====================================
   3. GLOBAL RESET & BASE STYLES
   ====================================*/
html, body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-padding-top: 100px;
    transition: background 0.3s ease, color 0.3s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* ====================================
   DARK MODE NAVIGATION & HEADER
   ====================================*/

/* Navigation styles are primarily handled in index.css and navbar.css */

/* User icon styling */
.user-icon {
    width: 2rem; /* 32px */
    height: 2rem; /* 32px */
    transition: transform 0.3s ease;
}

.user-icon:hover {
    transform: scale(1.1);
}

/* ====================================
   4. ANIMATIONS & KEYFRAMES
   ====================================*/
@keyframes floatUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInScale {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(147, 51, 234, 0.6); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounceSlow {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -10px, 0); }
    70% { transform: translate3d(0, -5px, 0); }
    90% { transform: translate3d(0, -2px, 0); }
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* ====================================
   5. SCROLL ANIMATIONS
   ====================================*/
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-left.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-right.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-scale.fade-in {
    opacity: 1;
    transform: scale(1);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-animation.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   6. HERO SECTION STYLES
   ====================================*/
#hero-showroom {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
    margin: 0 auto;
    max-width: 1600px;
    padding: 4rem 2rem;
}

/* ====================================
   7. PRODUCT CARD STYLES
   ====================================*/
#active-product-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#active-product-card:hover {
    box-shadow: var(--shadow-3xl);
    transform: scale(1.02);
}

/* Product image container */

/* Enhanced card number styling */

/* Product title and description */

/* Feature tags styling */
.feature-tag {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
    color: #7c3aed;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(219, 39, 119, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
}

/* ====================================
   PRODUCT CARDS (BEST SELLERS SECTION)
   ====================================*/

.card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    margin: 2rem 1rem;
    isolation: isolate;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover .card__shine {
    left: 100%;
}

.card__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

.card:hover .card__glow {
    opacity: 0;
}

.card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
}

.card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #ff4500;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    transform: translateY(10px) rotate(0deg);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.card:hover .card__badge {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
}

.card:hover .card__badge {
    transform: rotate(12deg) scale(1);
    opacity: 0;
}

.card__image {
    width: 100%;
    height: 12rem;
    background-color: #f3f4f6;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.card:hover .card__image {
    transform: scale(1.05);
}

.card__text {
    flex: 1;
    margin-bottom: 1rem;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.card__description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #7c3aed;
}

.card__button {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.card__button:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.card__button svg {
    transition: transform 0.3s ease;
}

/* ====================================
   8. ANIMATION UTILITY CLASSES
   ====================================*/
.hero-animate-float { 
    animation: floatUp 0.8s ease-out; 
}

.hero-animate-scale { 
    animation: fadeInScale 0.6s ease-out; 
}

.hero-glow-effect { 
    animation: glowPulse 3s ease-in-out infinite; 
}

.hero-gradient-shift { 
    animation: gradientShift 6s ease infinite; 
    background-size: 200% 200%; 
}

.animate-pulse { 
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; 
}

.animate-bounce { 
    animation: bounceSlow 3s ease-in-out infinite; 
}

/* ====================================
   9. ENHANCED COMPONENT STYLES
   ====================================*/

/* Trust Badge */
.trust-badge-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Enhanced Buttons */
.btn-primary-enhanced:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary-enhanced:hover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.3);
}

/* Product navigation buttons */

/* Progress bar styling */

/* Stats Animation */
.stat-counter {
    background: linear-gradient(135deg, #1f2937, #374151);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stat-counter:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
    background-clip: text;
    -webkit-background-clip: text;
    transform: scale(1.05);
}

/* ====================================
   10. THEME TOGGLE & UTILITY CLASSES
   ====================================*/

/* Theme toggle styles are defined in index.css to avoid conflicts */

/* ====================================
   DARK MODE TEXT VISIBILITY
   ====================================*/

/* General text elements */

/* Navigation text */

/* Product card text */

/* Button text visibility */

/* Trust badge text */

/* Card number and labels */

/* Progress bar and controls text */

/* Mobile menu text */

/* ====================================
   11. RESPONSIVE BREAKPOINTS
   ====================================*/
@media (max-width: 768px) {
    #hero-showroom {
        padding: 2rem 1rem;
        min-height: 90vh;
    }

    .hero-animate-float {
        animation-delay: 0.2s;
    }

    #active-product-card {
        margin: 1rem 0;
        padding: 1.5rem !important;
    }

    #active-product-card .text-3xl {
        font-size: 1.875rem !important;
    }

    #active-product-card .text-lg {
        font-size: 1rem !important;
    }

    #product-image {
        height: 16rem !important;
    }

    /* Floating elements size adjustment */
    .absolute.-top-10.-right-10 {
        width: 3rem !important;
        height: 3rem !important;
        top: -1.5rem !important;
        right: -1.5rem !important;
    }

    .absolute.-bottom-10.-left-10 {
        width: 2.5rem !important;
        height: 2.5rem !important;
        bottom: -1.25rem !important;
        left: -1.25rem !important;
    }
}

@media (max-width: 480px) {
    #hero-showroom {
        padding: 1.5rem 0.5rem;
    }

    .stat-counter {
        font-size: 1.5rem;
    }

    #active-product-card {
        padding: 1.25rem !important;
    }

    #active-product-card .space-y-6 {
        gap: 1rem !important;
    }

    .feature-tag {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
    }

    /* Navigation controls spacing */
    .flex.justify-between.items-center.mt-10 {
        margin-top: 1.5rem !important;
        gap: 0.5rem !important;
    }

    #prev-product,
    #next-product {
        padding: 0.75rem !important;
    }

    #prev-product svg,
    #next-product svg {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }
}

/* ====================================
   12. PERFORMANCE OPTIMIZATIONS
   ====================================*/
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ====================================
   SHOP PAGE DARK MODE STYLES
   ====================================*/

/* Shop page main content background */

/* Sidebar text colors */

/* Category filter links */

/* Search and sort section */

/* Search input */

/* Sort dropdown */

/* Product cards */

/* Product card text */

/* Product card badges */

/* Product card action buttons */

/* Price range slider */

/* ====================================
   CONTACT PAGE DARK MODE STYLES
   ====================================*/

/* Contact page main container */

/* Contact form and info container */

/* Contact page headings */

/* Contact info icon containers */

/* Social media links */

/* Form inputs */

/* Form labels */

/* Form focus states */

/* Submit button */

/* Footer text in contact page */

/* ====================================
   ABOUT US PAGE DARK MODE STYLES
   ====================================*/

/* About page main container */

/* About page headings and text */

/* Team member cards (if they have background) */

/* Mission and vision images */

/* ====================================
   ENHANCED FOOTER DARK MODE
   ====================================*/

/* Footer gradient background */

/* Footer brand text */

/* Footer description text */

/* Footer background patterns */

/* Footer overlay */

/* Contact and About specific header styles */

/* Contact and About page body background */

/* Enhanced hover states for contact and about pages */

/* ====================================
   ANIMATIONS
   ====================================*/
@keyframes drift {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(30px) translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateX(-20px) translateY(20px) rotate(-3deg);
    }
    75% {
        transform: translateX(20px) translateY(-10px) rotate(2deg);
    }
}

/* ====================================
   END OF CLEAN STYLESHEET
   ====================================*/
