/* ===========================
   MONO PATISSERIE - Main Styles
   =========================== */

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

:root {
  --pink-50: #FFF5F8;
  --pink-100: #FFE8F0;
  --pink-200: #FFD0E4;
  --pink-300: #FFB0CF;
  --pink-400: #FF85B3;
  --pink-dark: #C42D62;
  --pink-mid: #E83D7A;
  --text-dark: #2D1B29;
  --text-mid: #5C4A57;
  --text-light: #9B8A96;
  --white: #FFFFFF;
  --shadow-card: 0 4px 24px rgba(255,176,207,0.15);
  --shadow-card-hover: 0 8px 40px rgba(255,176,207,0.3);
  --shadow-nav: 0 2px 20px rgba(255,176,207,0.2);
  --radius-card: 20px;
  --radius-btn: 9999px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Lato', system-ui, sans-serif; color: var(--text-dark); background: #fff; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; }

/* === SELECTION === */
::selection { background: #FFD6E7; color: #2D1B29; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pink-50); }
::-webkit-scrollbar-thumb { background: var(--pink-300); border-radius: 4px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700;
  color: var(--pink-dark); text-decoration: none; letter-spacing: 0.02em;
}
.nav-logo span { color: var(--pink-mid); font-weight: 400; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-mid);
  text-decoration: none; transition: color 0.2s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--pink-dark); }
.nav-menu-btn {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 8px; border-radius: 50%;
}
.nav-menu-btn span {
  width: 22px; height: 2px; background: var(--pink-dark); display: block;
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-menu-btn { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); flex-direction: column;
    justify-content: center; align-items: center; gap: 32px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FFF5F8 0%, #FFE8F2 40%, #FFD6E7 70%, #FFC0D9 100%);
}
.hero-circles { position: absolute; inset: 0; pointer-events: none; }
.circle {
  position: absolute; border-radius: 50%;
}
.c1 { width: 400px; height: 400px; top: -80px; right: -80px; background: radial-gradient(circle, rgba(255,179,204,0.3) 0%, transparent 70%); }
.c2 { width: 500px; height: 500px; bottom: -100px; left: -100px; background: radial-gradient(circle, rgba(255,133,179,0.2) 0%, transparent 70%); }
.c3 { width: 800px; height: 800px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,208,228,0.1) 0%, transparent 60%); }

.hero-floats { position: absolute; inset: 0; pointer-events: none; }
.float { position: absolute; font-size: 2.5rem; animation: floatAnim 6s ease-in-out infinite; opacity: 0.55; }
.f1 { top: 12%; left: 4%; animation-delay: 0s; }
.f2 { top: 20%; right: 8%; font-size: 2rem; animation-delay: 1s; }
.f3 { bottom: 22%; left: 5%; font-size: 2rem; animation-delay: 2s; }
.f4 { bottom: 12%; right: 5%; animation-delay: 0.5s; }
.f5 { top: 45%; left: 2%; font-size: 1.8rem; animation-delay: 1.5s; opacity: 0.4; }
.f6 { top: 30%; right: 2%; font-size: 1.8rem; animation-delay: 2.5s; opacity: 0.4; }

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

.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 0 24px; max-width: 900px; margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
  color: var(--pink-dark); border: 1px solid rgba(196,45,98,0.2);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 6rem); font-weight: 900; line-height: 1.05;
  color: var(--text-dark); margin-bottom: 24px;
}
.hero-title span { color: var(--pink-dark); }
.hero-subtitle {
  font-size: 1.1rem; font-weight: 300; line-height: 1.75; color: var(--text-mid);
  max-width: 640px; margin: 0 auto 48px;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); }
.scroll-line { width: 1px; height: 48px; background: rgba(196,45,98,0.2); position: relative; overflow: hidden; }
.scroll-indicator {
  position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: linear-gradient(to bottom, transparent, var(--pink-dark));
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  padding: 14px 32px; border-radius: 9999px; font-weight: 600; font-size: 1rem;
  color: #fff; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--pink-mid) 0%, var(--pink-dark) 100%);
  box-shadow: 0 4px 24px rgba(196,45,98,0.3);
  transition: var(--transition);
}
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 8px 32px rgba(196,45,98,0.4); }
.btn-outline {
  padding: 14px 32px; border-radius: 9999px; font-weight: 600; font-size: 1rem;
  color: var(--pink-dark); border: 2px solid var(--pink-dark); cursor: pointer;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(10px);
  transition: var(--transition);
}
.btn-outline:hover { transform: scale(1.04); background: rgba(255,255,255,0.9); }
.btn-full { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-pink { background: linear-gradient(180deg, var(--pink-50) 0%, var(--pink-100) 100%); }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--text-dark); margin-bottom: 16px; }
.section-header p { font-size: 1rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }
.section-divider {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px;
}
.section-divider span { font-size: 2.5rem; }
.divider-line { width: 64px; height: 1px; background: linear-gradient(to right, transparent, var(--pink-300)); }
.section-divider .divider-line:last-child { background: linear-gradient(to left, transparent, var(--pink-300)); }

/* Section label */
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.label-line { width: 48px; height: 2px; background: var(--pink-400); }
.section-label span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--pink-dark); }

/* ===== CATALOG SECTION ===== */
.cat-section { padding: 80px 24px; }
.cat-section:nth-child(even) { background: var(--pink-50); }
.cat-section:nth-child(odd) { background: #fff; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: #fff; border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.product-img {
  width: 100%; height: 220px; overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.5; }
.product-img-placeholder span:first-child { font-size: 2.5rem; }
.product-img-placeholder span:last-child { font-size: 0.7rem; font-weight: 600; color: var(--pink-dark); letter-spacing: 0.05em; }
.unavail-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(100,100,100,0.85); color: #fff;
  font-size: 0.7rem; font-weight: 600; padding: 4px 10px;
  border-radius: 9999px; backdrop-filter: blur(4px);
}
.product-body { padding: 20px; }
.product-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.product-name.empty { color: #D0C5CC; font-style: italic; font-size: 0.875rem; font-family: 'Lato', sans-serif; }
.product-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.55; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc.empty { color: #D0C5CC; font-style: italic; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--pink-dark); }
.product-price.empty { font-family: 'Lato', sans-serif; font-size: 0.8rem; font-weight: 400; color: #D0C5CC; font-style: italic; }
.product-status { font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 9999px; }
.status-available { background: #F0FFF4; color: #2E7D32; }
.status-unavailable { background: #F5F5F5; color: #9B8A96; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, #FFE8F0 25%, #FFD0E4 50%, #FFE8F0 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ===== CATALOG OVERVIEW GRID ===== */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  background: #fff; border-radius: var(--radius-card); padding: 24px;
  text-align: left; box-shadow: var(--shadow-card); cursor: pointer;
  border: none; transition: var(--transition); width: 100%;
}
.cat-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.cat-card-emoji { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.cat-card-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.cat-card-count { font-size: 0.75rem; color: var(--text-light); }

/* ===== ABOUT ===== */
.about-section { background: linear-gradient(180deg, var(--pink-100) 0%, var(--pink-50) 100%); }
.about-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--text-dark); margin-bottom: 20px; line-height: 1.15; }
.pink-text { color: var(--pink-dark); }
.about-text p { font-size: 1rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 16px; }
.about-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--pink-dark); }
.stat-label { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.05em; margin-top: 4px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card {
  background: #fff; border-radius: var(--radius-card); padding: 24px;
  box-shadow: var(--shadow-card); transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.value-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.value-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.value-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.55; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-box {
  padding: 32px; border-radius: 24px;
  background: linear-gradient(135deg, var(--pink-50), var(--pink-100));
}
.contact-info-box h3, .contact-form-box h3 {
  font-size: 1.5rem; color: var(--text-dark); margin-bottom: 24px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { font-size: 1.25rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(196,45,98,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pink-dark); margin-bottom: 3px; }
.ci-value { font-size: 0.9rem; color: var(--text-mid); }
.social-links p { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--text-dark); margin-bottom: 12px; }
.social-btns { display: flex; gap: 10px; }
.social-btn {
  padding: 8px 16px; border-radius: 9999px; font-size: 0.85rem; font-weight: 500;
  background: var(--pink-50); color: var(--pink-dark); border: none; cursor: pointer;
  transition: var(--transition);
}
.social-btn:hover { background: var(--pink-100); transform: scale(1.04); }
.contact-form-box {
  background: #fff; border-radius: 24px; padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--pink-200); font-size: 0.875rem;
  color: var(--text-dark); background: var(--pink-50);
  outline: none; transition: border-color 0.2s;
  font-family: 'Lato', sans-serif;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--pink-dark); }
.form-group textarea { resize: none; }

/* ===== FOOTER ===== */
footer { background: #2D1B29; color: #FFD6E7; padding: 48px 24px 0; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; gap: 32px; padding-bottom: 40px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; opacity: 0.65; line-height: 1.65; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials button {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,214,231,0.1); cursor: pointer; font-size: 0.875rem;
  transition: background 0.2s;
}
.footer-socials button:hover { background: rgba(255,214,231,0.2); }
.footer-links h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.6; margin-bottom: 20px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: #FFD6E7; opacity: 0.7; text-decoration: none; cursor: pointer; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid rgba(255,214,231,0.2);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p, .footer-bottom div { font-size: 0.75rem; opacity: 0.5; }
.footer-bottom span { cursor: pointer; }
.footer-bottom span:hover { opacity: 0.8; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 24px; right: 24px; left: 24px; z-index: 9999;
  max-width: 380px; margin-left: auto;
}
.cookie-inner {
  background: rgba(255,255,255,0.97); border-radius: 20px;
  padding: 20px; box-shadow: 0 20px 60px rgba(196,45,98,0.15);
  border: 1px solid var(--pink-200); backdrop-filter: blur(20px);
}
.cookie-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cookie-title { display: flex; align-items: center; gap: 8px; }
.cookie-title strong { font-size: 0.9rem; color: var(--text-dark); }
.cookie-close {
  background: none; border: none; cursor: pointer; font-size: 0.85rem;
  color: var(--text-light); padding: 4px 8px; border-radius: 50%; transition: background 0.2s;
}
.cookie-close:hover { background: var(--pink-50); }
.cookie-inner p { font-size: 0.78rem; color: var(--text-light); line-height: 1.55; margin-bottom: 16px; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns button { flex: 1; }

/* ===== ANIMATIONS ===== */
.fade-in-0 { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s ease forwards 0.1s; }
.fade-in-1 { opacity: 0; transform: translateY(24px); animation: fadeInUp 0.7s ease forwards 0.25s; }
.fade-in-2 { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s ease forwards 0.45s; }
.fade-in-3 { opacity: 0; transform: translateY(16px); animation: fadeInUp 0.6s ease forwards 0.65s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas button { width: 100%; max-width: 280px; }
  .about-values { grid-template-columns: 1fr; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: 100%; }
}
