/* SanasyBellas.com — Radiant Bloom Design System */
/* Mobile-first, SEO-optimized, Banahosting-compatible */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand colors */
  --rose-deep: #d46a7e;
  --rose: #e8a0b4;
  --rose-light: #fbe8ee;
  --rose-soft: #fdf0f4;
  --gold: #d4a574;
  --gold-light: #f0dfc8;
  --mint: #a8c9b0;
  --mint-light: #e0f0e4;
  --cream: #fdf8f5;
  --cream-dark: #f5ede8;
  --text: #3d2c2e;
  --text-light: #7a6b6d;
  --text-muted: #b8a8aa;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

a { color: var(--rose-deep); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--rose); }
img { max-width: 100%; height: auto; border-radius: 1rem; }
p { margin-bottom: 1em; color: var(--text-light); line-height: 1.8; }

/* Container */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: linear-gradient(180deg, var(--cream) 0%, var(--rose-soft) 50%, var(--cream) 100%); }

/* Ornament */
.ornament { text-align: center; margin: 1.5rem 0; color: var(--rose-light); font-size: 1.25rem; letter-spacing: 0.3em; }

/* Glass effects */
.glass-light {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
}
.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(232,160,180,0.15);
  border-radius: 1.25rem;
  transition: all 0.4s ease;
}
.glass-card:hover {
  border-color: rgba(232,160,180,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(61,44,46,0.08);
}

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.anim-fade-up { animation: fadeUp 0.7s ease-out forwards; }
.anim-fade-in { animation: fadeIn 0.7s ease-out forwards; }
.anim-float { animation: float 6s ease-in-out infinite; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: var(--white);
  border: none; border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212,106,126,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,106,126,0.4);
  color: var(--white);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(212,165,116,0.3);
  border-radius: 9999px;
  font-weight: 500; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--cream);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,248,245,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,160,180,0.1);
  transition: all 0.3s ease;
}
header.scrolled { box-shadow: 0 4px 20px rgba(61,44,46,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--rose-deep); white-space: nowrap; }
.logo span { color: var(--gold); }
.nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
.nav-desktop a { padding: 0.5rem 1rem; font-size: 0.875rem; color: var(--text); border-radius: 9999px; }
.nav-desktop a:hover { background: var(--rose-light); color: var(--rose-deep); }
.btn-hamburger {
  display: none; background: none; border: none;
  padding: 0.5rem; cursor: pointer; color: var(--text); border-radius: 0.5rem;
}
.btn-hamburger:hover { background: var(--rose-light); }
#mobile-menu { display: none; background: var(--white); backdrop-filter: blur(20px); border-top: 1px solid var(--cream-dark); padding: 1rem 0; }
#mobile-menu.open { display: block; }
#mobile-menu a { display: block; padding: 0.75rem 1.5rem; color: var(--text); border-radius: 0.5rem; font-size: 1rem; }
#mobile-menu a:hover { background: var(--rose-light); color: var(--rose-deep); }

/* Hero */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 5rem;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--rose-soft) 0%, var(--cream) 30%, var(--cream) 60%, var(--mint-light) 100%); z-index: 0; }
.hero-blob-1 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose-light) 0%, transparent 70%);
  top: -200px; right: -200px; opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--mint-light) 0%, transparent 70%);
  bottom: -100px; left: -100px; opacity: 0.4;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212,165,116,0.12);
  border: 1px solid rgba(212,165,116,0.2);
  border-radius: 9999px;
  font-size: 0.8rem; color: var(--gold);
  font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1.25rem; font-weight: 700; }
.hero h1 .highlight { color: var(--rose-deep); position: relative; }
.hero h1 .highlight::after {
  content: ''; position: absolute; bottom: 4px; left: 0; right: 0;
  height: 8px; background: var(--rose-light); border-radius: 4px; z-index: -1;
}
.hero p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1.75rem; max-width: 440px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual { position: relative; z-index: 2; flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-circle {
  width: 340px; height: 340px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--cream), var(--mint-light));
  border: 2px solid rgba(212,165,116,0.15);
  position: relative; animation: float 7s ease-in-out infinite;
}
.hero-circle-inner {
  position: absolute; inset: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white) 0%, var(--rose-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 1.5rem; text-align: center;
}
.hero-circle-inner .emoji-icon { font-size: 3rem; margin-bottom: 0.25rem; }
.hero-circle-inner .brand-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--rose-deep); font-weight: 700; }
.hero-circle-inner .brand-sub { font-size: 0.8rem; color: var(--text-light); font-style: italic; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cat-card {
  position: relative; padding: 1.75rem 1.25rem;
  border-radius: 1.25rem; overflow: hidden;
  text-align: center; transition: all 0.4s ease;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 150px;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card .cat-icon { font-size: 2.25rem; margin-bottom: 0.5rem; opacity: 0.9; }
.cat-card .cat-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.15rem; }
.cat-card .cat-count { font-size: 0.8rem; color: var(--text-light); }
.cat-card-rose { background: linear-gradient(135deg, var(--rose-soft), var(--cream)); border: 1px solid rgba(232,160,180,0.2); }
.cat-card-rose:hover { background: linear-gradient(135deg, var(--rose-light), var(--rose-soft)); border-color: var(--rose); box-shadow: 0 12px 30px rgba(232,160,180,0.2); }
.cat-card-mint { background: linear-gradient(135deg, var(--mint-light), var(--cream)); border: 1px solid rgba(168,201,176,0.2); }
.cat-card-mint:hover { background: linear-gradient(135deg, var(--mint-light), #e8f5ec); border-color: var(--mint); box-shadow: 0 12px 30px rgba(168,201,176,0.2); }
.cat-card-gold { background: linear-gradient(135deg, var(--gold-light), var(--cream)); border: 1px solid rgba(212,165,116,0.2); }
.cat-card-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--cream-dark)); border-color: var(--gold); box-shadow: 0 12px 30px rgba(212,165,116,0.2); }

/* Article cards */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.post-card {
  background: var(--white);
  border-radius: 1.25rem; overflow: hidden;
  border: 1px solid rgba(232,160,180,0.1);
  transition: all 0.4s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(61,44,46,0.06); border-color: rgba(232,160,180,0.2); }
.post-card-image { height: 200px; background: linear-gradient(135deg, var(--rose-light), var(--cream-dark)); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 3rem; }
.post-card-body { padding: 1.5rem; }
.post-card-tag {
  display: inline-block; padding: 0.25rem 0.75rem;
  background: var(--rose-light); color: var(--rose-deep);
  border-radius: 9999px; font-size: 0.7rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.post-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 600; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--rose-deep); }
.post-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-date { font-size: 0.8rem; color: var(--text-muted); }

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, var(--rose-deep), #c45a6e);
  color: var(--white);
  border-radius: 2rem; padding: 3.5rem 2rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.newsletter-section::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -100px; right: -100px;
}
.newsletter-section::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -80px; left: -80px;
}
.newsletter-section h2 { color: var(--white); font-size: 1.75rem; }
.newsletter-section p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 1.5rem; }
.newsletter-form { display: flex; max-width: 420px; margin: 0 auto; gap: 0.5rem; }
.newsletter-form input {
  flex: 1; padding: 0.875rem 1.25rem;
  border: none; border-radius: 9999px; font-size: 0.95rem;
  background: rgba(255,255,255,0.15);
  color: var(--white); outline: none; transition: all 0.3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { background: rgba(255,255,255,0.25); }
.newsletter-form button {
  padding: 0.875rem 2rem;
  background: var(--white); color: var(--rose-deep);
  border: none; border-radius: 9999px;
  font-weight: 600; cursor: pointer; transition: all 0.3s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--cream); transform: translateY(-2px); }

/* Lolita section */
.lolita-card {
  text-align: center; max-width: 600px; margin: 0 auto;
}
.lolita-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem;
}
.lolita-card h2 { font-size: 1.75rem; }
.lolita-card p { max-width: 460px; margin: 0 auto 1.25rem; }

/* Footer */
footer { background: var(--text); color: rgba(253,248,245,0.8); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(253,248,245,0.5); }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; color: var(--white); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.85rem; color: rgba(253,248,245,0.5); }
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(253,248,245,0.08);
  text-align: center; font-size: 0.75rem; color: rgba(253,248,245,0.35);
}

/* Post content (blog post layout) */
.post-content { max-width: 720px; margin: 0 auto; }
.post-content h2 { font-size: 1.75rem; margin-top: 2rem; }
.post-content h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.post-content p { font-size: 1.05rem; line-height: 1.8; }
.post-content img { border-radius: 1rem; margin: 1.5rem 0; }
.post-content ul, .post-content ol { margin-bottom: 1em; color: var(--text-light); }
.post-content li { margin-bottom: 0.5rem; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--rose-deep); }
.breadcrumb .sep { color: var(--text-muted); }

/* Utilities */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Responsive */
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.25rem; }
  .section { padding: 5rem 0; }
  .hero { min-height: 80vh; }
  .hero-flex { display: flex; align-items: center; gap: 2rem; }
  .hero h1 { font-size: 4rem; }
  .hero-visual { display: flex; }
  .hero-circle { width: 400px; height: 400px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .newsletter-section { padding: 4rem 4rem; }
  .newsletter-section h2 { font-size: 2rem; }
}
@media (min-width: 1024px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .btn-hamburger { display: block; }
  .nav-desktop { display: none; }
  .hero { min-height: auto; padding: 5rem 0 2.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}
