/* ============================================================
   HAPPY FLOWERS — Vancouver Florist
   Palette: Forest Green (#1a2e1a) | Warm Cream (#faf6f0) | Coral (#ff6b6b)
   Type: Playfair Display (display) | Inter (body)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #faf6f0;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --green: #1a2e1a;
  --green-light: #2a4a2a;
  --cream: #faf6f0;
  --cream-dark: #f0e8da;
  --coral: #ff6b6b;
  --coral-hover: #e85555;
  --text: #1a1a1a;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --radius: 12px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;
  --max-width: 1100px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--coral-hover); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  color: var(--green);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 36rem;
  margin: 0 auto;
}

.stars { color: var(--coral); letter-spacing: 2px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://lh3.googleusercontent.com/place-photos/AJRVUZOQpdFAJSVc3w1F3b_eZmN7p0TmWoHJGLmcKFleMB_ItNKto2arZ2ExFDxE5Fs8zANdJIvQMAqfgLYxAE89_NlRVnnCYm9vbB6I9i0OqflwFte7vR-6yHg4xxjgbSWd6uWxs4NVTwQquR1xGTI=s4800-w1600");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 46, 26, 0.92) 0%,
    rgba(26, 46, 26, 0.4) 50%,
    rgba(26, 46, 26, 0.1) 100%
  );
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  color: var(--white);
}

.hero-suptitle {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  opacity: 0.9;
  max-width: 32rem;
  margin-bottom: var(--space-xl);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: var(--space-2xl) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-xl);
  margin: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left: 4px solid var(--coral);
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.review-author {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.review-rating {
  color: var(--coral);
  font-weight: 600;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--cream-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--green);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: var(--space-2xl) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.gallery-fig {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-fig img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-fig:hover img {
  transform: scale(1.03);
}

/* ============================================================
   INFO (Hours + Location + Phone)
   ============================================================ */
.info {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--green);
  color: var(--white);
}

.info .section-title { color: var(--white); }
.info .section-subtitle { color: rgba(255,255,255,0.7); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}

.info-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  backdrop-filter: blur(4px);
}

.info-heading {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-md);
}

.info-address {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.info-neighbourhood {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 6px 0;
  font-size: 1rem;
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.info-phone a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--coral);
}
.info-phone a:hover { color: #ff8a8a; }

.info-cta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-sm);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.form-input {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  align-self: flex-start;
  border: none;
  font-size: 1.05rem;
  padding: 16px 40px;
}

.form-status {
  font-size: 0.95rem;
  color: var(--green);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) var(--space-lg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tag {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.attribution {
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 0;
}
.attribution a {
  color: rgba(255,255,255,0.5);
}
.attribution a:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   RESPONSIVE — Tablet+
   ============================================================ */
@media (min-width: 640px) {
  .hero-title { font-size: clamp(3.5rem, 8vw, 5.5rem); }

  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .review-card:first-child {
    grid-column: 1 / -1;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-fig--wide {
    grid-column: 1 / -1;
  }
  .gallery-fig--wide img {
    height: 360px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .info-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .review-card:first-child {
    grid-column: auto;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .info-card:last-child {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .gallery-fig--wide {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-fig--wide img {
    height: 100%;
    min-height: 400px;
  }
  .gallery-fig:nth-child(2) img,
  .gallery-fig:nth-child(3) img {
    height: 240px;
  }
  .gallery-fig:nth-child(4) img {
    height: 240px;
  }
}

@media (min-width: 1100px) {
  .hero-panel {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
