@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --color-primary: #783082;
  --color-primary-dark: #5e2266;
  --color-primary-light: #f7eff9;
  
  --color-pink: #e65c92;
  --color-pink-dark: #c44074;
  --color-pink-light: #fdf0f5;

  --color-teal: #1ca6a4;
  --color-teal-dark: #127f7e;
  --color-teal-light: #eaf8f8;

  --color-growth: #2ea865;
  --color-growth-dark: #22814d;
  --color-growth-light: #ecf8f1;

  --color-bg: #fdfbfe;
  --color-card-bg: #ffffff;
  --color-text: #26162a;
  --color-muted: #6e5c72;
  --color-border: #ebdfee;
  
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(120, 48, 130, 0.05);
  --shadow-soft: 0 14px 35px -10px rgba(120, 48, 130, 0.12);
  --shadow-lift: 0 22px 50px -15px rgba(120, 48, 130, 0.22);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.015em;
}

/* Gradients */
.gradient-hero {
  background: linear-gradient(135deg, #783082 0%, #af3f88 50%, #1ca6a4 100%);
  color: #ffffff;
}

.gradient-soft {
  background: linear-gradient(170deg, #fbf2fb 0%, #ffffff 50%, #f0fafa 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #783082 0%, #e65c92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(253, 251, 254, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.25s ease;
}

.site-header .nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-muted);
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(120, 48, 130, 0.25);
}

/* Buttons */
.btn-custom-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(120, 48, 130, 0.2);
}

.btn-custom-primary:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(120, 48, 130, 0.3);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-custom-outline:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-custom-pink {
  background-color: var(--color-pink);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-custom-pink:hover {
  background-color: var(--color-pink-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 92, 146, 0.35);
}

.btn-custom-teal {
  background-color: var(--color-teal);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-custom-teal:hover {
  background-color: var(--color-teal-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 166, 164, 0.35);
}

.btn-custom-growth {
  background-color: var(--color-growth);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-custom-growth:hover {
  background-color: var(--color-growth-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 168, 101, 0.35);
}

/* Badges */
.badge-soft-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-soft-pink {
  background-color: var(--color-pink-light);
  color: var(--color-pink-dark);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-soft-teal {
  background-color: var(--color-teal-light);
  color: var(--color-teal-dark);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Cards & Interactions */
.card-lift {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(120, 48, 130, 0.25);
}

.image-rounded {
  border-radius: var(--radius-xl);
  overflow: hidden;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero-girls-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.hero-quote-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  max-width: 280px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-top: 0.6rem;
  line-height: 1.25;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

/* Stat Box */
.stat-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.stat-box .stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

/* Page Hero */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, #f8eff8 0%, #fdfbfe 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: 2.75rem;
  margin-top: 0.75rem;
}

.page-hero p {
  max-width: 680px;
  margin: 0.85rem auto 0;
  font-size: 1.15rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: #f8eff8;
  border-top: 1px solid var(--color-border);
  padding: 4.5rem 0 2rem;
  margin-top: 5rem;
}

.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.social-circle:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Floating Bloom AI Assistant Widget */
#bloom-assistant-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1060;
}

.bloom-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #783082 0%, #e65c92 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 28px rgba(120, 48, 130, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bloom-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(120, 48, 130, 0.5);
}

.bloom-modal-window {
  position: fixed;
  right: 1.5rem;
  bottom: 6rem;
  width: min(380px, calc(100vw - 3rem));
  height: 520px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px -15px rgba(120, 48, 130, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1060;
  animation: bloomPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bloomPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bloom-modal-header {
  background: linear-gradient(135deg, #783082 0%, #af3f88 100%);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bloom-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  max-width: 86%;
  line-height: 1.45;
}

.chat-bubble.assistant {
  background: var(--color-primary-light);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-bubble.admin {
  background: #fdf2f8;
  color: #831843;
  border: 1.5px solid #fbcfe8;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(120, 48, 130, 0.08);
}

.chat-bubble.user {
  background: var(--color-primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.bloom-modal-footer {
  padding: 0.85rem;
  border-top: 1px solid var(--color-border);
  background: #fdfbfe;
}

.bloom-suggestion-chip {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bloom-suggestion-chip:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

/* Gallery & Lightbox */
.gallery-thumbnail {
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.gallery-thumbnail img {
  transition: transform 0.4s ease;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-thumbnail:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-quote-badge {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .page-hero h1 {
    font-size: 2.2rem;
  }
}
