/* =====================================================
   SPRINKLES BY RUCHI - MOUTH-WATERING DESIGN
   ===================================================== */

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

:root {
    --pink: #FF69B4;
    --pink-light: #FFB6D9;
    --pink-dark: #FF1493;
    --cream: #FFF5E6;
    --yellow: #FFD700;
    --orange: #FF8C00;
    --purple: #DA70D6;
    --white: #FFFFFF;
    --text: #2D2424;
    --shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: var(--cream);
}

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

/* =====================================================
   FLOATING PARTICLES
   ===================================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; animation-delay: 6s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(255, 105, 180, 0.2);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2.5rem;
    animation: rotate-cake 3s infinite ease-in-out;
}

.logo-text {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Pacifico', cursive;
}

@keyframes rotate-cake {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--pink), var(--purple));
    transition: width 0.3s;
}

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

.order-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    transition: all 0.3s;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.6);
}

.pulse {
    animation: pulse 2s infinite;
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 30px;
    height: 3px;
    background: var(--pink);
    border-radius: 3px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFE5F0 0%, #FFF0E6 50%, #FFE0F5 100%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 40px;
    position: relative;
    z-index: 2;
}

.badge-container {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.shine {
    animation: shine 2s infinite;
}

@keyframes shine {
    0%, 100% { box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(255, 215, 0, 0.8); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.hero-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tag {
    padding: 10px 20px;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-explore {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-explore:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.6);
}

.btn-call {
    padding: 18px 40px;
    background: white;
    color: var(--pink);
    border: 3px solid var(--pink);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-call:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-5px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cake-stack {
    position: relative;
    width: 400px;
    height: 400px;
}

.cake-layer {
    position: absolute;
    font-size: 8rem;
    filter: drop-shadow(0 10px 30px rgba(255, 105, 180, 0.3));
    animation: bounce-cake 3s ease-in-out infinite;
}

.layer-1 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.layer-2 {
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.3s;
}

.layer-3 {
    bottom: 240px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.6s;
}

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

.drip {
    position: absolute;
    width: 10px;
    height: 30px;
    background: linear-gradient(to bottom, var(--pink), var(--purple));
    border-radius: 0 0 10px 10px;
    animation: drip-down 2s ease-in-out infinite;
}

.drip:nth-child(1) { left: 20%; animation-delay: 0s; }
.drip:nth-child(2) { left: 50%; animation-delay: 0.5s; }
.drip:nth-child(3) { left: 80%; animation-delay: 1s; }

@keyframes drip-down {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.7; }
}

.sparkles span {
    position: absolute;
    font-size: 2rem;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkles span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.sparkles span:nth-child(2) { top: 20%; right: 10%; animation-delay: 0.5s; }
.sparkles span:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 1s; }
.sparkles span:nth-child(4) { bottom: 30%; right: 15%; animation-delay: 1.5s; }
.sparkles span:nth-child(5) { top: 50%; left: 5%; animation-delay: 2s; }

@keyframes sparkle {
    0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1) rotate(180deg); opacity: 1; }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    fill: white;
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #FFE5F0, #FFF0F5);
    border-radius: 25px;
    transition: all 0.3s;
    cursor: pointer;
}

.stat-box:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.3);
}

.stat-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

/* =====================================================
   MENU SECTION
   ===================================================== */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--cream) 100%);
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text);
}

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

.menu-item {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 60px rgba(255, 105, 180, 0.4);
}

.menu-item.featured {
    border: 4px solid var(--yellow);
    background: linear-gradient(135deg, #FFF5E6, white);
}

.menu-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--pink-light), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-emoji {
    font-size: 6rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: bounce-slow 2s ease-in-out infinite;
}

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

.menu-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-badge.hot { background: linear-gradient(135deg, #FF4500, #FF6347); }
.menu-badge.bestseller { background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.menu-badge.popular { background: linear-gradient(135deg, var(--purple), #9370DB); }
.menu-badge.new { background: linear-gradient(135deg, #32CD32, #00FA9A); }

.menu-content {
    padding: 30px;
}

.menu-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text);
}

.menu-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.menu-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 15px;
}

.menu-flavors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.menu-flavors span {
    padding: 6px 15px;
    background: var(--cream);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.menu-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-card {
    position: relative;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
}

.gallery-card:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.4);
}

.gallery-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink-light), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

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

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

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.instagram-box {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--pink-light), var(--purple));
    border-radius: 30px;
    color: white;
}

.instagram-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.instagram-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.instagram-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: white;
    color: var(--pink);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.instagram-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   WORKSHOP BANNER
   ===================================================== */
.workshop-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.workshop-content {
    text-align: center;
    color: white;
}

.workshop-icon {
    font-size: 6rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.workshop-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.workshop-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.workshop-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: white;
    color: var(--orange);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.workshop-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--cream) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
}

.contact-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.contact-card a {
    color: var(--pink);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
}

.social-box {
    text-align: center;
    padding: 40px 0;
}

.social-box h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateY(-10px) scale(1.2) rotate(360deg);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.5);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 50px 0;
    background: var(--text);
    color: white;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Pacifico', cursive;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.copyright {
    font-size: 0.9rem;
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.6);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .cake-stack {
        width: 300px;
        height: 300px;
    }
    
    .cake-layer {
        font-size: 5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
}