/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Fredoka+One&display=swap');

/* Variables */
:root {
    --primary-color: #FF9AA2;    /* Soft pink */
    --secondary-color: #B5EAD7;  /* Mint green */
    --accent-color: #FFDAC1;     /* Peach */
    --accent-color-2: #C7CEEA;   /* Lavender */
    --accent-color-3: #E2F0CB;   /* Light green */
    --text-color: #4A4A4A;       /* Dark gray for main text */
    --text-color-light: #666666; /* Medium gray for secondary text */
    --text-color-lighter: #888888; /* Light gray for subtle text */
    --text-color-dark: #333333;  /* Very dark gray for emphasis */
    --text-color-accent: #FF6B8B; /* Soft pink for accents */
    --text-color-accent-2: #FF9AA2; /* Lighter pink for hover states */
    --text-color-accent-3: #FFB347; /* Light orange for headings */
    --text-color-accent-4: #87CEEB; /* Sky blue for subheadings */
    --text-color-accent-5: #FFE66D; /* Soft yellow for prices */
    --background-color: #F7F9FC;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-size-xs: 0.875rem;    /* 14px */
    --font-size-sm: 1rem;        /* 16px */
    --font-size-base: 1.125rem;  /* 18px */
    --font-size-lg: 1.25rem;     /* 20px */
    --font-size-xl: 1.5rem;      /* 24px */
    --font-size-2xl: 2rem;       /* 32px */
    --font-size-3xl: 2.5rem;     /* 40px */
    --font-size-4xl: 3rem;       /* 48px */
}

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

body {
    font-family: 'Quicksand', sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
    font-weight: 400;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--text-color-accent-3);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: 'Fredoka One', cursive;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--text-color-accent);
}

.nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(255, 154, 162, 0.1);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    margin-left: 1rem;
}

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

/* Hero Sections */
.hero-section,
.hero,
.about-hero,
.products-hero,
.contact-hero,
.menu-hero {
    padding: 6rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-section h1,
.hero h1,
.about-hero h1,
.products-hero h1,
.contact-hero h1,
.menu-hero h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
    font-family: 'Fredoka One', cursive;
    color: var(--text-color-accent-3);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.hero-section p,
.hero p,
.about-hero p,
.products-hero p,
.contact-hero p,
.menu-hero p {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: var(--text-color);
    font-weight: 400;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color-accent-3);
    font-size: var(--font-size-2xl);
    font-weight: 400;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    color: var(--text-color-accent-4);
    margin-bottom: 1rem;
    font-size: var(--font-size-xl);
    font-weight: 400;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--text-color-accent-4);
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
    font-weight: 400;
}

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

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-base);
    font-weight: 400;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--text-color-light);
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

.about-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.about-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Products Page Styles */
.products-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.products-hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    margin-bottom: 1rem !important;
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-info h2,
.contact-form h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--text-color);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--secondary-color);
}

button.button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

/* Menu Page Styles */
.menu-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.menu-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.menu-hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.menu-category {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.menu-category h2 {
    color: var(--text-color-accent-3);
    font-size: var(--font-size-2xl);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 400;
}

.menu-category h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.menu-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item h3 {
    color: var(--text-color-accent-4);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-xl);
    font-weight: 400;
}

.menu-item p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 400;
}

.menu-item-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #2c3e50;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.size-select:hover {
    border-color: #3498db;
}

.size-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #3498db;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background: #2980b9;
}

.quantity-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.quantity-input {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.quantity-input:focus {
    outline: none;
    border-color: #3498db;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: #2ecc71;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: #27ae60;
}

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

/* Cart Side Panel */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary-color);
}

.cart-modal.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color-2) 100%);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.cart-header h2 {
    font-family: 'Fredoka One', cursive;
    margin: 0;
    font-size: var(--font-size-xl);
    color: var(--text-color-accent-3);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.close-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--background-color);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 2px solid var(--accent-color-3);
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color-2);
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: var(--font-size-base);
    font-weight: 500;
}

.cart-item-size {
    font-size: var(--font-size-sm);
    color: var(--text-color-light);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.cart-item-price {
    font-weight: 600;
    color: var(--text-color-accent-5);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.quantity-btn {
    background: var(--accent-color-3);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: var(--text-color);
}

.quantity-btn:hover {
    background: var(--accent-color-2);
    color: var(--white);
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-color-dark);
    border: none;
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 154, 162, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 154, 162, 0.4);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* Customer Information Form */
.customer-info {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color-3) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.customer-info h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    text-align: center;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.form-group label {
    font-size: var(--font-size-base);
    color: var(--text-color);
    font-weight: 500;
}

.form-group input {
    padding: 0.9rem;
    border: 2px solid var(--accent-color-2);
    border-radius: 8px;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: var(--white);
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 154, 162, 0.2);
}

/* Order Confirmation Modal */
.order-confirmation-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: var(--white);
    border: 4px solid var(--accent-color-2);
}

.order-confirmation-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.order-confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--background-color);
    background: linear-gradient(135deg, var(--accent-color-2) 0%, var(--accent-color-3) 100%);
    padding: 2rem;
    border-radius: 12px 12px 0 0;
}

.order-confirmation-header h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--text-color-accent-3);
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.order-confirmation-header p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.order-details {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.order-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-info-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--accent-color-3);
    font-size: var(--font-size-base);
    color: var(--text-color);
    font-weight: 400;
}

.order-info-item h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.order-info-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.order-items {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--background-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-color-accent-3);
    border-radius: 8px;
    font-size: var(--font-size-lg);
    font-weight: 500;
}

.order-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.order-actions button {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-order-btn {
    background: var(--accent-color-3);
    color: var(--text-color);
}

.print-order-btn:hover {
    background: var(--accent-color-2);
}

.close-confirmation-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-color);
}

.close-confirmation-btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* Cart Icon Animation */
@keyframes cartBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-icon.bounce {
    animation: cartBounce 0.3s ease;
}

/* Cartoon Treats */
.treat-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Donut */
.donut {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donut:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
}

.donut:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--accent-color) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, var(--accent-color) 0%, transparent 60%);
    border-radius: 50%;
}

/* Cupcake */
.cupcake {
    width: 70px;
    height: 90px;
    position: relative;
}

.cupcake-top {
    width: 70px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 35px 35px 0 0;
    position: relative;
}

.cupcake-top:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
}

.cupcake-bottom {
    width: 70px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 0 0 10px 10px;
}

/* Cookie */
.cookie {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cookie:before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 15px;
    height: 15px;
    background: var(--text-color);
    border-radius: 50%;
}

.cookie:after {
    content: '';
    position: absolute;
    top: 60%;
    left: 60%;
    width: 15px;
    height: 15px;
    background: var(--text-color);
    border-radius: 50%;
}

/* Cake */
.cake {
    width: 90px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cake:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 5px;
}

.cake:after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 5px;
}

/* Treat Positions */
.treat-1 {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.treat-2 {
    top: 20%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
}

.treat-3 {
    bottom: 15%;
    left: 8%;
    animation: float 8s ease-in-out infinite;
}

.treat-4 {
    bottom: 25%;
    right: 8%;
    animation: float 5s ease-in-out infinite;
}

.treat-5 {
    top: 30%;
    left: 15%;
    animation: float 6.5s ease-in-out infinite;
}

.treat-6 {
    top: 40%;
    right: 15%;
    animation: float 7.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Cloud Decorations */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    z-index: 1;
    animation: float 15s infinite ease-in-out;
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.cloud:before {
    width: 50%;
    height: 100%;
    top: -50%;
    left: 25%;
}

.cloud:after {
    width: 30%;
    height: 60%;
    top: -30%;
    right: 25%;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-duration: 20s;
}

.cloud-2 {
    width: 80px;
    height: 30px;
    top: 40%;
    right: 15%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.cloud-3 {
    width: 120px;
    height: 45px;
    top: 60%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: -8s;
}

.cloud-4 {
    width: 90px;
    height: 35px;
    top: 30%;
    right: 30%;
    animation-duration: 22s;
    animation-delay: -12s;
}

.cloud-5 {
    width: 70px;
    height: 25px;
    top: 70%;
    left: 40%;
    animation-duration: 19s;
    animation-delay: -15s;
}

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

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.8rem;
    color: var(--text-color-accent-3);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,20 C70,20 80,40 80,50 C80,60 70,80 50,80 C30,80 20,60 20,50 C20,40 30,20 50,20 Z" fill="%23FFB6C1"/><path d="M50,30 C65,30 70,45 70,50 C70,55 65,70 50,70 C35,70 30,55 30,50 C30,45 35,30 50,30 Z" fill="%23FFE4E1"/><circle cx="40" cy="45" r="5" fill="%23FF69B4"/><circle cx="60" cy="45" r="5" fill="%23FF69B4"/><path d="M40,60 Q50,70 60,60" stroke="%23FF69B4" stroke-width="3" fill="none"/></svg>') no-repeat center/contain;
}

/* Enhanced Hero Sections */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="%23FFB6C1" opacity="0.2"/><circle cx="30" cy="30" r="2" fill="%23FFB6C1" opacity="0.2"/><circle cx="50" cy="10" r="2" fill="%23FFB6C1" opacity="0.2"/><circle cx="70" cy="30" r="2" fill="%23FFB6C1" opacity="0.2"/><circle cx="90" cy="10" r="2" fill="%23FFB6C1" opacity="0.2"/></svg>') repeat;
    opacity: 0.15;
    z-index: 0;
}

/* Featured Section */
.featured-section {
    padding: 4rem 2rem;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.featured-section h2 {
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--text-color-accent-3);
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-item {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px var(--shadow);
}

.featured-item h3 {
    color: var(--text-color-accent-4);
    font-size: var(--font-size-xl);
    margin: 1.5rem 0 1rem;
    font-weight: 400;
}

.featured-item p {
    color: var(--text-color);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.featured-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: var(--font-size-base);
    transition: background-color 0.3s ease;
}

.featured-link:hover {
    background-color: var(--accent-color);
}

/* Sprinkles Animation */
@keyframes sprinkle {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.sprinkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sprinkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: sprinkle 3s linear infinite;
}

.sprinkle:nth-child(2n) {
    background: var(--primary-color);
}

.sprinkle:nth-child(3n) {
    background: var(--secondary-color);
}

.sprinkle:nth-child(4n) {
    background: var(--accent-color);
}

/* Generate 20 sprinkles with different positions and delays */
.sprinkle:nth-child(1) { left: 10%; animation-delay: 0s; }
.sprinkle:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.sprinkle:nth-child(3) { left: 30%; animation-delay: 1s; }
.sprinkle:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.sprinkle:nth-child(5) { left: 50%; animation-delay: 2s; }
.sprinkle:nth-child(6) { left: 60%; animation-delay: 2.5s; }
.sprinkle:nth-child(7) { left: 70%; animation-delay: 0.7s; }
.sprinkle:nth-child(8) { left: 80%; animation-delay: 1.2s; }
.sprinkle:nth-child(9) { left: 90%; animation-delay: 1.7s; }
.sprinkle:nth-child(10) { left: 15%; animation-delay: 2.2s; }
.sprinkle:nth-child(11) { left: 25%; animation-delay: 0.3s; }
.sprinkle:nth-child(12) { left: 35%; animation-delay: 0.8s; }
.sprinkle:nth-child(13) { left: 45%; animation-delay: 1.3s; }
.sprinkle:nth-child(14) { left: 55%; animation-delay: 1.8s; }
.sprinkle:nth-child(15) { left: 65%; animation-delay: 2.3s; }
.sprinkle:nth-child(16) { left: 75%; animation-delay: 0.4s; }
.sprinkle:nth-child(17) { left: 85%; animation-delay: 0.9s; }
.sprinkle:nth-child(18) { left: 95%; animation-delay: 1.4s; }
.sprinkle:nth-child(19) { left: 5%; animation-delay: 1.9s; }
.sprinkle:nth-child(20) { left: 15%; animation-delay: 2.4s; }

/* Decorative Treats */
.treat-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

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

/* Treat Styles */
.donut {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donut::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.donut::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cupcake {
    width: 50px;
    height: 70px;
    position: relative;
}

.cupcake-top {
    width: 50px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 25px 25px 0 0;
    position: relative;
}

.cupcake-top::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -10px;
    left: 15px;
}

.cupcake-bottom {
    width: 40px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
}

.cookie {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: relative;
}

.cookie::before,
.cookie::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.cookie::before {
    top: 10px;
    left: 10px;
}

.cookie::after {
    bottom: 10px;
    right: 10px;
}

.cake {
    width: 70px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    position: relative;
}

.cake::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -10px;
    left: 25px;
}

.cake::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 5px;
    bottom: 10px;
    left: 5px;
}

/* Position decorative treats */
.treat-1 {
    top: 20%;
    left: 5%;
    animation: float 4s ease-in-out infinite;
}

.treat-2 {
    top: 40%;
    right: 5%;
    animation: float 3.5s ease-in-out infinite;
}

.treat-3 {
    bottom: 30%;
    left: 10%;
    animation: float 4.5s ease-in-out infinite;
}

.treat-4 {
    bottom: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.treat-5 {
    top: 60%;
    left: 15%;
    animation: float 4.2s ease-in-out infinite;
}

.treat-6 {
    top: 30%;
    right: 15%;
    animation: float 3.8s ease-in-out infinite;
}

/* Add treats to specific sections */
.hero-section .treat-decoration {
    z-index: 2;
}

.menu-category {
    position: relative;
    overflow: hidden;
}

.menu-category .treat-decoration {
    opacity: 0.6;
}

/* Cloud Decorations */
.cloud-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.cloud {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.cloud:before {
    width: 50%;
    height: 100%;
    top: -50%;
    left: 25%;
}

.cloud:after {
    width: 30%;
    height: 60%;
    top: -30%;
    right: 10%;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    animation: floatCloud 20s infinite ease-in-out;
}

.cloud-2 {
    width: 80px;
    height: 30px;
    animation: floatCloud 25s infinite ease-in-out;
}

.cloud-3 {
    width: 120px;
    height: 45px;
    animation: floatCloud 30s infinite ease-in-out;
}

@keyframes floatCloud {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(10px) translateY(-5px);
    }
    50% {
        transform: translateX(0) translateY(-10px);
    }
    75% {
        transform: translateX(-10px) translateY(-5px);
    }
}

/* Update existing treat decorations to work with clouds */
.treat-decoration {
    z-index: 2;
}

.hero-section .treat-decoration,
.menu-category .treat-decoration {
    z-index: 2;
}

/* Position clouds */
.cloud-pos-1 {
    top: 10%;
    left: 5%;
}

.cloud-pos-2 {
    top: 20%;
    right: 10%;
}

.cloud-pos-3 {
    bottom: 15%;
    left: 15%;
}

.cloud-pos-4 {
    bottom: 25%;
    right: 5%;
}

/* Order Confirmation Modal Styles */
.confirmation-content {
    padding: 1rem 0;
}

.order-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.order-details {
    margin-bottom: 2rem;
}

.order-details h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#orderItems {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    color: #2c3e50;
}

.order-item-size {
    color: #666;
    font-size: 0.9rem;
}

.order-item-price {
    color: #2c3e50;
    font-weight: 600;
}

.order-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
}

.delivery-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.delivery-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.delivery-info p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

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

.action-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: #3498db;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: #2980b9;
}

.action-btn svg {
    width: 20px;
    height: 20px;
}

#saveOrderBtn {
    background: #2ecc71;
}

#saveOrderBtn:hover {
    background: #27ae60;
}

#emailOrderBtn {
    background: #e74c3c;
}

#emailOrderBtn:hover {
    background: #c0392b;
}

#printOrderBtn {
    background: #95a5a6;
}

#printOrderBtn:hover {
    background: #7f8c8d;
}

@media print {
    body * {
        visibility: hidden;
    }
    
    #orderConfirmationModal,
    #orderConfirmationModal * {
        visibility: visible;
    }
    
    #orderConfirmationModal {
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .confirmation-actions {
        display: none;
    }
}

/* Navigation Styles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
}

.cart-icon {
    position: relative;
    margin-left: 1rem;
}

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

.view-cart-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.view-cart-btn:hover {
    color: #3498db;
}

.view-cart-btn svg {
    width: 24px;
    height: 24px;
}

/* Call to Action Buttons */
.cta-button,
.featured-link,
.checkout-btn,
.print-order-btn,
.close-confirmation-btn,
.submit-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-color-dark);
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 154, 162, 0.3);
}

.cta-button:hover,
.featured-link:hover,
.checkout-btn:hover,
.print-order-btn:hover,
.close-confirmation-btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 154, 162, 0.4);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* Add clouds to hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Add clouds to menu categories */
.menu-category {
    position: relative;
    overflow: hidden;
}

/* Add clouds to featured sections */
.featured {
    position: relative;
    overflow: hidden;
}

/* Add clouds to about section */
.about-section {
    position: relative;
    overflow: hidden;
}

/* Add clouds to contact section */
.contact-section {
    position: relative;
    overflow: hidden;
}
