/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --pink-700: #be185d;
    --gold: #d4a017;
    --gold-light: #f5d77a;
    --text-dark: #1f1f1f;
    --text-muted: #6b7280;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(236, 72, 153, 0.12);
    --shadow-lg: 0 20px 60px rgba(236, 72, 153, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--pink-50);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

.hidden {
    display: none !important;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--pink-600);
    border: 2px solid var(--pink-400);
}

.btn-outline:hover {
    background: var(--pink-100);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

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

.btn-full {
    width: 100%;
}

/* ========== SPLASH / GIFT BOX ========== */
.splash {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 40%, #fbcfe8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.gift-box-container {
    cursor: pointer;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.gift-box-container:hover {
    transform: scale(1.05);
}

.gift-box {
    position: relative;
    width: 160px;
    height: 140px;
    margin: 0 auto 16px;
}

.gift-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 100px;
    background: linear-gradient(145deg, #ec4899, #db2777);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(219, 39, 119, 0.4);
    overflow: hidden;
}

.gift-shine {
    position: absolute;
    top: 0;
    left: -50%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    50%, 100% { left: 150%; }
}

.gift-lid {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 45px;
    background: linear-gradient(145deg, #f472b6, #ec4899);
    border-radius: 10px 10px 4px 4px;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.gift-box-container.opening .gift-lid {
    transform: translateX(-50%) translateY(-60px) rotate(-15deg);
}

.bow {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    animation: bounce 2s ease-in-out infinite;
}

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

.tap-text {
    font-size: 14px;
    color: var(--pink-600);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.splash-title {
    font-size: 2.4rem;
    color: var(--pink-700);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.splash-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

/* ========== MAIN APP ========== */
.main-app {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.main-app.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14.5px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink-600);
    background: var(--pink-100);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--pink-600);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    z-index: -1;
}

.hero-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--pink-600);
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-item {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.item-1 { top: 20%; left: 8%; animation-delay: 0s; }
.item-2 { top: 30%; right: 10%; animation-delay: 1.5s; font-size: 2.2rem; }
.item-3 { bottom: 25%; left: 12%; animation-delay: 3s; font-size: 1.8rem; }
.item-4 { bottom: 20%; right: 15%; animation-delay: 2s; }

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

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ========== CATEGORIES ========== */
.categories {
    padding: 80px 0;
    background: white;
}

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

.category-card {
    background: var(--pink-50);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--pink-200);
    background: white;
}

.cat-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== PRODUCTS ========== */
.products {
    padding: 80px 0;
    background: var(--pink-50);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--pink-200);
    background: white;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--pink-500);
    color: white;
    border-color: var(--pink-500);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

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

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    background: linear-gradient(145deg, var(--pink-100), var(--pink-200));
    position: relative;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pink-500);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--pink-600);
}

.product-btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 50px;
    background: var(--pink-100);
    color: var(--pink-600);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.product-btn:hover {
    background: var(--pink-500);
    color: white;
}

/* ========== CUSTOM ORDER ========== */
.custom-order {
    padding: 90px 0;
    background: white;
}

.custom-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.custom-info h2 {
    font-size: 2.1rem;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.custom-info > p {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.custom-features {
    list-style: none;
    margin-bottom: 32px;
}

.custom-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.custom-features span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--pink-100);
    color: var(--pink-600);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.custom-contact p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.custom-form-box {
    background: var(--pink-50);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--pink-100);
}

.custom-form h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--pink-200);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    background: white;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pink-400);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

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

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 14px;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 80px 0;
    background: var(--pink-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

/* ========== CONTACT CTA ========== */
.contact-cta {
    padding: 80px 0;
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-box > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cta-box .btn-primary {
    background: white;
    color: var(--pink-600);
    box-shadow: none;
}

.cta-box .btn-primary:hover {
    background: var(--pink-50);
}

.cta-note {
    font-size: 12px;
    opacity: 0.7;
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 24px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.footer-content > p {
    max-width: 400px;
    margin: 0 auto 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* ========== MODAL ========== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.35s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
    }

    .hero {
        min-height: 90vh;
        padding-top: 90px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .splash-title {
        font-size: 1.9rem;
    }

    .gift-box {
        width: 130px;
        height: 115px;
    }

    .gift-body {
        width: 115px;
        height: 85px;
    }

    .gift-lid {
        width: 130px;
        height: 38px;
    }

    .bow {
        font-size: 40px;
    }
}

@media (max-width: 500px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .category-card {
        padding: 24px 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.7rem;
    }

    .custom-form-box {
        padding: 24px;
    }
}
