/* A&M Floral — Shared Stylesheet */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Design Tokens ── */
:root {
  --blush:      #f4c5b8;   /* light peach-pink */
  --apricot:    #f2a97e;   /* light orange */
  --petal:      #fdf0eb;   /* near-white warm background */
  --sage:       #a8b89a;   /* soft green accent */
  --dark:       #3a2e2a;   /* warm near-black for text */
  --mid:        #7a6560;   /* medium warm gray */
  --white:      #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Lato', system-ui, sans-serif;
  --max-width:  1100px;
  --radius:     4px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--petal);
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { max-width: 68ch; }

/* ── Layout helpers ── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
}

section { padding: 5rem 0; }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 240, 235, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(242, 169, 126, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--dark);
}

.nav-logo span { color: var(--apricot); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--mid);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
  border-bottom-color: var(--apricot);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf0eb 0%, #f9ddd2 50%, #f4c5b8 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 1rem;
}

.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--apricot); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.hero-img-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* placeholder gradient when no image */
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--blush) 0%, var(--apricot) 100%);
  opacity: 0.45;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--apricot);
  color: var(--white);
  border: 1.5px solid var(--apricot);
}

.btn-primary:hover {
  background: #e8925f;
  border-color: #e8925f;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn + .btn { margin-left: 1rem; }

/* ── Currently Blooming Banner ── */
.blooming-banner {
  background: linear-gradient(90deg, var(--blush), var(--apricot));
  color: var(--white);
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Section headings ── */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 0.75rem;
}

.section-heading { margin-bottom: 1.2rem; }
.section-divider {
  width: 48px;
  height: 1.5px;
  background: var(--apricot);
  margin: 1.2rem auto 2rem;
}

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(58,46,42,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(58,46,42,0.12);
}

.card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--blush), var(--apricot));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { font-size: 0.92rem; color: var(--mid); }

/* ── Two-column split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  background: linear-gradient(160deg, var(--blush) 0%, var(--apricot) 100%);
}

.split-img img { width: 100%; height: 100%; object-fit: cover; }

.split-text .section-label { margin-bottom: 0.5rem; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p  { color: var(--mid); margin-bottom: 1.5rem; }

/* ── Testimonial / quote ── */
.quote-section {
  background: linear-gradient(135deg, var(--blush) 0%, #fce8de 100%);
  text-align: center;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--dark);
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.5;
}

.quote-attr {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── Form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full { grid-column: 1 / -1; }

label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(58,46,42,0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--apricot);
}

textarea { resize: vertical; min-height: 130px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #fdf0eb, #f4c5b8);
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p  { color: var(--mid); margin-inline: auto; }

/* ── Flower detail ── */
.flower-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(58,46,42,0.1);
}

.flower-detail:last-of-type { border-bottom: none; }

.flower-detail.reverse { direction: rtl; }
.flower-detail.reverse > * { direction: ltr; }

.flower-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(160deg, var(--blush), var(--apricot));
}

.flower-img img { width: 100%; height: 100%; object-fit: cover; }

.flower-info .badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-blooming { background: #d4edda; color: #2e6b3e; }
.badge-coming   { background: #fce8c3; color: #7a5020; }

.flower-info h2 { margin-bottom: 0.75rem; }
.flower-info p  { color: var(--mid); margin-bottom: 1rem; }

.flower-facts {
  list-style: none;
  margin: 1.2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.flower-facts li {
  font-size: 0.88rem;
  color: var(--mid);
  padding-left: 1rem;
  position: relative;
}

.flower-facts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--apricot);
}

/* ── Wholesale boxes ── */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-box {
  padding: 2rem;
  border: 1px solid rgba(242, 169, 126, 0.4);
  border-radius: var(--radius);
  background: var(--white);
}

.info-box-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.info-box h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.info-box p  { font-size: 0.9rem; color: var(--mid); }

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand h3 span { color: var(--apricot); }
.footer-brand p { font-size: 0.9rem; max-width: 36ch; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--apricot); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .split,
  .flower-detail,
  .footer-grid { grid-template-columns: 1fr; }

  .flower-detail.reverse { direction: ltr; }

  .split-img,
  .flower-img { height: 300px; }

  .hero-img-wrap { width: 100%; opacity: 0.15; }
  .hero-content  { position: relative; z-index: 2; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--petal);
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(242,169,126,0.25);
    gap: 1.2rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .form-grid { grid-template-columns: 1fr; }
  .flower-facts { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
