/*
╔══════════════════════════════════════════════════════════════════════════════╗
║                           🔒 STYLES LOCKED 🔒                               ║
║                                                                              ║
║  ⚠️  WARNING: This CSS theme is LOCKED and should NOT be modified!          ║
║                                                                              ║
║  Version: 1.0 FINAL                                                         ║
║  Date: December 2024                                                         ║
║  Status: PRODUCTION READY - DO NOT EDIT                                     ║
║                                                                              ║
║  Theme Features Locked:                                                      ║
║  🎨 Retro Pink Color Palette                                                 ║
║  ✨ Kawaii Aesthetic Design                                                  ║
║  🎭 Complete Animation Suite                                                 ║
║  📱 Responsive Mobile Design                                                 ║
║  🎯 Interactive Hover Effects                                                ║
║  🌸 Gradient Backgrounds                                                     ║
║                                                                              ║
║  Backup: styles.css.backup                                                  ║
║                                                                              ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/

/* CSS Variables - Retro Pink Theme */
:root {
    --primary-color: #ff1493; /* Deep Pink */
    --secondary-color: #ffb3d9; /* Light Pink */
    --accent-color: #ff69b4; /* Hot Pink */
    --retro-pink: #ff6b9d; /* Retro Pink */
    --bubblegum: #ff8fa3; /* Bubblegum Pink */
    --cotton-candy: #ffb3ba; /* Cotton Candy */
    --magenta: #ff007f; /* Bright Magenta */
    --text-dark: #2c1810; /* Dark Brown */
    --text-light: #8b4a6b; /* Muted Pink */
    --white: #ffffff;
    --light-pink: #ffe0f0; /* Very Light Pink */
    --cream: #fff0f5; /* Lavender Blush */
    --soft-pink: #ffb3d9; /* Soft Pink */
    --shadow: 0 4px 6px rgba(255, 20, 147, 0.25);
    --border-radius: 20px; /* More rounded for retro feel */
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--cotton-candy) 0%, var(--bubblegum) 50%, var(--retro-pink) 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    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;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headings and Titles - Cute Retro Fonts */
h1, h2, h3, .section-title, .preview-title, .layer-title, .logo h1 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Instagram link styling */
.instagram-link {
    color: #E4405F !important; /* Instagram brand color */
}

.instagram-link:hover {
    color: #C13584 !important; /* Darker Instagram color on hover */
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: var(--light-pink);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-pink) 100%);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--magenta), var(--accent-color));
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Comfortaa', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--retro-pink));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.5);
}

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

.hero-image svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(255, 105, 180, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

/* Wing Flapping Animation */
@keyframes wingFlap {
    0%, 100% { transform: rotate(-15deg) scaleX(1) scaleY(1); }
    25% { transform: rotate(-10deg) scaleX(0.9) scaleY(1.1); }
    50% { transform: rotate(-20deg) scaleX(1.1) scaleY(0.9); }
    75% { transform: rotate(-8deg) scaleX(0.95) scaleY(1.05); }
}

@keyframes wingFlapRight {
    0%, 100% { transform: rotate(15deg) scaleX(1) scaleY(1); }
    25% { transform: rotate(10deg) scaleX(0.9) scaleY(1.1); }
    50% { transform: rotate(20deg) scaleX(1.1) scaleY(0.9); }
    75% { transform: rotate(8deg) scaleX(0.95) scaleY(1.05); }
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Builder Section */
.builder {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.builder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.customization-panel {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.layer-section {
    margin-bottom: 2rem;
}

.layer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ingredient-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.ingredient-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.ingredient-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.ingredient-card.active {
    border-color: var(--primary-color);
    background: rgba(233, 30, 99, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.ingredient-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.ingredient-card.selected {
    border-color: var(--primary-color);
    background: var(--light-pink);
}

.ingredient-emoji {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.ingredient-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.ingredient-price {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-btn {
    background: linear-gradient(45deg, var(--retro-pink), var(--bubblegum));
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Fredoka', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.quantity-btn:hover {
    background: linear-gradient(45deg, var(--magenta), var(--accent-color));
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.quantity-btn:active {
    transform: scale(0.9);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.quantity-display {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.pricing-summary {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid #ddd;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--magenta));
    color: white;
    border: none;
    padding: 18px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Comfortaa', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(45deg, var(--magenta), var(--retro-pink));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

.add-to-cart-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.dessert-preview {
    background: transparent;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: sticky;
    top: 100px;
}

.dessert-visual {
    width: 250px;
    height: 300px;
    margin: 0 auto 2rem;
    position: relative;
    background: linear-gradient(145deg, var(--magenta), var(--retro-pink), var(--bubblegum));
    border-radius: 25px;
    box-shadow: inset 0 2px 10px rgba(255, 20, 147, 0.2), 0 8px 25px rgba(255, 105, 180, 0.4);
}

.dessert-layer {
    position: absolute;
    width: 100%;
    height: 25%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.layer-1 { bottom: 0; background: #8B4513; }
.layer-2 { bottom: 25%; background: #DDA0DD; }
.layer-3 { bottom: 50%; background: #FFB6C1; }

.preview-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.preview-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Payment Methods */
.payment-methods {
    margin: 2rem 0;
}

.payment-methods h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--light-pink);
}

.payment-option input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background: var(--light-pink);
}

/* Shipping Address */
.shipping-address {
    margin: 2rem 0;
}

.shipping-address h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.city-notice {
    background: var(--light-pink);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
}

.address-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: var(--primary-color);
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

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

.cart-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: var(--border-radius);
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

.cart-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    padding: 5px;
    min-width: 40px;
    min-height: 40px;
}

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

.close-cart:active {
    color: var(--primary-color);
    transform: scale(0.95);
}

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

.close-cart:active {
    color: var(--primary-color);
    transform: scale(0.95);
}

/* Cart items */
.cart-items {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

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

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

.cart-item-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cart-item-details {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 0.25rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.quantity-btn:hover {
    background: var(--magenta);
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-display {
    font-size: 1rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    color: var(--text-dark);
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-footer {
    background: var(--cream);
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

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

/* Cart buttons container */
.cart-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cancel-btn {
    flex: 1;
    background: #f5f5f5;
    color: var(--text-dark);
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.cancel-btn:hover {
    background: #e0e0e0;
    border-color: #bbb;
    transform: translateY(-1px);
}

.cancel-btn:active {
    transform: translateY(0);
    background: #d0d0d0;
}

.checkout-btn {
    flex: 2;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Improve touch responsiveness */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.checkout-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.checkout-btn:active {
    transform: translateY(0);
    background: #ad1457;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-light);
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--primary-color);
}

.notification.error {
    border-left-color: var(--primary-color);
}

.notification.warning {
    border-left-color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-details li strong {
    color: var(--text-dark);
    margin-left: 0.5rem;
}

.contact-form {
    background: var(--cream);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    grid-column: 1 / -1;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Order Confirmation Modal */
.order-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.order-confirmation-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.order-confirmation-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.order-confirmation-content p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.order-confirmation-content .confirm-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.order-confirmation-content .confirm-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Order confirmation buttons container */
.order-confirmation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Cancel order button styling */
.order-confirmation-content .cancel-order-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.order-confirmation-content .cancel-order-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.order-confirmation-content .cancel-order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mobile responsiveness for buttons */
@media (max-width: 480px) {
    .order-confirmation-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-confirmation-content .cancel-order-btn,
    .order-confirmation-content .confirm-btn {
        width: 100%;
        margin: 0;
    }
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: var(--text-light);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.animate,
.fade-in-left.animate,
.fade-in-right.animate {
    opacity: 1;
    transform: translate(0);
}

/* Enhanced Button Animations */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    animation: pulse 1s infinite;
}

/* Ingredient Card Hover Animations */
.ingredient-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ingredient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 182, 193, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ingredient-card:hover::before {
    opacity: 1;
}

.ingredient-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.ingredient-card:active {
    transform: translateY(-4px) scale(0.98);
}

/* Quantity Button Animations */
.quantity-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quantity-btn:hover {
    transform: scale(1.1);
    animation: bounce 0.6s ease;
}

.quantity-btn:active {
    transform: scale(0.95);
}

/* Add to Cart Loading Animation */
.add-to-cart-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Floating Elements Animation */
.floating-element {
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(2n) {
    animation-delay: -1s;
}

.floating-element:nth-child(3n) {
    animation-delay: -2s;
}

/* Section Entrance Animations */
.about {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.customization {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.shipping-address {
    animation: fadeInLeft 1s ease-out 0.6s both;
}

.dessert-preview {
    animation: fadeInRight 1s ease-out 0.6s both;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .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;
        z-index: 999;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

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

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

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

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 20px 80px;
    }

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

    .hero-image {
        margin-top: 2rem;
    }

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

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .builder-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dessert-preview {
        position: static;
        order: -1;
    }

    .ingredient-options {
        grid-template-columns: 1fr 1fr;
    }

    .dessert-visual {
        width: 200px;
        height: 240px;
    }

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

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

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

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

    .social-links {
        justify-content: center;
    }

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

    .cart-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: column;
    }

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

    .ingredient-options {
        grid-template-columns: 1fr;
    }

    .dessert-visual {
        width: 180px;
        height: 220px;
    }

    .customization-panel,
    .dessert-preview {
        padding: 25px;
    }
}

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
}