/* --- Variables & Reset --- */
:root {
    --primary-red: #ff3e6c;
    --soft-red: #ffedf1;
    --pure-white: #ffffff;
    --text-dark: #2d2d2d;
    --text-grey: #666666;
    --accent-yellow: #ffc107;
    --font-main: 'Nunito', sans-serif;
    --font-display: 'Pacifico', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }
body { background-color: var(--pure-white); color: var(--text-dark); overflow-x: hidden; position: relative; }
a { text-decoration: none; transition: 0.3s; }
img { width: 100%; display: block; }

/* --- CURSOR HEART EFFECT --- */
.cursor-heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('https://cdn-icons-png.flaticon.com/512/833/833472.png') no-repeat center/cover;
    pointer-events: none; /* Allows clicking through hearts */
    transform: translate(-50%, -50%);
    animation: sprayHeart 1s ease-out forwards;
    z-index: 9999;
}

@keyframes sprayHeart {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -150px) scale(1.5); opacity: 0; }
}

/* --- FLYING BALLOONS --- */
#balloon-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.balloon {
    position: absolute;
    bottom: -100px;
    font-size: 2rem;
    animation: flyUp 10s linear infinite;
    opacity: 0.7;
}

@keyframes flyUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* --- Navbar --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex; align-items: center; height: 100%; cursor: pointer;
    font-size: 1.4rem; font-weight: 800; color: var(--primary-red);
}
.logo-img { max-height: 50px; width: auto; object-fit: contain; margin-right: 8px; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-dark); font-weight: 700; font-size: 1rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-red); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background: var(--primary-red); transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-icons { display: flex; gap: 1rem; align-items: center; }
.icon-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dark); transition: 0.3s; font-size: 1.2rem;
}
.icon-btn:hover { background: #25D366; color: white; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-red); }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #ff3e6c 0%, #ff6b6b 100%);
    position: relative; padding-top: 2rem; color: white;
}
.hero-container {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2rem 10% 0; min-height: 550px;
}
.hero-text { flex: 1; z-index: 6; }
.badge-pill {
    background: rgba(255,255,255,0.2); padding: 8px 16px;
    border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    display: inline-block; margin-bottom: 1rem; backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; font-weight: 800; }
.hero h1 .highlight { font-family: var(--font-display); color: #ffe600; font-weight: 400; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); }
.hero p { margin-bottom: 2rem; opacity: 0.95; font-size: 1.1rem; max-width: 450px; line-height: 1.6; }
.hero-btns { display: flex; gap: 1rem; }

.btn {
    padding: 12px 30px; border-radius: 50px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none; transition: transform 0.2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-primary { background: var(--text-dark); color: white; }
.btn-white { background: white; color: var(--primary-red); }

.hero-image { flex: 1; position: relative; display: flex; justify-content: center; z-index: 6; }
.floating-cake { width: 350px; height: 350px; border-radius: 50%; border: 8px solid rgba(255,255,255,0.2); object-fit: cover; }

.pop-anim { animation: cutePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes cutePop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.floating-card {
    position: absolute; background: white; padding: 10px 20px;
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 10px; color: var(--text-dark); font-weight: 700; font-size: 0.9rem;
}
.floating-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.c1 { top: 60%; left: 0; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.hero-wave { display: block; margin-bottom: -1px; width: 100%; height: auto; }

/* --- Categories --- */
.categories { padding: 2rem 10%; text-align: center; }
.section-header h2 { font-size: 2rem; margin-bottom: 2rem; color: var(--text-dark); }
.category-scroll { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.cat-card {
    width: 150px; height: 180px; border-radius: 100px 100px 20px 20px;
    display: flex; flex-direction: column; align-items: center; padding: 10px;
    cursor: pointer; transition: 0.3s; position: relative; overflow: hidden;
    text-decoration: none;
}
.cat-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.cat-card span { font-weight: 700; color: white; margin-bottom: 10px; margin-top: 15px; z-index: 2; font-size: 1rem; }
.cat-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid white; z-index: 2; }
.bg-red { background: #ff6b6b; } .bg-pink { background: #ff9ff3; } .bg-orange { background: #ff9f43; } .bg-yellow { background: #feca57; }

/* --- HOME STORY SECTION (NEW) --- */
.home-story-section {
    padding: 3rem 10%;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.story-text {
    max-width: 800px;
    text-align: center;
}

.story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-red);
    position: relative;
    z-index: 1;
}
.highlight::after {
    content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 8px;
    background: var(--soft-red); z-index: -1;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-red);
    font-style: italic;
    margin-bottom: 25px;
    font-family: 'Pacifico', cursive;
}

.story-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quote-box {
    background: #fff0f3;
    padding: 25px;
    border-radius: 20px;
    margin: 30px auto;
    position: relative;
    border: 2px dashed rgba(255, 62, 108, 0.3);
    max-width: 600px;
    transition: 0.3s;
}

.quote-box:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.quote-box i {
    color: var(--primary-red);
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.quote-box span {
    font-family: 'Pacifico', cursive;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.signature { margin-top: 30px; }
.cursive-sign {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* --- Products --- */
.products { padding: 4rem 10%; background: var(--soft-red); }
.text-red { color: var(--primary-red); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.product-card {
    background: white; border-radius: 25px; padding: 15px; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #fff0f5;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(255, 62, 108, 0.15); }

.wishlist-btn {
    position: absolute; top: 20px; right: 20px; width: 35px; height: 35px;
    background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; z-index: 5; color: #ccc; transition: 0.2s;
}
.wishlist-btn:hover { color: var(--primary-red); transform: scale(1.1); }

.p-img { height: 200px; border-radius: 20px; overflow: hidden; margin-bottom: 1rem; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .p-img img { transform: scale(1.1); }

.p-details h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-dark); }
.rating { color: var(--accent-yellow); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.p-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price-bar {
    background: var(--soft-red); color: var(--primary-red); padding: 8px 15px;
    border-radius: 12px; font-weight: 800; font-size: 1rem;
}
.wa-order-btn {
    flex: 1; background: #25D366; color: white; border: none; padding: 12px;
    border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.wa-order-btn:hover { background: #128C7E; }

/* --- Promise Section --- */
.promise-section { padding: 0 10% 4rem; display: flex; justify-content: center; background: var(--soft-red); }
.promise-pill {
    background: white; border-radius: 100px; padding: 2rem 4rem;
    display: flex; justify-content: space-around; width: 100%; max-width: 900px;
    flex-wrap: wrap; gap: 2rem; box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.promise-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.icon-circle { 
    font-size: 1.8rem; color: var(--primary-red); background: var(--soft-red);
    width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 62, 108, 0.1); transition: 0.3s;
}
.promise-item:hover .icon-circle { transform: rotate(10deg) scale(1.1); background: var(--primary-red); color: white; }
.promise-item span { font-weight: 700; color: var(--text-dark); text-align: center; }

/* --- Footer --- */
footer { background: #fff0f3; padding: 4rem 10% 2rem; margin-top: 0; }
.footer-wrapper { display: flex; gap: 3rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.footer-map, .footer-content { flex: 1; min-width: 300px; }
.footer-content { text-align: center; }
.f-brand h3 { color: var(--primary-red); font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.f-brand p { color: var(--text-grey); margin-bottom: 1rem; }
.f-socials { margin: 1.5rem 0; display: flex; justify-content: center; gap: 1rem; }
.f-socials a {
    width: 45px; height: 45px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-red); box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s; font-size: 1.2rem;
}
.f-socials a:hover { transform: translateY(-5px); background: var(--primary-red); color: white; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1.5rem; color: var(--text-grey); font-size: 0.9rem; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .navbar { padding: 0.5rem 0; }
    
    /* Mobile Menu Logic */
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }
    .nav-links.active { display: flex; } /* Shown when active class added */

    .hamburger { display: block; }
    
    .hero-container { flex-direction: column; text-align: center; padding: 2rem 5% 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-image { margin-top: 3rem; width: 100%; }
    .floating-cake { width: 280px; height: 280px; }
    .floating-card { display: none; }
    
    .category-scroll { gap: 1rem; }
    .cat-card { width: 130px; height: 160px; }
    
    .home-story-section { padding: 3rem 5%; }
    .story-text h2 { font-size: 1.8rem; }
    .lead-text { font-size: 1.1rem; }
    
    .footer-wrapper { flex-direction: column-reverse; }
    .promise-pill { flex-direction: column; gap: 1.5rem; border-radius: 30px; }
}

/* --- VALENTINE SHUTTER STYLES --- */
#valentine-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
}

.shutter-panel {
    position: absolute; top: 0;
    width: 50%; height: 100%;
    background: #ffecf0;
    z-index: 10000;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.05);
}
.left-panel { left: 0; border-right: 2px solid white; }
.right-panel { right: 0; border-left: 2px solid white; }

#valentine-overlay.open .left-panel { transform: translateX(-100%); }
#valentine-overlay.open .right-panel { transform: translateX(100%); }
#valentine-overlay.open .valentine-popup { opacity: 0; transform: scale(0.8); pointer-events: none; }
#valentine-overlay.open { pointer-events: none; }

.valentine-popup {
    z-index: 10001; position: relative;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 30px; text-align: center;
    max-width: 400px; width: 85%;
    box-shadow: 0 20px 60px rgba(255, 62, 108, 0.3);
    border: 3px solid white;
    transition: 0.5s;
}

.heart-anim {
    font-size: 4rem; color: var(--primary-red);
    margin-bottom: 1rem;
    animation: balloonFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 10px rgba(255, 62, 108, 0.3));
}
@keyframes balloonFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.v-text h3 { font-family: var(--font-display); color: var(--primary-red); font-size: 2rem; margin-bottom: 0.5rem; }
.v-text p { font-size: 1rem; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.5; }
.v-text small { display: block; color: var(--text-grey); margin-bottom: 1.5rem; font-style: italic; }

#open-shop-btn {
    padding: 15px 40px; background: var(--primary-red); color: white;
    border: none; border-radius: 50px; font-weight: 800; cursor: pointer;
    font-size: 1rem; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 62, 108, 0.3);
}
#open-shop-btn:hover { background: #d63031; transform: scale(1.05); }