/* =============================================
   BLOOM ID — Custom Theme CSS
   Premium floral aesthetic, mobile-first
   ============================================= */

/* --- Variables --- */
:root {
  --bg: #FDFBF7;
  --fg: #2C2C2C;
  --fg-muted: #6B6560;
  --sage: #3D6B4F;
  --sage-light: #4E8A63;
  --sage-dark: #2D5040;
  --blush: #F2D7D5;
  --blush-light: #FAF0EF;
  --terracotta: #C17C60;
  --rose-dark: #B85C6A;
  --border: #E8E0D8;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --section-pad: clamp(64px, 10vw, 120px);
  --radius: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 3px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { max-width: 62ch; }

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 224, 216, 0.6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--sage-dark);
  text-decoration: none;
}

.nav__tagline {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 300;
  display: none;
}

@media (min-width: 480px) { .nav__tagline { display: block; } }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 clamp(48px, 8vw, 80px);
  overflow: hidden;
}

.hero__image-wrapper {
  position: absolute;
  inset: 0;
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #FDF5F0 0%,
    #F2D7D5 35%,
    #E8C4B8 65%,
    #D4A882 100%
  );
  position: relative;
}

.hero__image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 60%, rgba(180,120,100,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 70% 30%, rgba(250,200,180,0.2) 0%, transparent 50%);
}

/* Decorative botanical circles */
.hero__image-placeholder::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,215,213,0.6) 0%, rgba(242,215,213,0) 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 6vw, 72px);
  max-width: 700px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 300;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__cta-primary {
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.hero__cta-primary:hover { background: var(--sage-dark); }

.hero__cta-secondary {
  background: transparent;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--sage);
  cursor: pointer;
  transition: all 0.2s;
}

.hero__cta-secondary:hover { background: var(--sage); color: var(--white); }

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  right: clamp(24px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.6;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Features --- */
.features {
  padding: var(--section-pad) clamp(24px, 6vw, 72px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.features__header {
  text-align: center;
  margin-bottom: 56px;
}

.features__title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--fg);
  max-width: 16ch;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61, 107, 79, 0.08);
}

.feature-card__icon {
  margin-bottom: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush-light);
  border-radius: 12px;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: none;
}

/* --- Seasonal --- */
.seasonal {
  padding: var(--section-pad) clamp(24px, 6vw, 72px);
  background: var(--blush-light);
}

.seasonal__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 700px) {
  .seasonal__inner { grid-template-columns: 1fr 1fr; }
}

.seasonal__image-area {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #F2D7D5 0%, #E8C4B8 100%);
  position: relative;
  overflow: hidden;
}

.seasonal__image-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.3) 0%, transparent 60%);
}

.seasonal__title {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.seasonal__desc {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.seasonal__flowers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seasonal__flower {
  display: flex;
  align-items: center;
  gap: 16px;
}

.seasonal__flower-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.seasonal__flower-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.seasonal__flower-season {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* --- Find Near Me --- */
.find-near {
  padding: var(--section-pad) clamp(24px, 6vw, 72px);
}

.find-near__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 700px) {
  .find-near__inner { grid-template-columns: 1fr 1fr; }
  .find-near__content { order: -1; }
}

.find-near__title {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.find-near__desc {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.find-near__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.find-near__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.find-near__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.find-near__step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}

.find-near__step-desc {
  font-size: 13px;
  color: var(--fg-muted);
}

.find-near__image-area {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #E8E8DC 0%, #C9D4B5 100%);
  position: relative;
  overflow: hidden;
}

.find-near__image-area::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 45%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 8px rgba(61,107,79,0.15), 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Catalog --- */
.catalog {
  padding: var(--section-pad) clamp(24px, 6vw, 72px);
  background: var(--white);
}

.catalog__header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.catalog__title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.catalog__desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 55ch;
  margin: 0 auto;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 600px) {
  .catalog__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
}

.catalog__card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.catalog__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(61,107,79,0.1);
}

.catalog__card--featured .catalog__card-body {
  padding: 16px;
}

.catalog__card-color {
  height: 80px;
}

.catalog__card-body {
  padding: 14px 16px;
  background: var(--white);
}

.catalog__card-season {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.catalog__card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}

.catalog__card-sci {
  font-size: 12px;
  font-style: italic;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.catalog__card-colors {
  display: flex;
  gap: 5px;
}

.catalog__card-colors span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.catalog__note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 40px;
  max-width: none;
}

/* --- Vendors --- */
.vendors {
  padding: var(--section-pad) clamp(24px, 6vw, 72px);
  background: var(--sage);
}

.vendors__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 700px) {
  .vendors__inner { grid-template-columns: 1fr 1fr; }
}

.vendors__title {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--white);
  margin-bottom: 16px;
}

.vendors__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 50ch;
}

.vendors__list-cta {
  display: inline-block;
  background: var(--white);
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.vendors__list-cta:hover { transform: scale(1.03); }

.vendors__preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vendors__preview-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(8px);
}

.vendors__preview-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
  flex-shrink: 0;
}

.vendors__preview-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
}

.vendors__preview-location {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.vendors__preview-flowers {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

.vendors__preview-distance {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* --- Closing --- */
.closing {
  padding: var(--section-pad) clamp(24px, 6vw, 72px);
  text-align: center;
}

.closing__inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing__accent {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0.7;
}

.closing__quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 24px;
  max-width: none;
}

.closing__sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.closing__byline {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--sage);
  max-width: none;
}

/* --- Footer --- */
.footer {
  padding: 56px clamp(24px, 6vw, 72px) 32px;
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 700px) {
  .footer__top { grid-template-columns: 1fr 2fr; }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 32ch;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--sage); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 12px;
  color: var(--fg-muted);
  max-width: none;
}

/* --- Mobile Adjustments --- */
@media (max-width: 480px) {
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .hero__headline { font-size: 34px; }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .feature-card, .catalog__card, .hero__cta-primary, .hero__cta-secondary {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s;
  }
}