/* Modern JMB Udaipur Website - Inspired by Anand Sweets Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Vibrant Orange & Red Theme */
    --primary-gold: #FF6B35;   /* Vibrant Orange - Main brand color */
    --primary-dark: #D2001F;   /* Deep Red - for headings */
    --accent-orange: #FF8C42;  /* Light Orange accent */
    --accent-warm: #E63946;    /* Red accent for hover states */
    
    /* Neutral Colors */
    --text-dark: #2D1B14;      /* Dark brown for headings */
    --text-medium: #4A3429;    /* Medium brown for body text */
    --text-light: #8B6F47;     /* Light brown for secondary text */
    --white: #FFFFFF;
    --cream: #FFF4E6;          /* Light orange cream background */
    --light-beige: #FFEBE0;    /* Peach background */
    --border-light: #FFD6CC;
    
    /* Shadows */
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.18);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 32px;
    --border-radius: 16px;
    --border-radius-small: 8px;
    
    /* Transitions - Optimized for smoothness */
    --transition: 0.25s ease-out;
    --transition-slow: 0.4s ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Optimize rendering performance */
* {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mobile-specific optimizations */
.mobile-device * {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
}

.mobile-device img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-device img.loaded {
    opacity: 1;
}

/* iOS specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
    .products-slider {
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
    }
}

/* Preloader to prevent flickering */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-beige);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-orange));
    margin: 16px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--light-beige);
    padding: 12px 0;
    font-size: 14px;
}

.header-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
}

.header-info i {
    color: var(--primary-gold);
}

.navbar {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin: 0;
}

.logo span {
    color: var(--accent-orange);
}

.logo .tagline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
    margin-top: -8px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.cart-btn:hover {
    background: var(--light-beige);
    color: var(--primary-gold);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #FFFFFF;  /* Clean white like Anand Sweets */
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(250, 250, 250, 0.7) 50%,
        rgba(255, 255, 255, 0.85) 100%
    );
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) saturate(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    font-weight: 500;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-orange));  /* Orange gradient */
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
}

.slider-prev,
.slider-next {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-gold);
    box-shadow: var(--shadow-light);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-gold);
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 32px;
    background: var(--cream);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-warm));  /* Orange to red gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Categories Section */
.categories-section {
    padding: var(--section-padding);
    background: var(--cream);  /* Light orange cream background */
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    will-change: transform;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(196, 162, 55, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.view-btn {
    background: var(--white);
    color: var(--primary-gold);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.category-info {
    padding: 24px;
    text-align: center;
}

.category-info h3 {
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.category-info p {
    color: var(--text-medium);
    font-weight: 500;
}

/* Best Sellers Section */
.bestsellers-section {
    padding: var(--section-padding);
    background: var(--white);
}

.products-slider {
    position: relative;
    overflow: hidden;
}

.products-container {
    display: flex;
    gap: 32px;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-container:active {
    cursor: grabbing;
}

.products-container.no-transition {
    transition: none;
}

.product-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-gold);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: 24px;
}

.product-info h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-desc {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.weight {
    color: var(--text-light);
    font-size: 14px;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-warm));  /* Orange to red gradient */
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.products-prev,
.products-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: var(--shadow-medium);
}

.products-prev {
    left: -25px;
}

.products-next {
    right: -25px;
}

.products-prev:hover,
.products-next:hover {
    background: var(--primary-gold);
    color: var(--white);
}

/* Specialties Section */
.specialties-section {
    padding: var(--section-padding);
    background: var(--light-beige);  /* Peach background */
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.specialty-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.specialty-image {
    height: 200px;
    overflow: hidden;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.05);
}

.specialty-content {
    padding: 24px;
}

.specialty-content h3 {
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.specialty-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.specialty-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--light-beige);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    margin: 16px 0;
}

.about-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 24px;
    background: var(--cream);
    border-radius: var(--border-radius);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.stat p {
    color: var(--text-medium);
    font-weight: 600;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-image-grid img:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--cream);  /* Light orange cream background */
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    color: var(--primary-gold);
    margin-bottom: 4px;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));  /* Orange to red gradient */
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn.primary {
    background: var(--white);
    color: var(--primary-gold);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: var(--primary-gold);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: grid;
    gap: 32px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--cream);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
}

.info-card i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 4px;
}

.info-card h3 {
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    background: var(--light-beige);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    color: var(--primary-gold);
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(196, 162, 55, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-warm));
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: var(--border-radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(196, 162, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* 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;
    justify-content: center;
    align-items: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: var(--primary-gold);
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-gold);
}

.cart-items {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: var(--text-medium);
    font-style: italic;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-warm));
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: var(--border-radius-small);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding-left: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-wrapper {
        gap: 40px;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
}

/* Mobile Navigation */
.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.nav-menu a {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-top {
        padding: 8px 0;
    }
    
    .header-info {
        justify-content: space-between;
        gap: 20px;
        font-size: 12px;
    }
    
    .navbar {
        padding: 16px 0;
        position: relative;
    }
    
    .nav-menu {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding-left: 20px;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
    
    .cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
        text-align: center;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .categories-grid,
    .specialties-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .category-card {
        max-width: 100%;
    }
    
    .category-image {
        height: 200px;
    }
    
    .bestsellers-section {
        padding: 60px 0;
    }
    
    .products-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .products-slider::-webkit-scrollbar {
        display: none;
    }
    
    .products-container {
        padding: 20px 0;
        min-width: max-content;
    }
    
    .product-card {
        flex: 0 0 280px;
        margin-right: 0;
    }
    
    .products-prev,
    .products-next {
        display: none;
    }
    
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .stat {
        padding: 16px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .cta-btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 16px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .product-card {
        flex: 0 0 260px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-info h4 {
        font-size: 1rem;
    }
    
    .add-to-cart-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .modal-content {
        margin: 20px;
        max-width: calc(100vw - 40px);
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 0 16px 16px;
    }
    
    .modal-footer {
        padding: 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-call, .btn-whatsapp, .btn-close {
        width: 100%;
        justify-content: center;
    }
    
    .cta-btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .cart-modal .modal-content {
        max-width: calc(100vw - 20px);
        margin: 10px;
    }
    
    .contact-form {
        padding: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .category-card:hover,
    .product-card:hover,
    .specialty-card:hover {
        transform: none;
    }
    
    .category-image img,
    .product-image img {
        transition: none;
    }
    
    .category-card:hover .category-image img,
    .product-card:hover .product-image img {
        transform: none;
    }
    
    /* Make buttons more touch-friendly */
    .cta-btn,
    .add-to-cart-btn,
    .view-btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .cart-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-link {
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Coming Soon Modal */
.coming-soon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.coming-soon-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.7) translateY(-50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-heavy);
}

.coming-soon-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 24px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.modal-header h2 {
    color: var(--primary-gold);
    margin: 0;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-beige);
    color: var(--primary-gold);
}

.modal-body {
    padding: 0 24px 24px 24px;
    text-align: center;
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.modal-body h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.modal-body p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.coming-soon-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
    padding: 24px;
    background: var(--cream);
    border-radius: var(--border-radius-small);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.notify-text {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-warm));
    color: var(--white);
    padding: 16px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    margin-top: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-call, .btn-whatsapp, .btn-close {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-call {
    background: var(--primary-gold);
    color: var(--white);
}

.btn-call:hover {
    background: var(--accent-warm);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20c55e;
    transform: translateY(-2px);
}

.btn-close {
    background: var(--light-beige);
    color: var(--text-medium);
    border: 1px solid var(--border-light);
}

.btn-close:hover {
    background: var(--border-light);
    color: var(--text-dark);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}