/* ========================================
   Colorful Premium Theme - Bright & Vibrant
   ======================================== */

/* Colorful Theme Variables */
:root.colorful-theme {
    /* Bright Vibrant Colors */
    --primary-yellow: #FFD700;
    --primary-orange: #FF6B35;
    --primary-red: #FF1744;
    --primary-pink: #FF1493;
    --primary-blue: #1E90FF;
    --primary-navy: #003366;
    --primary-green: #00C853;
    --primary-lime: #C6FF00;
    --primary-purple: #9C27B0;
    --primary-cyan: #00BCD4;
    
    /* Gradient Combinations */
    --gradient-rainbow: linear-gradient(135deg, #FFD700 0%, #FF6B35 25%, #FF1744 50%, #9C27B0 75%, #1E90FF 100%);
    --gradient-sunset: linear-gradient(135deg, #FFD700 0%, #FF6B35 50%, #FF1744 100%);
    --gradient-ocean: linear-gradient(135deg, #1E90FF 0%, #00BCD4 50%, #00C853 100%);
    --gradient-tropical: linear-gradient(135deg, #FF1493 0%, #FF6B35 50%, #FFD700 100%);
    --gradient-royal: linear-gradient(135deg, #9C27B0 0%, #1E90FF 50%, #00C853 100%);
    --gradient-vibrant: linear-gradient(135deg, #FFD700 0%, #FF1744 25%, #9C27B0 50%, #1E90FF 75%, #00C853 100%);
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFF9E6;
    --bg-accent: #F0F8FF;
    --bg-dark: #003366;
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    
    /* Shadows */
    --shadow-colorful: 0 10px 40px rgba(255, 215, 0, 0.3);
    --shadow-rainbow: 0 15px 50px rgba(255, 107, 53, 0.4);
}

/* Apply Colorful Theme */
body.colorful-theme {
    background: linear-gradient(135deg, #FFF9E6 0%, #F0F8FF 50%, #FFF9E6 100%);
    color: #1a1a1a !important;
    background-attachment: fixed;
}

/* Base Text Colors - Dark for visibility */
body.colorful-theme,
body.colorful-theme p,
body.colorful-theme span,
body.colorful-theme li,
body.colorful-theme td,
body.colorful-theme label {
    color: #1a1a1a !important;
}

body.colorful-theme h1,
body.colorful-theme h2,
body.colorful-theme h3,
body.colorful-theme h4,
body.colorful-theme h5,
body.colorful-theme h6 {
    color: #003366 !important;
    font-weight: 700 !important;
}

body.colorful-theme .section-header h2,
body.colorful-theme .category-title h2 {
    color: #003366 !important;
}

body.colorful-theme .section-tag {
    color: #FF1744 !important;
    font-weight: 700 !important;
}

/* About Section - Colorful */
body.colorful-theme .about-section,
body.colorful-theme .about-content {
    background: linear-gradient(135deg, #FFF9E6 0%, #F0F8FF 100%);
}

body.colorful-theme .about-section h2,
body.colorful-theme .about-section h3,
body.colorful-theme .about-content h2,
body.colorful-theme .about-content h3 {
    color: #003366 !important;
}

body.colorful-theme .about-section p,
body.colorful-theme .about-content p {
    color: #333333 !important;
}

/* Hero Text - Colorful */
body.colorful-theme .hero-text h1,
body.colorful-theme .hero-text h2,
body.colorful-theme .hero-text h3 {
    color: #003366 !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8) !important;
}

body.colorful-theme .hero-text p {
    color: #333333 !important;
}

body.colorful-theme .hero-content h1,
body.colorful-theme .hero-content h2,
body.colorful-theme .hero-content h3 {
    color: #003366 !important;
}

body.colorful-theme .hero-content p {
    color: #333333 !important;
}

/* Stats Section - Colorful */
body.colorful-theme .stats-card h3,
body.colorful-theme .stats-card h4 {
    color: inherit !important;
}

body.colorful-theme .stats-card p {
    color: inherit !important;
}

/* Gallery - Colorful */
body.colorful-theme .gallery-item figcaption,
body.colorful-theme .gallery-item .gallery-caption {
    color: #003366 !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Quick Contact - Colorful */
body.colorful-theme .quick-contact,
body.colorful-theme .qc-item {
    background: linear-gradient(135deg, #FFF9E6 0%, #F0F8FF 100%);
}

body.colorful-theme .qc-item h3 {
    color: #003366 !important;
}

body.colorful-theme .qc-item p {
    color: #333333 !important;
}

/* Breadcrumb - Colorful */
body.colorful-theme .breadcrumb {
    color: #333333 !important;
}

body.colorful-theme .breadcrumb a {
    color: #1E90FF !important;
}

body.colorful-theme .breadcrumb span {
    color: #FF1744 !important;
}

/* Machinery Section - Colorful */
body.colorful-theme .machinery-section {
    background: linear-gradient(135deg, #FFF9E6 0%, #F0F8FF 100%);
}

body.colorful-theme .machinery-card h3,
body.colorful-theme .machinery-card h4 {
    color: #003366 !important;
}

body.colorful-theme .machinery-card p,
body.colorful-theme .machinery-specs {
    color: #333333 !important;
}

body.colorful-theme .machinery-specs strong {
    color: #003366 !important;
}

/* Why Choose Section - Colorful */
body.colorful-theme .why-choose-section {
    background: linear-gradient(135deg, #F0F8FF 0%, #FFF9E6 100%);
}

body.colorful-theme .choose-item h3 {
    color: #003366 !important;
}

body.colorful-theme .choose-item p {
    color: #333333 !important;
}

/* General Content Sections - Colorful */
body.colorful-theme .container,
body.colorful-theme .section,
body.colorful-theme section:not(.hero-slider):not(.page-hero):not(.cta):not(.footer) {
    color: #1a1a1a !important;
}

body.colorful-theme .container h1,
body.colorful-theme .container h2,
body.colorful-theme .container h3,
body.colorful-theme .container h4,
body.colorful-theme section h1,
body.colorful-theme section h2,
body.colorful-theme section h3,
body.colorful-theme section h4 {
    color: #003366 !important;
}

body.colorful-theme .container p,
body.colorful-theme section p {
    color: #333333 !important;
}

/* Image Overlays - Ensure text visibility */
body.colorful-theme .product-image,
body.colorful-theme .gallery-item img,
body.colorful-theme .machinery-image img {
    position: relative;
}

body.colorful-theme .product-image::after,
body.colorful-theme .gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Filter Tabs - Colorful */
body.colorful-theme .filter-btn {
    background: #FFFFFF !important;
    color: #003366 !important;
    border: 2px solid #1E90FF !important;
    font-weight: 600 !important;
}

body.colorful-theme .filter-btn.active {
    background: linear-gradient(135deg, #FFD700, #FF6B35) !important;
    color: #003366 !important;
    border-color: #FFD700 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
}

body.colorful-theme .filter-btn:hover {
    background: linear-gradient(135deg, #1E90FF, #00BCD4) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4) !important;
}

body.colorful-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header - Colorful */
body.colorful-theme .header {
    background: linear-gradient(135deg, #FFD700 0%, #FF6B35 25%, #FF1744 50%, #9C27B0 75%, #1E90FF 100%);
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.6);
    border-bottom: 4px solid #FFD700;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.colorful-theme .header .logo span {
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

body.colorful-theme .nav-links a {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

body.colorful-theme .nav-links a:hover,
body.colorful-theme .nav-links a.active {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

body.colorful-theme .nav-links a::after {
    background: linear-gradient(90deg, #FFD700, #FF6B35);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Dropdown Menu - Colorful */
body.colorful-theme .dropdown-menu {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9E6 100%) !important;
    border: 2px solid #FFD700 !important;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4) !important;
    z-index: 9999999 !important;
    position: fixed !important;
    isolation: isolate !important;
}

body.colorful-theme .dropdown:hover .dropdown-menu,
body.colorful-theme .dropdown-menu.active {
    z-index: 9999999 !important;
    position: fixed !important;
    isolation: isolate !important;
}

body.colorful-theme .dropdown-menu a {
    color: var(--text-primary);
}

body.colorful-theme .dropdown-menu a:hover {
    background: linear-gradient(90deg, #FFD700, #FF6B35);
    color: #FFFFFF;
}

/* Hero Section - Colorful */
body.colorful-theme .hero-slider {
    background: linear-gradient(135deg, #FFD700 0%, #FF6B35 20%, #FF1744 40%, #9C27B0 60%, #1E90FF 80%, #00C853 100%);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    position: relative;
}

body.colorful-theme .hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 23, 68, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

body.colorful-theme .slide-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

body.colorful-theme .slide-content h1 {
    color: #FFFFFF !important;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
}

body.colorful-theme .slide-content p {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7) !important;
    font-weight: 500 !important;
    font-size: 1.125rem !important;
}

body.colorful-theme .slide-content .hero-buttons {
    z-index: 3;
    position: relative;
}

body.colorful-theme .slide-content .tagline {
    background: linear-gradient(135deg, #FFD700, #FF6B35, #FF1744);
    border: 3px solid #FFFFFF;
    color: #003366;
    font-weight: 700;
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 107, 53, 0.6);
    animation: taglineGlow 3s ease-in-out infinite;
}

@keyframes taglineGlow {
    0%, 100% {
        box-shadow: 0 6px 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 107, 53, 0.6);
    }
    50% {
        box-shadow: 0 8px 40px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 107, 53, 0.8);
    }
}

/* Buttons - Colorful */
body.colorful-theme .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FF6B35 100%);
    color: #003366;
    border: 2px solid #FFD700;
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

body.colorful-theme .btn-primary:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #FF1744 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 23, 68, 0.6);
}

body.colorful-theme .btn-outline-light {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    backdrop-filter: blur(10px);
}

body.colorful-theme .btn-outline-light:hover {
    background: #FFFFFF;
    color: #FF6B35;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.5);
}

/* Page Hero - Colorful */
body.colorful-theme .page-hero {
    background: linear-gradient(135deg, #1E90FF 0%, #00BCD4 30%, #00C853 60%, #FFD700 100%);
    color: #FFFFFF !important;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
}

body.colorful-theme .page-hero h1,
body.colorful-theme .page-hero h2,
body.colorful-theme .page-hero h3 {
    color: #FFFFFF !important;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8) !important;
}

body.colorful-theme .page-hero p {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7) !important;
}

body.colorful-theme .page-hero::after {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.8) 20%,
        rgba(255, 107, 53, 0.8) 50%,
        rgba(255, 215, 0, 0.8) 80%,
        transparent 100%);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

body.colorful-theme .page-hero::before {
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.2) 1px, transparent 1px);
}

/* Sections - Colorful */
body.colorful-theme .features {
    background: linear-gradient(135deg, #FFF9E6 0%, #F0F8FF 50%, #FFF9E6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
}

body.colorful-theme .features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

body.colorful-theme .features-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9E6 100%);
    border: 4px solid #FFD700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.colorful-theme .features-card h3,
body.colorful-theme .features-card h4 {
    color: #003366 !important;
}

body.colorful-theme .features-card p {
    color: #333333 !important;
}

body.colorful-theme .features-card:nth-child(1) {
    border-color: #FFD700;
}

body.colorful-theme .features-card:nth-child(2) {
    border-color: #FF6B35;
}

body.colorful-theme .features-card:nth-child(3) {
    border-color: #FF1744;
}

body.colorful-theme .features-card:nth-child(4) {
    border-color: #1E90FF;
}

body.colorful-theme .features-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.6);
    border-width: 5px;
}

body.colorful-theme .features-card .icon {
    background: linear-gradient(135deg, #FFD700, #FF6B35);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    border: 3px solid #FFFFFF;
}

body.colorful-theme .features-card:nth-child(1) .icon {
    background: linear-gradient(135deg, #FFD700, #FF6B35);
}

body.colorful-theme .features-card:nth-child(2) .icon {
    background: linear-gradient(135deg, #FF6B35, #FF1744);
}

body.colorful-theme .features-card:nth-child(3) .icon {
    background: linear-gradient(135deg, #FF1744, #9C27B0);
}

body.colorful-theme .features-card:nth-child(4) .icon {
    background: linear-gradient(135deg, #1E90FF, #00C853);
}

/* Products Section - Colorful */
body.colorful-theme .products-section {
    background: linear-gradient(135deg, #F0F8FF 0%, #FFF9E6 100%);
}

body.colorful-theme .products-section h2,
body.colorful-theme .products-section h3 {
    color: #003366 !important;
}

body.colorful-theme .products-section p {
    color: #333333 !important;
}

body.colorful-theme .category-title h2 {
    color: #003366 !important;
}

body.colorful-theme .category-title p {
    color: #1E90FF !important;
    font-weight: 600 !important;
}

body.colorful-theme .category-title h2 {
    background: linear-gradient(135deg, #FF1744, #FF6B35, #FFD700) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.colorful-theme .product-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FF 100%);
    border: 4px solid #1E90FF;
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.colorful-theme .product-card h3 {
    color: #003366 !important;
    font-weight: 700 !important;
}

body.colorful-theme .product-card .product-info {
    background: transparent !important;
}

body.colorful-theme .product-card .product-info * {
    color: inherit !important;
}

body.colorful-theme .product-card .product-size {
    color: #FF1744 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FF1744 !important;
    font-size: 1rem !important;
}

body.colorful-theme .product-card .product-desc {
    color: #1E90FF !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1E90FF !important;
    font-size: 0.9375rem !important;
}

body.colorful-theme .product-card .product-specs {
    color: #1a1a1a !important;
    opacity: 1 !important;
}

body.colorful-theme .product-card .product-specs li {
    color: #003366 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    -webkit-text-fill-color: #003366 !important;
    font-size: 0.9375rem !important;
}

body.colorful-theme .product-card .product-specs li::before {
    color: #00C853 !important;
    font-weight: bold !important;
}

body.colorful-theme .product-card .product-info h3 {
    color: #FF1744 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FF1744 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(255, 23, 68, 0.2) !important;
}

body.colorful-theme .product-card .product-info p {
    color: #1a1a1a !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1a1a1a !important;
}

/* Override any white text colors from base CSS */
body.colorful-theme .product-info h3 {
    color: #FF1744 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FF1744 !important;
    font-weight: 700 !important;
}

body.colorful-theme .product-info .product-size {
    color: #FF1744 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #FF1744 !important;
    font-weight: 700 !important;
}

body.colorful-theme .product-info .product-desc {
    color: #1E90FF !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1E90FF !important;
    font-weight: 600 !important;
}

body.colorful-theme .product-info p {
    color: #1E90FF !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #1E90FF !important;
}

body.colorful-theme .product-card:hover {
    border-color: #FFD700;
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.7);
    border-width: 5px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9E6 100%);
}

body.colorful-theme .product-price {
    color: #FF1744 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(255, 23, 68, 0.3) !important;
    background: linear-gradient(135deg, #FF1744, #FF6B35) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    opacity: 1 !important;
    filter: none !important;
}

body.colorful-theme .product-badge {
    background: linear-gradient(135deg, #FF1744, #FF6B35);
    color: #FFFFFF;
}

/* CTA Section - Colorful */
body.colorful-theme .cta {
    background: linear-gradient(135deg, #9C27B0 0%, #1E90FF 50%, #00C853 100%);
    color: #FFFFFF;
}

body.colorful-theme .cta .btn-white {
    background: #FFFFFF;
    color: #9C27B0;
    border: 2px solid #FFFFFF;
}

body.colorful-theme .cta .btn-white:hover {
    background: #FFD700;
    color: #003366;
    border-color: #FFD700;
}

/* Footer - Colorful */
body.colorful-theme .footer {
    background: linear-gradient(135deg, #003366 0%, #1E90FF 100%);
    color: #FFFFFF;
}

body.colorful-theme .footer h4 {
    color: #FFD700;
}

body.colorful-theme .footer a {
    color: #FFFFFF;
}

body.colorful-theme .footer a:hover {
    color: #FFD700;
}

/* Form Elements - Colorful */
body.colorful-theme input,
body.colorful-theme textarea,
body.colorful-theme select {
    border: 2px solid #1E90FF;
    background: #FFFFFF;
}

body.colorful-theme input:focus,
body.colorful-theme textarea:focus,
body.colorful-theme select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Theme Switcher Button */
.theme-switcher {
    position: fixed !important;
    top: 90px !important;
    right: 30px !important;
    z-index: 9999998 !important;
    background: linear-gradient(135deg, #FFD700, #FF6B35) !important;
    color: #003366 !important;
    border: 3px solid #FFFFFF !important;
    padding: 14px 28px !important;
    border-radius: 35px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.8), 0 0 40px rgba(255, 215, 0, 0.6) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    animation: buttonPulse 3s ease-in-out infinite !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    isolation: isolate !important;
    font-family: 'Poppins', sans-serif !important;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 107, 53, 0.8), 0 0 50px rgba(255, 215, 0, 0.6);
    }
}

.theme-switcher:hover {
    background: linear-gradient(135deg, #FF6B35, #FF1744);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 23, 68, 0.8), 0 0 60px rgba(255, 107, 53, 0.6);
    color: #FFFFFF;
    border-color: #FFD700;
}

body.colorful-theme .theme-switcher {
    background: linear-gradient(135deg, #003366, #1E90FF) !important;
    color: #FFFFFF !important;
    border-color: #FFD700 !important;
    box-shadow: 0 6px 25px rgba(30, 144, 255, 0.6), 0 0 30px rgba(255, 215, 0, 0.4) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

body.colorful-theme .theme-switcher:hover {
    background: linear-gradient(135deg, #1E90FF, #00C853) !important;
    color: #FFFFFF !important;
    border-color: #FFD700 !important;
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.8), 0 0 60px rgba(255, 215, 0, 0.6) !important;
}

/* Animations */
@keyframes colorfulPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
    }
}

body.colorful-theme .btn-primary {
    animation: colorfulPulse 3s ease-in-out infinite;
}

/* Product Cards - Enhanced Colors */
body.colorful-theme .product-card:nth-child(1) {
    border-color: #FFD700;
}

body.colorful-theme .product-card:nth-child(2) {
    border-color: #FF6B35;
}

body.colorful-theme .product-card:nth-child(3) {
    border-color: #FF1744;
}

body.colorful-theme .product-card:nth-child(4) {
    border-color: #9C27B0;
}

body.colorful-theme .product-card:nth-child(5) {
    border-color: #1E90FF;
}

body.colorful-theme .product-card:nth-child(6) {
    border-color: #00C853;
}

/* Stats Section - Colorful */
body.colorful-theme .stats-card {
    background: linear-gradient(135deg, #FFD700, #FF6B35);
    color: #003366;
    border: 3px solid #FFFFFF;
}

body.colorful-theme .stats-card:nth-child(2) {
    background: linear-gradient(135deg, #1E90FF, #00BCD4);
    color: #FFFFFF;
}

body.colorful-theme .stats-card:nth-child(3) {
    background: linear-gradient(135deg, #9C27B0, #FF1744);
    color: #FFFFFF;
}

body.colorful-theme .stats-card:nth-child(4) {
    background: linear-gradient(135deg, #00C853, #C6FF00);
    color: #003366;
}

/* Testimonials - Colorful */
body.colorful-theme .testimonial-card {
    background: #FFFFFF;
    border: 3px solid #FFD700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

body.colorful-theme .testimonial-card h3,
body.colorful-theme .testimonial-card h4 {
    color: #003366 !important;
}

body.colorful-theme .testimonial-card .testimonial-text {
    color: #333333 !important;
}

body.colorful-theme .testimonial-card .testimonial-author {
    color: #003366 !important;
}

body.colorful-theme .testimonial-card:hover {
    border-color: #9C27B0;
    box-shadow: 0 15px 50px rgba(156, 39, 176, 0.5);
}

/* Gallery - Colorful */
body.colorful-theme .gallery-item {
    border: 3px solid #1E90FF;
}

body.colorful-theme .gallery-item:hover {
    border-color: #FFD700;
    transform: scale(1.05);
}

/* Contact Form - Colorful */
body.colorful-theme .contact-form-wrapper {
    background: linear-gradient(135deg, #FFF9E6, #F0F8FF);
    border: 3px solid #FFD700;
}

body.colorful-theme .contact-form-wrapper h2,
body.colorful-theme .contact-form-wrapper h3 {
    color: #003366 !important;
}

body.colorful-theme .contact-form-wrapper p {
    color: #333333 !important;
}

body.colorful-theme .contact-form-wrapper label {
    color: #003366 !important;
    font-weight: 600 !important;
}

body.colorful-theme .contact-form-wrapper input,
body.colorful-theme .contact-form-wrapper textarea,
body.colorful-theme .contact-form-wrapper select {
    color: #1a1a1a !important;
    background: #FFFFFF !important;
}

body.colorful-theme .contact-form-wrapper input::placeholder,
body.colorful-theme .contact-form-wrapper textarea::placeholder {
    color: #999999 !important;
}

body.colorful-theme .contact-info-card {
    background: linear-gradient(135deg, #1E90FF, #00BCD4);
    color: #FFFFFF !important;
    border: 3px solid #FFD700;
}

body.colorful-theme .contact-info-card h3,
body.colorful-theme .contact-info-card strong {
    color: #FFFFFF !important;
}

body.colorful-theme .contact-info-card p {
    color: #FFFFFF !important;
}

/* Additional Text Visibility Rules */
body.colorful-theme .tagline {
    color: #003366 !important;
    background: linear-gradient(135deg, #FFD700, #FF6B35) !important;
}

body.colorful-theme .section-divider {
    background: linear-gradient(90deg, transparent, #FFD700, transparent) !important;
}

body.colorful-theme .price-amount,
body.colorful-theme .price-label {
    color: #FF1744 !important;
    font-weight: 700 !important;
}

body.colorful-theme .qty-amount,
body.colorful-theme .qty-label {
    color: #333333 !important;
}

/* Table Text - Colorful */
body.colorful-theme table,
body.colorful-theme table th,
body.colorful-theme table td {
    color: #1a1a1a !important;
}

body.colorful-theme table th {
    background: linear-gradient(135deg, #FFD700, #FF6B35) !important;
    color: #003366 !important;
}

/* Links - Colorful */
body.colorful-theme a:not(.btn):not(.theme-switcher):not(.theme-switcher-nav):not(.nav-links a):not(.dropdown-menu a) {
    color: #1E90FF !important;
}

body.colorful-theme a:not(.btn):not(.theme-switcher):not(.theme-switcher-nav):not(.nav-links a):not(.dropdown-menu a):hover {
    color: #FF1744 !important;
}

/* Theme Switcher in Nav - Separate Small Button */
.theme-switcher-nav {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    margin-left: 15px !important;
    line-height: 1.2 !important;
}

.theme-switcher-nav:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

body.colorful-theme .theme-switcher-nav {
    background: linear-gradient(135deg, #FFD700, #FF6B35) !important;
    color: #003366 !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4) !important;
}

body.colorful-theme .theme-switcher-nav:hover {
    background: linear-gradient(135deg, #FF6B35, #FF1744) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.6) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-switcher {
        top: 80px !important;
        right: 15px !important;
        padding: 10px 16px !important;
        font-size: 0.75rem !important;
    }
    
    body.colorful-theme .slide-content h1 {
        font-size: 2rem !important;
    }
    
    body.colorful-theme .slide-content p {
        font-size: 1rem !important;
    }
}
