/* ===== Wynn's Plants & Flowers ===== */
/* Palette: Deep Forest #1B3A2D, Warm Ivory #F5EDE0, Coral Petal #E8655A */
/* Type: Playfair Display (display) + Inter (body) */

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

:root {
  /* Core palette */
  --green: #1B3A2D;
  --green-light: #2A5A47;
  --ivory: #F5EDE0;
  --ivory-light: #FCF8F2;
  --coral: #E8655A;
  --coral-hover: #D44D42;
  --coral-light: #FDE8E6;

  /* Semantic tokens */
  --bg: var(--ivory);
  --bg-card: var(--ivory-light);
  --text: #2A2218;
  --text-muted: #7A6F60;
  --text-on-green: var(--ivory);
  --text-on-coral: #FFFFFF;
  --border: #D9CFBE;
  --shadow: rgba(27, 58, 45, 0.08);

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

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

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-underline-offset: 0.15em; transition: color 0.2s; }
a:hover { color: var(--coral-hover); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: var(--radius-sm); }

/* === UTILITY === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* === 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;
  object-position: center 30%;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 58, 45, 0.85) 0%,
    rgba(27, 58, 45, 0.4) 50%,
    rgba(232, 101, 90, 0.15) 100%
  );
}

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

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

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

.hero-tagline {
  font-family: var(--body);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: rgba(245, 237, 224, 0.85);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-on-green);
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  border: 1.5px solid rgba(245, 237, 224, 0.3);
  border-radius: 50px;
  transition: all 0.25s ease;
}

.hero-phone:hover {
  background: rgba(245, 237, 224, 0.1);
  border-color: rgba(245, 237, 224, 0.6);
  color: var(--text-on-green);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-on-coral);
  background: var(--coral);
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(232, 101, 90, 0.35);
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232, 101, 90, 0.45);
  color: var(--text-on-coral);
}

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

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll a {
  display: block;
  color: rgba(245, 237, 224, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.hero-scroll a:hover { color: rgba(245, 237, 224, 0.8); }

.hero-scroll-arrow {
  display: block;
  margin: var(--space-xs) auto 0;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(245, 237, 224, 0.4);
  border-bottom: 2px solid rgba(245, 237, 224, 0.4);
  transform: rotate(45deg);
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === SECTION COMMON === */
.section {
  padding: var(--space-2xl) 0;
}

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

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

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

/* === REVIEWS RIBBON === */
.reviews {
  background: var(--green);
  color: var(--text-on-green);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.reviews .section-label { color: var(--coral-light); }
.reviews .section-title { color: var(--text-on-green); }

.reviews-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md) 0 var(--space-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--coral) rgba(245, 237, 224, 0.15);
}

.reviews-track::-webkit-scrollbar { height: 6px; }
.reviews-track::-webkit-scrollbar-track { background: rgba(245, 237, 224, 0.1); border-radius: 3px; }
.reviews-track::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 3px; }

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: rgba(245, 237, 224, 0.08);
  border: 1px solid rgba(245, 237, 224, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.25s ease, background 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  background: rgba(245, 237, 224, 0.12);
}

.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.6;
  color: rgba(245, 237, 224, 0.9);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245, 237, 224, 0.7);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.service-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.gallery .section-label { color: var(--coral-light); }
.gallery .section-title { color: var(--text-on-green); }

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

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

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

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

/* === HOURS + INFO === */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.info-block h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

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

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

.hours-table tr:last-child td { border-bottom: none; }

.info-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.info-item-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-item-text strong {
  display: block;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 2px;
}

.info-item-text a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.info-item-text a:hover {
  border-bottom-color: var(--coral);
}

/* === CONTACT FORM === */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

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

.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%;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-light);
}

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

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

.form-status.success {
  background: var(--green);
  color: var(--text-on-green);
}

.form-status.error {
  background: var(--coral-light);
  color: var(--coral-hover);
}

.contact-cta {
  background: var(--green);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  color: var(--text-on-green);
}

.contact-cta h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.contact-cta p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 237, 224, 0.85);
  margin-bottom: var(--space-lg);
}

.contact-cta .btn-primary {
  width: 100%;
  text-align: center;
}

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

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.site-footer a {
  color: rgba(245, 237, 224, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover { color: var(--text-on-green); }

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

.footer-attribution a { color: rgba(245, 237, 224, 0.5); }
.footer-attribution a:hover { color: rgba(245, 237, 224, 0.8); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .hero-name { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-tagline { font-size: 1rem; }
  .hero-phone { font-size: 1rem; padding: var(--space-sm) var(--space-md); }

  .section { padding: var(--space-xl) 0; }
  .section-title { font-size: 1.8rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .gallery-grid img:first-child { height: 260px; }

  .info-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }

  .review-card { flex: 0 0 280px; }

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

@media (max-width: 480px) {
  .hero { min-height: 85vh; }
  .hero-name { font-size: 2rem; }
  .hero-content { padding: var(--space-xl) var(--space-md); }
  .btn-primary { width: 100%; text-align: center; }
  .hero-phone { width: 100%; justify-content: center; }
}

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