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

:root {
  /* Palette */
  --pine:       #1a3c34;
  --pine-light: #2a5c4e;
  --ivory:      #f7f3ee;
  --ivory-dark: #e8e0d6;
  --coral:      #e85d45;
  --coral-hover:#d44a32;
  --white:      #ffffff;
  --near-black: #1a1a1a;
  --text-body:  #2a2824;
  --text-muted: #7a7268;

  /* 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: 8px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--ivory);
  -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: 2px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 60, 52, 0.85) 0%,
    rgba(26, 60, 52, 0.55) 50%,
    rgba(26, 60, 52, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  max-width: 720px;
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

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

.hero-sub {
  font-family: var(--body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: rgba(247, 243, 238, 0.85);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

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

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

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 30px;
  border: 2px solid rgba(247, 243, 238, 0.4);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(247, 243, 238, 0.08);
}

.hero-phone {
  display: block;
  margin-top: var(--space-lg);
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(247, 243, 238, 0.8);
  letter-spacing: 0.02em;
}

.hero-phone a {
  color: var(--white);
  border-bottom: 1px solid rgba(247, 243, 238, 0.3);
  transition: border-color 0.2s;
}

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

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

.section-label {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

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

.section-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* === REVIEWS (top-of-page social proof) === */
.reviews-band {
  background: var(--white);
  border-bottom: 1px solid var(--ivory-dark);
  padding: var(--space-xl) var(--space-lg);
}

.reviews-band .section {
  padding-top: 0;
  padding-bottom: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.review-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: var(--space-lg);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 52, 0.08);
}

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

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

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

.review-author span {
  font-weight: 400;
  color: var(--text-muted);
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 1px solid var(--ivory-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 60, 52, 0.06);
}

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

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

.service-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.gallery-grid img:first-child {
  grid-column: 1 / -1;
  height: 400px;
}

/* === HOURS + LOCATION === */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

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

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

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--pine);
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  border: 1px solid var(--ivory-dark);
}

.location-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pine);
  margin: 0 0 var(--space-sm);
}

.location-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
}

.location-card a {
  color: var(--coral);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.location-card a:hover {
  border-bottom-color: var(--coral);
}

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

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

.contact-section .section-intro {
  color: rgba(247, 243, 238, 0.75);
}

.contact-form {
  max-width: 560px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: rgba(247, 243, 238, 0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 1rem;
  border: 2px solid rgba(247, 243, 238, 0.15);
  border-radius: var(--radius);
  background: rgba(247, 243, 238, 0.08);
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(247, 243, 238, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(247, 243, 238, 0.12);
}

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

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

.form-status.visible {
  display: block;
}

.form-status.success {
  background: rgba(255, 255, 255, 0.1);
  color: #a8e6cf;
}

.form-status.error {
  background: rgba(232, 93, 69, 0.2);
  color: var(--coral);
}

/* === FOOTER === */
.site-footer {
  background: var(--pine);
  border-top: 1px solid rgba(247, 243, 238, 0.08);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.site-footer p {
  margin: 0 0 var(--space-xs);
  font-size: 0.85rem;
  color: rgba(247, 243, 238, 0.5);
}

.site-footer .attribution {
  font-size: 0.75rem;
  opacity: 0.6;
}

.site-footer .attribution a {
  color: rgba(247, 243, 238, 0.5);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer .attribution a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .gallery-grid img:first-child {
    height: 240px;
  }

  .gallery-grid img {
    height: 180px;
  }

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

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

  .reviews-band {
    padding: var(--space-lg) var(--space-md);
  }

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

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

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

  .gallery-grid img:first-child {
    height: 200px;
  }

  .gallery-grid img {
    height: 220px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

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