@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #f472b6; /* Soft pink */
    --primary-hover: #db2777;
    --surface: #ffffff;
    --background: #fffafa; /* Very light soft background */
    --text-main: #5c4a45; /* Dark brownish matching card text */
    --text-muted: #8c7a6b;
    --border: #fce7f3; /* Light pink border */
    --gold: #d4af37;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
    --shadow-glow: 0 10px 25px -5px rgba(244, 63, 94, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

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

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.logo img:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding: 120px 2rem 4rem;
    text-align: center;
    background: radial-gradient(circle at center, #fdf2f8 0%, transparent 70%); /* mimic watercolor pink blush */
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px; right: 20px; bottom: 20px;
    border: 2px dashed rgba(244, 114, 182, 0.2);
    border-radius: 30px;
    pointer-events: none;
    z-index: -1;
}

.slogan {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.thank-you-note {
    max-width: 650px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    padding: 0 1rem;
}
.thank-you-note p {
    margin-bottom: 1.5rem;
    text-wrap: balance;
}
.final-wish {
    color: var(--primary);
    font-weight: 500;
    margin-top: 2.5rem;
    font-style: italic;
    font-size: 1.25rem;
}

/* Bio Links (Quick Contacts) */
.bio-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.bio-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface);
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.bio-btn i {
    font-size: 1.5rem;
}

.bio-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.bio-btn.zalo:hover {
    color: #0068FF;
    border-color: #0068FF;
}

.bio-btn.tiktok:hover {
    color: #000000;
    border-color: #000000;
}

.bio-btn.phone:hover {
    color: #10B981;
    border-color: #10B981;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Showroom Container */
.showroom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Category Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Grid Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(244, 63, 94, 0.2);
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5f9;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-contact-small {
    background: rgba(244, 63, 94, 0.1);
    color: var(--primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-contact-small:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    color: var(--text-muted);
}

/* Loading state */
.loading {
    text-align: center;
    padding: 4rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(244, 63, 94, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .slogan { font-size: 2.5rem; }
    .hero { padding: 100px 1.5rem 3rem; }
    .nav-container { padding: 0.5rem 1rem; }
    .bio-btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
    .logo img { height: 60px; }
    
    .thank-you-note { font-size: 1rem; }
    .thank-you-note p { margin-bottom: 1rem; }
    .final-wish { font-size: 1.1rem; margin-top: 1.5rem; }
}
