/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
    z-index: 10;
}

.nav-logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #667eea;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}

/* Section Isolation - Prevent Overlapping */
.hero,
.gallery-section,
.products-section,
.about-section,
.contact-section {
    isolation: isolate; /* Create new stacking context */
    position: relative;
}

.gallery-section {
    z-index: 2;
}

.products-section {
    z-index: 3;
}

.about-section {
    z-index: 4;
}

.contact-section {
    z-index: 5;
}

.hero {
    z-index: 1;
    min-height: 100vh;
    max-height: 100vh; /* Prevent extending beyond viewport */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    clip-path: inset(0); /* Create a new stacking context */
    contain: layout style paint; /* CSS containment for better performance */
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
    max-height: calc(100vh - 70px); /* Account for navbar height */
    overflow: hidden; /* Prevent content from extending */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder, .image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-placeholder::before, .image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05) 1px, transparent 1px);
    animation: float-pattern 20s linear infinite;
}

.hero-placeholder::after, .image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.08) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255,255,255,0.04) 50%, transparent 51%);
    background-size: 30px 30px;
    animation: hero-shimmer 4s ease-in-out infinite;
}

.hero-placeholder p, .image-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 3;
    opacity: 0.9;
    color: #666;
}

.hero-placeholder i, .image-placeholder i {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: hero-icon-pulse 3s ease-in-out infinite;
}

@keyframes float-pattern {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-10px, -10px) rotate(360deg); }
}

@keyframes hero-shimmer {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

@keyframes hero-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 10; /* Ensure it appears above hero section */
    margin-top: 0; /* No gap */
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Subtle visual separator */
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
    background-size: 20px 20px;
    animation: shimmer 3s ease-in-out infinite;
}

.gallery-image i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Products Section */
.products-section {
    padding: 100px 0;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 2s ease-in-out infinite;
}

.product-image i {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Footer */
.footer {
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Professional Theme */
.footer-professional {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.footer-professional .footer-section h3,
.footer-professional .footer-section h4 {
    color: white;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-professional .social-links a {
    background: #34495e;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.footer-professional .social-links a:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-3px);
}

.footer-professional .newsletter-form input {
    background: #34495e;
    border: 2px solid #4a5f7a;
}

.footer-professional .newsletter-form input:focus {
    border-color: #667eea;
    outline: none;
}

.footer-professional .newsletter-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-professional .footer-section ul li a {
    color: #666;
}

/* Footer Vibrant Theme */
.footer-vibrant {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    overflow: hidden;
}

.footer-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.06) 1px, transparent 2px);
    animation: footer-sparkle 6s ease-in-out infinite;
}

@keyframes footer-sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-vibrant .container {
    position: relative;
    z-index: 10;
}

.footer-vibrant .footer-section h3,
.footer-vibrant .footer-section h4 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite alternate;
}

.footer-vibrant .footer-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-vibrant .footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.footer-vibrant .footer-section ul li a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.footer-vibrant .social-links a {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-vibrant .social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-vibrant .newsletter-form input {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.footer-vibrant .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-vibrant .newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.footer-vibrant .newsletter-form button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-vibrant .newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.footer-vibrant .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer Minimal Theme */
.footer-minimal {
    background: #ffffff;
    color: #2c3e50;
    border-top: 3px solid #e9ecef;
}

.footer-minimal .footer-section h3,
.footer-minimal .footer-section h4 {
    color: #2c3e50;
    font-weight: 300;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-minimal .footer-section p {
    color: #6c757d;
    font-weight: 300;
}

.footer-minimal .footer-section ul li a {
    color: #6c757d;
    font-weight: 300;
    transition: all 0.3s ease;
}

.footer-minimal .footer-section ul li a:hover {
    color: #2c3e50;
    padding-left: 5px;
}

.footer-minimal .social-links a {
    background: transparent;
    color: #6c757d;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.footer-minimal .social-links a:hover {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.footer-minimal .newsletter-form input {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #2c3e50;
    border-radius: 0;
}

.footer-minimal .newsletter-form input:focus {
    border-color: #2c3e50;
    outline: none;
}

.footer-minimal .newsletter-form button {
    background: #2c3e50;
    border-radius: 0;
}

.footer-minimal .newsletter-form button:hover {
    background: #1a252f;
}

.footer-minimal .footer-bottom {
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.newsletter-form button {
    padding: 10px 15px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.cart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cart-items {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #667eea;
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #f0f0f0;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
}

.close-modal:hover {
    opacity: 0.7;
}

#modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    /* Override for vibrant navbar mobile menu */
    .navbar.navbar-vibrant .nav-menu {
        background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%) !important;
        box-shadow: 0 10px 27px rgba(255, 107, 107, 0.3) !important;
        z-index: 1001 !important;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Vibrant navbar mobile menu items */
    .navbar.navbar-vibrant .nav-link {
        color: white !important;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar.navbar-vibrant .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }
    
    .navbar.navbar-vibrant .nav-toggle .bar {
        background: white !important;
    }
    
    .navbar.navbar-vibrant .cart-icon {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .cart-content {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .gallery-filters,
    .product-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item,
.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Beautiful Gradient Image Classes */
.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.gradient-7 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.gradient-8 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }

.product-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.product-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.product-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.product-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.product-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.product-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.product-7 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.product-8 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }

.hero-professional { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.hero-vibrant { background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%); }
.hero-minimal { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }

/* Image placeholder enhancement */
.image-placeholder {
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Gallery and Product image classes */
.gallery-image.gradient-1,
.gallery-image.gradient-2,
.gallery-image.gradient-3,
.gallery-image.gradient-4,
.gallery-image.gradient-5,
.gallery-image.gradient-6,
.gallery-image.gradient-7,
.gallery-image.gradient-8,
.product-image.product-1,
.product-image.product-2,
.product-image.product-3,
.product-image.product-4,
.product-image.product-5,
.product-image.product-6,
.product-image.product-7,
.product-image.product-8 {
    position: relative;
    overflow: hidden;
}

.gallery-image.gradient-1::after,
.gallery-image.gradient-2::after,
.gallery-image.gradient-3::after,
.gallery-image.gradient-4::after,
.gallery-image.gradient-5::after,
.gallery-image.gradient-6::after,
.gallery-image.gradient-7::after,
.gallery-image.gradient-8::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2) 2px, transparent 3px),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.15) 1px, transparent 2px),
        radial-gradient(circle at 20% 70%, rgba(255,255,255,0.1) 1px, transparent 2px);
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Image loading states and real image support */
.gallery-image.loaded::before,
.product-image.loaded::before {
    opacity: 0;
}

.gallery-image.loaded i,
.product-image.loaded i {
    opacity: 0;
}

.gallery-image[style*="background-image"],
.product-image[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================
   DYNAMIC STYLE TOGGLE SYSTEM
   ============================================ */

/* Style Toggle Buttons */
.style-toggle-btn {
    position: absolute;
    top: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}
.style-toggle-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Prevent rotation for dropdown toggles to avoid rotating the dropdown */
.style-toggle-btn.dropdown-toggle:hover {
    background: #667eea !important;
    color: white !important;
    transform: scale(1.1) !important; /* Only scale, no rotation for the button */
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
}

/* Only rotate the palette icon itself, not the whole button */
.style-toggle-btn.dropdown-toggle:hover .fa-palette {
    transform: rotate(180deg) !important;
}

/* Ensure the dropdown arrow doesn't rotate with the palette icon */
.dropdown-toggle .dropdown-arrow {
    transform-origin: center;
}

.style-toggle-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Specific styling for palette icon in dropdown toggle */
.dropdown-toggle .fa-palette {
    transition: transform 0.3s ease;
    transform-origin: center;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

/* Ensure dropdown arrow stays in place */
.dropdown-toggle .dropdown-arrow {
    position: absolute;
    right: -2px;
    bottom: -2px;
    font-size: 0.6rem !important;
    background: #667eea;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    transform-origin: center center;
    cursor: pointer;
    z-index: 3;
}

/* Theme Dropdown Styles */
.theme-toggle-container {
    position: absolute;
    top: 12px;
    right: 70px; /* Away from mobile menu button */
}

.dropdown-toggle {
    position: relative;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 0;
    overflow: visible;
}

.theme-dropdown {
    right: -2px;
    bottom: -2px;
    font-size: 0.6rem !important;
    background: #667eea;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 96px;
    align-items: center;
    justify-content: center;
}

.theme-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 180px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.theme-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.theme-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 4px;
}

.theme-dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(4px);
}

.theme-dropdown-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Color Picker Modal Styles */
.color-picker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.color-picker-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.color-picker-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-picker-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-color-picker {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-color-picker:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.color-picker-body {
    padding: 24px;
}

.color-picker-body p {
    margin-bottom: 24px;
    color: #666;
    text-align: center;
}

.color-selection {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.color-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.color-slot:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.color-slot label {
    font-weight: 500;
    color: #333;
    margin: 0;
}

.color-wheel-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-input {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.color-input:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.color-preview {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.color-picker-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.color-picker-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive styles for dropdown and color picker */
@media (max-width: 768px) {
    .theme-dropdown {
        right: -20px;
        min-width: 160px;
    }
    
    .theme-dropdown::before {
        right: 35px;
    }
    
    .color-picker-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .color-selection {
        gap: 16px;
    }
    
    .color-slot {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .color-wheel-container {
        align-self: flex-end;
    }
    
    .color-picker-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .color-picker-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .theme-toggle-container {
        right: 60px;
    }
    
    .dropdown-toggle {
        width: 40px;
        height: 40px;
    }
    
    .dropdown-arrow {
        width: 14px;
        height: 14px;
        font-size: 0.5rem !important;
    }
    
    .theme-dropdown {
        min-width: 140px;
        right: -10px;
    }
    
    .theme-dropdown-item {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .color-picker-header {
        padding: 16px 20px;
    }
    
    .color-picker-header h3 {
        font-size: 1.1rem;
    }
    
    .color-picker-body {
        padding: 20px;
    }
}

/* Navigation Bar Themes */
.navbar-professional {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-professional .nav-logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-vibrant {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 107, 107, 0.4) !important;
    position: fixed;
}

.navbar-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@keyframes navbar-shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.navbar-vibrant .nav-logo h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 10;
}

.navbar-vibrant .nav-link {
    color: white !important;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.navbar-vibrant .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.navbar-vibrant .cart-icon {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.navbar-vibrant .cart-icon:hover {
    color: white !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.navbar-vibrant .nav-toggle .bar {
    background: white !important;
}

.navbar-vibrant .nav-toggle:hover .bar {
    background: rgba(255, 255, 255, 0.8) !important;
}

.navbar-minimal {
    background: rgba(248, 249, 250, 0.98);
    border-bottom: 1px solid #e9ecef;
    backdrop-filter: blur(5px);
}

.navbar-minimal .nav-logo h2 {
    color: #2c3e50;
    font-weight: 300;
}

.navbar-minimal .nav-link {
    color: #6c757d;
    font-weight: 400;
}

.navbar-minimal .nav-link:hover {
    color: #2c3e50;
}

/* Hero Section Themes */
.hero-professional {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    max-height: 100vh;
    overflow: hidden;
}

.hero-professional .hero-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-professional .hero-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.hero-professional .hero-placeholder::before {
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.15) 2px, transparent 3px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 1px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 1px, transparent 2px);
}

.hero-vibrant {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    max-height: 100vh;
    overflow: hidden;
}

/* Vibrant theme - full background image with centered content */
.hero-vibrant .hero-container {
    grid-template-columns: 1fr; /* Single column layout */
    text-align: center;
    z-index: 10;
}

.hero-vibrant .hero-image {
    z-index: 1;
    overflow: hidden;
}

.hero-vibrant .hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 120%; /* Larger for parallax effect */
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.05s ease-out;
    will-change: transform;
    transform: translateY(-10%); /* Initial parallax position */
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.hero-vibrant .hero-placeholder::before {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 3px, transparent 4px),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.15) 2px, transparent 3px),
        radial-gradient(circle at 50% 20%, rgba(255,255,255,0.1) 2px, transparent 3px),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 1px, transparent 2px);
    animation: vibrant-sparkle 4s ease-in-out infinite;
}

.hero-vibrant .hero-placeholder::after {
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.15) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 50%, transparent 52%);
    background-size: 30px 30px;
    animation: vibrant-shimmer 5s ease-in-out infinite;
}

.hero-vibrant .hero-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: hero-icon-pulse 3s ease-in-out infinite;
}

.hero-vibrant .hero-placeholder p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes vibrant-sparkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes vibrant-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-vibrant .hero-title {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    animation: pulse 2s ease-in-out infinite alternate;
}

.hero-vibrant .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-vibrant .hero-buttons {
    position: relative;
    z-index: 10;
    justify-content: center;
}

.hero-vibrant .btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.hero-vibrant .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero-vibrant .btn-secondary:hover {
    background: white;
    color: #ff6b6b;
}

.hero.hero-minimal {
    transition: unset;
    min-height: unset;
    max-height: unset;
    padding: 150px;
}

.hero-minimal {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    max-height: 100vh;
    overflow: hidden;
    transition: background 0.3s ease, border 0.3s ease; /* Override cubic bezier transition */
}

.hero-minimal .hero-title {
    color: #2c3e50;
    font-weight: 300;
    font-size: 3rem;
}

.hero-minimal .hero-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    border: 2px solid #dee2e6;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}

.hero-minimal .hero-placeholder::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 117, 125, 0.08) 1px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(108, 117, 125, 0.06) 1px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(108, 117, 125, 0.04) 1px, transparent 2px);
}

.hero-minimal .hero-placeholder::after {
    background: 
        linear-gradient(45deg, transparent 49.5%, rgba(108, 117, 125, 0.05) 50%, transparent 50.5%),
        linear-gradient(-45deg, transparent 49.5%, rgba(108, 117, 125, 0.03) 50%, transparent 50.5%);
    background-size: 40px 40px;
    animation: minimal-shimmer 6s ease-in-out infinite;
}

@keyframes minimal-shimmer {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.hero-minimal .hero-subtitle {
    color: #6c757d;
    font-weight: 300;
}

.hero-minimal .btn-primary {
    background: #2c3e50;
    color: white;
}

.hero-minimal .btn-secondary {
    background: transparent;
    color: #2c3e50;
    border-color: #2c3e50;
}

.hero-placeholder.hero-professional p {
    color: white;
}

/* Gallery Section Themes */
.gallery-professional {
    background: #f8f9fa;
}

.gallery-vibrant {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.gallery-vibrant .section-header h2,
.gallery-vibrant .section-header p {
    color: white;
}

.gallery-vibrant .filter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.gallery-vibrant .filter-btn.active,
.gallery-vibrant .filter-btn:hover {
    background: white;
    color: #667eea;
}

.gallery-vibrant .gallery-item {
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.6s ease;
}

.gallery-vibrant .gallery-item:hover {
    transform: perspective(1000px) rotateY(10deg) translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-minimal {
    background: white;
}

.gallery-minimal .gallery-item {
    box-shadow: none;
    border: 1px solid #e9ecef;
    border-radius: 0;
}

.gallery-minimal .gallery-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-minimal .filter-btn {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 0;
}

.gallery-minimal .filter-btn.active,
.gallery-minimal .filter-btn:hover {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

/* Gallery Minimal Carousel */
.gallery-minimal .gallery-grid {
    display: flex;
    overflow: hidden;
    position: relative;
    gap: 0;
    scroll-behavior: smooth;
}

.gallery-minimal .gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 100%;
}

.gallery-minimal .gallery-item {
    flex: 0 0 calc(20% - 0.8rem); /* 5 items visible by default */
    min-width: 200px;
    box-shadow: none;
    border: 1px solid #e9ecef;
    border-radius: 0;
    transition: all 0.3s ease;
}

.gallery-minimal .gallery-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Carousel Navigation */
.gallery-minimal .carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-minimal .carousel-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 1.2rem;
}

.gallery-minimal .carousel-btn:hover {
    background: #2c3e50;
    color: white;
    transform: scale(1.1);
}

.gallery-minimal .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gallery-minimal .carousel-btn:disabled:hover {
    background: white;
    color: #2c3e50;
}

/* Carousel Dots Indicator */
.gallery-minimal .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-minimal .carousel-dot {
    width: 10px;
    height: 10px;
    background: #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-minimal .carousel-dot.active {
    background: #2c3e50;
    transform: scale(1.3);
}

.gallery-minimal .carousel-dot:hover {
    background: #6c757d;
}

/* Responsive Carousel Adjustments */
@media (max-width: 1200px) {
    .gallery-minimal .gallery-item {
        flex: 0 0 calc(25% - 0.75rem); /* 4 items on medium screens */
    }
}

@media (max-width: 768px) {
    .gallery-minimal .gallery-item {
        flex: 0 0 calc(33.333% - 0.67rem); /* 3 items on mobile */
        min-width: 180px;
    }
    
    .gallery-minimal .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-minimal .gallery-item {
        flex: 0 0 calc(33.333% - 0.67rem); /* Keep 3 items on small mobile */
        min-width: 150px;
    }
    
    .gallery-minimal .gallery-track {
        gap: 0.5rem;
    }
}

/* Products Section Themes */
.products-professional {
    background: white;
}

.products-vibrant {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.products-vibrant .section-header h2,
.products-vibrant .section-header p {
    color: #2c3e50;
}

.products-vibrant .product-card {
    background: white;
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-vibrant .product-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.products-vibrant .add-to-cart {
    background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
}

.products-minimal {
    background: #f8f9fa;
}

.products-minimal .product-card {
    background: white;
    box-shadow: none;
    border: 1px solid #dee2e6;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-minimal .product-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.products-minimal .add-to-cart {
    background: #2c3e50;
    border-radius: 0;
}

.products-minimal .product-filters .filter-btn {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 0;
}

.products-minimal .product-filters .filter-btn.active,
.products-minimal .product-filters .filter-btn:hover {
    background: #2c3e50;
    color: white;
}

/* Products Minimal Carousel */
.products-minimal .products-grid {
    display: flex;
    overflow: hidden;
    position: relative;
    gap: 0;
    scroll-behavior: smooth;
}

.products-minimal .products-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
    width: 100%;
}

.products-minimal .product-card {
    flex: 0 0 calc(20% - 0.8rem); /* 5 items visible by default */
    min-width: 200px;
    background: white;
    box-shadow: none;
    border: 1px solid #dee2e6;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-minimal .product-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Products Carousel Navigation */
.products-minimal .carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.products-minimal .carousel-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 1.2rem;
}

.products-minimal .carousel-btn:hover {
    background: #2c3e50;
    color: white;
    transform: scale(1.1);
}

.products-minimal .carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.products-minimal .carousel-btn:disabled:hover {
    background: white;
    color: #2c3e50;
}

/* Products Carousel Dots Indicator */
.products-minimal .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.products-minimal .carousel-dot {
    width: 10px;
    height: 10px;
    background: #dee2e6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-minimal .carousel-dot.active {
    background: #2c3e50;
    transform: scale(1.3);
}

.products-minimal .carousel-dot:hover {
    background: #6c757d;
}

/* Responsive Products Carousel Adjustments */
@media (max-width: 1200px) {
    .products-minimal .product-card {
        flex: 0 0 calc(25% - 0.75rem); /* 4 items on medium screens */
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .products-minimal .product-card {
        flex: 0 0 calc(33.333% - 0.67rem); /* 3 items on mobile */
        min-width: 180px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .products-minimal .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-minimal .product-card {
        flex: 0 0 calc(33.333% - 0.67rem); /* Keep 3 items on small mobile */
        min-width: 150px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .products-minimal .products-track {
        gap: 0.5rem;
    }
}

/* About Section Themes */
.about-professional {
    background: #f8f9fa;
}

.about-vibrant {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.about-vibrant .about-text h2,
.about-vibrant .about-text p {
    color: white;
}

.about-vibrant .stat-item h3 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

.about-vibrant .stat-item p {
    color: rgba(255, 255, 255, 0.9);
}

.about-minimal {
    background: white;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.about-minimal .about-text h2 {
    color: #2c3e50;
    font-weight: 300;
}

.about-minimal .about-text p {
    color: #6c757d;
    font-weight: 300;
}

.about-minimal .stat-item h3 {
    color: #2c3e50;
    font-weight: 300;
}

.about-minimal .stat-item p {
    color: #6c757d;
}

/* Contact Section Themes */
.contact-professional {
    background: white;
}

.contact-vibrant {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
}

.contact-vibrant .section-header h2,
.contact-vibrant .section-header p {
    color: white;
}

.contact-vibrant .contact-item h3,
.contact-vibrant .contact-item p {
    color: white;
}

.contact-vibrant .contact-item i {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-vibrant .contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-vibrant .form-group input,
.contact-vibrant .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-minimal {
    background: #f8f9fa;
}

.contact-minimal .section-header h2 {
    color: #2c3e50;
    font-weight: 300;
}

.contact-minimal .section-header p {
    color: #6c757d;
}

.contact-minimal .contact-item i {
    background: #2c3e50;
}

.contact-minimal .contact-form {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0;
}

.contact-minimal .form-group input,
.contact-minimal .form-group textarea {
    border-radius: 0;
    border-color: #dee2e6;
}

/* Theme Transition Animations */
.navbar,
.hero,
.gallery-section,
.products-section,
.about-section,
.contact-section {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Animations for Vibrant Theme */
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

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

.gallery-vibrant .gallery-item:nth-child(odd) {
    animation: float 3s ease-in-out infinite;
}

.gallery-vibrant .gallery-item:nth-child(even) {
    animation: float 3s ease-in-out infinite reverse;
}

/* Responsive adjustments for style toggle buttons */
@media (max-width: 768px) {
    .style-toggle-btn {
        width: 40px;
        height: 40px;
        right: 15px;
    }
    
    .navbar .style-toggle-btn {
        right: 60px; /* More space from mobile menu on smaller screens */
    }
    
    .style-toggle-btn i {
        font-size: 1rem;
    }
}

/* Theme-specific mobile adjustments */
@media (max-width: 768px) {
    .hero-vibrant .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-vibrant .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-vibrant .hero-placeholder i {
        font-size: 3rem;
    }
    
    .gallery-vibrant .gallery-item:hover {
        transform: perspective(1000px) rotateY(5deg) translateY(-10px);
    }
    
    .products-vibrant .product-card:hover {
        transform: perspective(1000px) rotateX(3deg) translateY(-5px);
    }
}

@media (max-width: 480px) {
    .hero-vibrant .hero-title {
        font-size: 2rem;
    }
    
    .hero-vibrant .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-vibrant .hero-placeholder i {
        font-size: 2.5rem;
    }
}

/* ============================================
   ADMIN STYLES
   ============================================ */

/* Admin Toggle in Navbar */
.admin-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    border: 2px solid transparent;
}

.admin-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.admin-toggle.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #20c997;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.admin-nav-item {
    display: none;
    color: #28a745 !important;
    font-weight: 600;
    position: relative;
}

.admin-nav-item::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    transition: width 0.3s ease;
}

.admin-nav-item:hover::before {
    width: 100%;
}

/* Admin Section */
.admin-section {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.admin-header {
    text-align: center;
    margin-bottom: 60px;
}

.admin-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.admin-header h2 i {
    color: #28a745;
    margin-right: 15px;
}

.admin-header p {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-info p {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* Admin Filters */
.admin-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.admin-filters .filter-btn {
    background: white;
    color: #6c757d;
    border: 2px solid #dee2e6;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-filters .filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.admin-filters .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* Orders Table */
.orders-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.orders-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 120px 200px 100px 100px 120px 120px 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 20px 0;
}

.header-cell {
    padding: 0 15px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.table-body {
    max-height: 600px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 120px 200px 100px 100px 120px 120px 100px;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.table-row:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.table-cell {
    padding: 20px 15px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.customer-info {
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.customer-email {
    color: #6c757d;
    font-size: 0.8rem;
}

.items-count {
    color: #6c757d;
    font-weight: 500;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.btn-action {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-orders i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

/* Order Modal */
.order-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.order-modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.order-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-order-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-order-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.order-modal-body {
    padding: 30px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.order-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #667eea;
}

.order-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-section h4 i {
    color: #667eea;
}

.order-info {
    display: grid;
    gap: 10px;
}

.order-info p {
    margin: 0;
    color: #495057;
}

.order-info strong {
    color: #2c3e50;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #dee2e6;
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.item-details {
    color: #6c757d;
    font-size: 0.9rem;
}

.item-total {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1rem;
}

.items-total {
    text-align: right;
    padding: 15px;
    border-top: 2px solid #667eea;
    margin-top: 15px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.order-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Mobile Responsiveness for Admin */
@media (max-width: 1200px) {
    .table-header,
    .table-row {
        grid-template-columns: 100px 180px 80px 90px 100px 100px 80px;
    }
    
    .header-cell,
    .table-cell {
        padding: 15px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 90px 160px 70px 80px 90px 90px 70px;
    }
    
    .customer-email {
        display: none;
    }
}

@media (max-width: 768px) {
    .admin-header h2 {
        font-size: 2rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .admin-filters {
        gap: 10px;
    }
    
    .admin-filters .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .orders-table {
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 80px 140px 60px 70px 80px 80px 60px;
        min-width: 570px;
    }
    
    .order-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .order-modal-body {
        padding: 20px;
    }
    
    .order-section {
        padding: 20px;
    }
    
    .order-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .admin-toggle {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
    
    .admin-header h2 {
        font-size: 1.8rem;
    }
    
    .admin-header p {
        font-size: 1rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
    
    .admin-filters .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 70px 120px 50px 60px 70px 70px 50px;
        min-width: 490px;
    }
    
    .header-cell,
    .table-cell {
        padding: 10px 8px;
        font-size: 0.75rem;
    }
    
    .order-modal-content {
        margin: 5% auto;
    }
    
    .order-modal-header {
        padding: 20px;
    }
    
    .order-modal-header h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   ADMIN THEME VARIATIONS
   ============================================ */

/* Professional Theme (Default) */
.admin-professional {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.admin-professional .admin-header h2 {
    color: #2c3e50;
}

.admin-professional .admin-header h2 i {
    color: #28a745;
}

.admin-professional .stat-card {
    background: white;
    border: 1px solid #dee2e6;
}

.admin-professional .orders-container {
    background: white;
    border: 1px solid #dee2e6;
}

/* Vibrant Theme */
.admin-vibrant {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    position: relative;
    overflow: hidden;
}

.admin-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.admin-vibrant .container {
    position: relative;
    z-index: 1;
}

.admin-vibrant .admin-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-vibrant .admin-header h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.admin-vibrant .admin-header h2 i {
    color: #fff3cd;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.admin-vibrant .admin-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.admin-vibrant .admin-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.admin-vibrant .stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.4s ease;
}

.admin-vibrant .stat-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.admin-vibrant .stat-card:nth-child(odd) {
    transform: perspective(1000px) rotateX(5deg) rotateY(-2deg);
}

.admin-vibrant .stat-card:nth-child(even) {
    transform: perspective(1000px) rotateX(5deg) rotateY(2deg);
}

.admin-vibrant .admin-filters {
    justify-content: center;
    margin-bottom: 30px;
}

.admin-vibrant .admin-filters .filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #2c3e50;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-vibrant .admin-filters .filter-btn:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.admin-vibrant .admin-filters .filter-btn.active {
    background: white;
    color: #ff6b6b;
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admin-vibrant .orders-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.admin-vibrant .table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-vibrant .table-row:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(254, 202, 87, 0.1) 100%);
    transform: scale(1.02);
}

/* Minimal Theme */
.admin-minimal {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.admin-minimal .admin-header {
    text-align: left;
    margin-bottom: 80px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.admin-minimal .admin-header h2 {
    color: #1a1a1a;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.admin-minimal .admin-header h2 i {
    display: none; /* Hide icon in minimal theme */
}

.admin-minimal .admin-header p {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.admin-minimal .admin-stats {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 80px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
}

.admin-minimal .stat-card {
    background: #ffffff;
    border-radius: 0;
    border: none;
    border-right: 1px solid #e0e0e0;
    box-shadow: none;
    padding: 40px 20px;
    text-align: center;
    flex: 1;
    transition: all 0.2s ease;
}

.admin-minimal .stat-card:last-child {
    border-right: none;
}

.admin-minimal .stat-card:hover {
    background: #f8f8f8;
    transform: none;
    box-shadow: none;
}

.admin-minimal .stat-icon {
    display: none; /* Hide icons in minimal theme */
}

.admin-minimal .stat-info {
    width: 100%;
}

.admin-minimal .stat-info h3 {
    font-size: 2.5rem;
    font-weight: 200;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.admin-minimal .stat-info p {
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.admin-minimal .admin-filters {
    justify-content: flex-start;
    margin-bottom: 40px;
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0;
}

.admin-minimal .admin-filters .filter-btn {
    background: none;
    border: none;
    border-radius: 0;
    padding: 15px 25px;
    color: #999;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.admin-minimal .admin-filters .filter-btn:hover {
    color: #1a1a1a;
    border-bottom-color: #ddd;
    transform: none;
}

.admin-minimal .admin-filters .filter-btn.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
    background: none;
}

.admin-minimal .orders-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: none;
}

.admin-minimal .table-header {
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.admin-minimal .header-cell {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.admin-minimal .table-row {
    border-bottom: 1px solid #f0f0f0;
}

.admin-minimal .table-row:hover {
    background: #f8f8f8;
    transform: none;
}

.admin-minimal .table-cell {
    padding: 25px 15px;
    font-size: 0.9rem;
}

.admin-minimal .customer-name {
    color: #1a1a1a;
    font-weight: 500;
}

.admin-minimal .customer-email {
    color: #999;
}

.admin-minimal .status-badge {
    border-radius: 0;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-minimal .btn-action {
    color: #666;
    border-radius: 0;
    padding: 6px;
}

.admin-minimal .btn-action:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: none;
}

.admin-minimal .no-orders {
    padding: 80px 20px;
    color: #999;
}

.admin-minimal .no-orders i {
    font-size: 2rem;
    color: #ddd;
}

/* Order Modal Theme Variations */
.admin-vibrant .order-modal-content {
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.admin-vibrant .order-modal-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.admin-minimal .order-modal-content {
    border-radius: 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.admin-minimal .order-modal-header {
    background: #1a1a1a;
    border-radius: 0;
}

.admin-minimal .order-modal-header h3 {
    font-weight: 300;
}

.admin-minimal .order-section {
    background: #f8f8f8;
    border-radius: 0;
    border-left: 2px solid #1a1a1a;
}

.admin-minimal .order-section h4 {
    color: #1a1a1a;
    font-weight: 500;
}

.admin-minimal .order-section h4 i {
    color: #666;
}

/* Mobile Responsiveness for Admin Themes */
@media (max-width: 768px) {
    .admin-vibrant .admin-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .admin-vibrant .stat-card:nth-child(odd),
    .admin-vibrant .stat-card:nth-child(even) {
        transform: perspective(1000px) rotateX(2deg);
    }
    
    .admin-minimal .admin-stats {
        flex-direction: column;
        border: none;
    }
    
    .admin-minimal .stat-card {
        border: 1px solid #e0e0e0;
        border-bottom: none;
        margin: 0;
    }
    
    .admin-minimal .stat-card:last-child {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .admin-minimal .admin-filters {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .admin-vibrant .admin-header h2 {
        font-size: 2.2rem;
    }
    
    .admin-minimal .admin-header h2 {
        font-size: 1.8rem;
    }
    
    .admin-minimal .stat-info h3 {
        font-size: 2rem;
    }
}
