/*
Theme Name: The Bloom Club
Theme URI: https://example.com/the-bloom-club
Author: Rico Bitsch / ChatGPT
Description: Custom elegant pastel blue Pilates studio theme for The Bloom Club.
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: the-bloom-club
*/

:root {
  --bloom-bg: #edf5f7;
  --bloom-bg-soft: #dfecef;
  --bloom-blue: #0d2e72;
  --bloom-blue-soft: #31548f;
  --bloom-text: #35527f;
  --bloom-muted: #6b7fa6;
  --bloom-card: rgba(255, 255, 255, 0.45);
  --bloom-border: rgba(255, 255, 255, 0.72);
  --bloom-lavender: #e7deee;
  --bloom-shadow: rgba(90, 115, 150, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bloom-bg);
  color: var(--bloom-blue);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.admin-bar .bloom-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.bloom-serif { font-family: Cormorant Garamond, Georgia, serif; }
.bloom-container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.bloom-eyebrow { color: var(--bloom-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.32em; margin: 0 0 18px; }
.bloom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bloom-blue);
  color: white;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 15px 35px rgba(13, 46, 114, 0.16);
}
.bloom-button:hover { background: var(--bloom-blue-soft); transform: translateY(-2px); }
.bloom-button.outline { background: rgba(255,255,255,0.4); color: var(--bloom-blue); border-color: #9db0cc; box-shadow: none; }
.bloom-button.outline:hover { background: rgba(255,255,255,0.75); }

.bloom-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  background: rgba(237,245,247,0.82);
  backdrop-filter: blur(18px);
}
.bloom-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.bloom-brand { font-family: Cormorant Garamond, Georgia, serif; font-size: 1.85rem; font-weight: 600; letter-spacing: 0.02em; }
.bloom-nav { display: flex; gap: 32px; align-items: center; color: var(--bloom-blue-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; }
.bloom-nav a { opacity: 0.88; transition: opacity 160ms ease; }
.bloom-nav a:hover { opacity: 1; }

.bloom-hero { position: relative; overflow: hidden; padding: 155px 0 110px; }
.bloom-orb { position: absolute; border-radius: 999px; filter: blur(58px); opacity: 0.85; pointer-events: none; }
.bloom-orb.one { width: 330px; height: 330px; left: -130px; top: 110px; background: #cfdfe7; }
.bloom-orb.two { width: 390px; height: 390px; right: -110px; bottom: 40px; background: #d9d2eb; opacity: 0.62; }
.bloom-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
.bloom-hero h1 { font-family: Cormorant Garamond, Georgia, serif; font-weight: 600; line-height: 0.95; letter-spacing: -0.045em; font-size: clamp(4rem, 8vw, 7.8rem); margin: 0; }
.bloom-hero-copy { margin: 30px 0 0; max-width: 570px; color: var(--bloom-text); font-size: 1.12rem; line-height: 1.8; }
.bloom-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.bloom-logo-card, .bloom-event-card { position: relative; border: 1px solid var(--bloom-border); border-radius: 42px; padding: 20px; background: rgba(255,255,255,0.34); box-shadow: 0 30px 80px var(--bloom-shadow); backdrop-filter: blur(14px); }
.bloom-logo-frame, .bloom-event-frame { border-radius: 32px; background: var(--bloom-bg-soft); padding: 18px; overflow: hidden; }
.bloom-logo-frame img, .bloom-event-frame img { border-radius: 24px; width: 100%; margin: 0 auto; }
.bloom-event-frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.bloom-badge { position: absolute; left: 34px; bottom: -28px; border: 1px solid var(--bloom-border); border-radius: 26px; background: rgba(255,255,255,0.72); padding: 16px 24px; box-shadow: 0 18px 42px var(--bloom-shadow); backdrop-filter: blur(14px); }
.bloom-badge span { display: block; color: #6a7fa8; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }
.bloom-badge strong { display: block; margin-top: 3px; font-family: Cormorant Garamond, Georgia, serif; font-size: 1.75rem; color: var(--bloom-blue); }

.bloom-section { padding: 85px 0; }
.bloom-section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 46px; }
.bloom-section-head h2, .bloom-centered h2 { font-family: Cormorant Garamond, Georgia, serif; font-size: clamp(3.1rem, 5vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.bloom-section-head p { max-width: 430px; color: #435c86; margin: 0; }
.bloom-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bloom-card { border: 1px solid var(--bloom-border); border-radius: 34px; background: var(--bloom-card); padding: 34px; box-shadow: 0 20px 55px rgba(100,120,150,0.12); backdrop-filter: blur(12px); }
.bloom-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 999px; background: #d3dfea; margin-bottom: 30px; color: var(--bloom-blue); }
.bloom-icon svg { width: 26px; height: 26px; }
.bloom-card h3, .bloom-info-card h3, .bloom-coming-card h3 { font-family: Cormorant Garamond, Georgia, serif; font-size: 2.25rem; line-height: 1.05; margin: 0; }
.bloom-card p, .bloom-info-card p, .bloom-coming-card p { color: #435c86; margin: 16px 0 0; }

.bloom-studio-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
.bloom-dark-panel { border-radius: 42px; background: var(--bloom-blue); color: white; padding: 56px; }
.bloom-dark-panel .bloom-eyebrow { color: #c7d8ef; }
.bloom-dark-panel h2 { font-family: Cormorant Garamond, Georgia, serif; font-size: clamp(3.1rem, 4.6vw, 5rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0; }
.bloom-dark-panel p { color: #dce8f7; margin-top: 26px; }
.bloom-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bloom-info-card { border-radius: 40px; padding: 34px; background: #d8e7ed; }
.bloom-info-card.lavender { background: var(--bloom-lavender); }
.bloom-info-card.wide { grid-column: 1 / -1; background: rgba(255,255,255,0.55); }
.bloom-info-card svg { width: 34px; height: 34px; margin-bottom: 40px; }

.bloom-coming { border: 1px solid var(--bloom-border); border-radius: 46px; background: rgba(255,255,255,0.4); padding: 48px; box-shadow: 0 24px 70px rgba(100,120,150,0.14); backdrop-filter: blur(12px); }
.bloom-centered { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.bloom-centered p { color: #435c86; }
.bloom-coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bloom-coming-card { text-align: center; border-radius: 32px; padding: 34px; background: var(--bloom-bg); }
.bloom-pill { display: inline-block; margin-top: 24px; border-radius: 999px; background: rgba(255,255,255,0.72); padding: 12px 18px; color: #5f77a8; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }

.bloom-final { text-align: center; max-width: 920px; margin: 0 auto; }
.bloom-final h2 { font-family: Cormorant Garamond, Georgia, serif; font-size: clamp(4rem, 7vw, 7.2rem); line-height: 1; letter-spacing: -0.045em; margin: 0; }
.bloom-final p { max-width: 680px; margin: 28px auto 0; color: #435c86; font-size: 1.08rem; line-height: 1.8; }
.bloom-final .bloom-button { margin-top: 38px; }

.bloom-footer { border-top: 1px solid rgba(255,255,255,0.62); padding: 36px 0; color: #526891; }
.bloom-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 0.92rem; }
.bloom-footer-brand { font-family: Cormorant Garamond, Georgia, serif; font-size: 1.8rem; color: var(--bloom-blue); }

@media (max-width: 900px) {
  body.admin-bar .bloom-header { top: 46px; }
  .bloom-nav { display: none; }
  .bloom-header .bloom-button { display: none; }
  .bloom-hero { padding: 125px 0 80px; }
  .bloom-hero-grid, .bloom-studio-grid { grid-template-columns: 1fr; }
  .bloom-card-grid, .bloom-coming-grid { grid-template-columns: 1fr; }
  .bloom-section-head { display: block; }
  .bloom-section-head p { margin-top: 20px; }
  .bloom-dark-panel { padding: 38px; }
  .bloom-coming { padding: 30px; }
  .bloom-footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .bloom-container { width: min(100% - 28px, var(--container)); }
  .bloom-brand { font-size: 1.5rem; }
  .bloom-actions { flex-direction: column; align-items: stretch; }
  .bloom-button { width: 100%; }
  .bloom-logo-frame { padding: 18px; }
  .bloom-badge { position: static; margin: 16px 0 0; }
  .bloom-info-grid { grid-template-columns: 1fr; }
  .bloom-info-card.wide { grid-column: auto; }
}


.bloom-legal { max-width: 900px; }
.bloom-legal h1 { font-family: Cormorant Garamond, Georgia, serif; font-size: clamp(3.4rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.04em; margin: 0 0 28px; }
.bloom-legal h2 { font-family: Cormorant Garamond, Georgia, serif; font-size: 2.2rem; margin: 34px 0 10px; }
.bloom-legal p { color: #435c86; margin: 8px 0; }
.bloom-legal-card { border: 1px solid var(--bloom-border); border-radius: 38px; background: rgba(255,255,255,0.48); padding: 38px; box-shadow: 0 20px 55px rgba(100,120,150,0.12); backdrop-filter: blur(12px); }
