/* =============================================
   Garlands Florist — Vancouver's Kitsilano gem
   Palette: deep forest green, warm cream, coral-rose
   Type: Playfair Display (display) + Inter (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Palette */
  --green: #1a2e1a;
  --green-light: #2a4a2a;
  --cream: #faf6ef;
  --cream-dark: #f0e8d8;
  --coral: #d44a5a;
  --coral-hover: #c03a4a;
  --ink: #1c1c1c;
  --muted: #6b6558;
  --white: #ffffff;
  --shadow: rgba(26, 46, 26, 0.12);

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;

  /* Type */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius: 12px;
  --radius-sm: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 46, 26, 0.3) 0%,
    rgba(26, 46, 26, 0.7) 60%,
    rgba(26, 46, 26, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  max-width: 800px;
  width: 100%;
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin: 0 auto var(--space-xl);
  max-width: 520px;
  line-height: 1.5;
}

/* Floating card at hero bottom */
.hero-card {
  position: relative;
  z-index: 3;
  margin: -60px auto 0;
  max-width: 720px;
  width: calc(100% - 32px);
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 0 8px 32px var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.hero-card-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--green);
}

.hero-card-phone svg {
  flex-shrink: 0;
}

.hero-card-phone a {
  color: var(--green);
  text-decoration: none;
}

.hero-card-phone a:hover {
  color: var(--coral);
}

.hero-card-review {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--muted);
}

.stars {
  color: #e8a838;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--coral);
  color: var(--white);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--green);
  margin: 0 0 var(--space-sm);
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 var(--space-xl);
  max-width: 560px;
}

/* =============================================
   REVIEWS — top-half placement
   ============================================= */
.reviews-section {
  background: var(--white);
}

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

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

.review-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: var(--space-lg);
  position: relative;
}

.review-card::before {
  content: '"';
  font-family: var(--display);
  font-size: 4rem;
  line-height: 1;
  color: var(--coral);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  left: 16px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.review-stars {
  color: #e8a838;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

/* Full-width review card on desktop */
@media (min-width: 700px) {
  .review-card-wide {
    grid-column: 1 / -1;
  }
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.service-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 var(--space-sm);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-section {
  background: var(--green);
  color: var(--white);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

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

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

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

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* =============================================
   HOURS
   ============================================= */
.hours-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--cream-dark);
}

.hours-table td {
  padding: var(--space-sm) 0;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.hours-table .today {
  font-weight: 600;
  color: var(--coral);
}

.hours-table .today + td {
  color: var(--ink);
  font-weight: 500;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.contact-info p {
  margin: 0 0 var(--space-md);
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-info strong {
  color: var(--green);
  font-weight: 600;
}

.contact-info a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info a:hover {
  color: var(--coral);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 0.95rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}

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

.form-status {
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
}

.form-status.success {
  background: #e6f4e6;
  color: #1a5a1a;
}

.form-status.error {
  background: #fde8e8;
  color: #a03030;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--green);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  font-size: 0.85rem;
}

.site-footer .address {
  font-style: normal;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.site-footer .attribution {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: var(--space-md);
}

.site-footer .attribution a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer .attribution a:hover {
  color: var(--white);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

.hero-card {
  animation: fadeUp 0.8s ease-out 0.2s both;
}

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

/* =============================================
   MOBILE TWEAKS
   ============================================= */
@media (max-width: 599px) {
  .hero-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg);
  }

  .hero-card-review {
    justify-content: center;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-xl) var(--space-md);
  }
}
