/* ============================================================
   ROSES & PETALS — Florist & Religious Gifts, Windsor ON
   Palette: Deep Rose #9B1B30 · Warm Ivory #FDF8F5 · Rich Charcoal #2D2A2B
   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;
  font-size: 1rem;
  line-height: 1.6;
  color: #2D2A2B;
  background: #FDF8F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid #9B1B30; outline-offset: 3px; border-radius: 2px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.35em;
  color: #2D2A2B;
}
.section-sub {
  font-size: 1.05rem;
  color: #6B5E5A;
  margin: 0;
  max-width: 40ch;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-sub {
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: #9B1B30;
  color: #fff;
  border-color: #9B1B30;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #7E1526;
  border-color: #7E1526;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(155, 27, 48, 0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://lh3.googleusercontent.com/place-photos/AJRVUZM4aIIoHs73MBl_ij2WEvUH0khxQbTeh7c2NnB6e1G7sPIUKFTTzsTJ9D8GXIzR1ulWJxOgtJGN3EEilXtn482LEAEU2HPldcM3RdJ2VO6Y3-Qd2gS1x36RpIc1hET9mI6o0IFaDDxIDxwfI9QDt8S7Zw=s4800-w1600");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 42, 43, 0.82) 0%,
    rgba(45, 42, 43, 0.55) 60%,
    rgba(155, 27, 48, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 720px;
}
.hero-tagline {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}
.hero-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 0.15em;
  letter-spacing: -0.01em;
}
.hero-sub {
  display: block;
  font-size: 0.55em;
  font-weight: 400;
  font-style: italic;
  opacity: 0.85;
  margin-top: 0.15em;
}
.hero-value {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
  opacity: 0.85;
  max-width: 48ch;
  margin: 1.5rem auto 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: 5rem 1.5rem;
  background: #fff;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.review-card {
  background: #FDF8F5;
  border: 1px solid #E8DDD5;
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 8px 30px rgba(155, 27, 48, 0.08);
  transform: translateY(-2px);
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #9B1B30;
  border-radius: 12px 12px 0 0;
}
.review-stars {
  color: #9B1B30;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.review-text {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 1rem;
  color: #2D2A2B;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.review-name {
  font-weight: 600;
  color: #2D2A2B;
}
.review-source {
  color: #6B5E5A;
  font-size: 0.8rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 5rem 1.5rem;
  background: #FDF8F5;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border: 1px solid #E8DDD5;
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(155, 27, 48, 0.06);
  transform: translateY(-2px);
}
.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.service-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2D2A2B;
}
.service-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #6B5E5A;
  margin: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 5rem 1.5rem;
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* ============================================================
   INFO — HOURS & LOCATION
   ============================================================ */
.info {
  padding: 5rem 1.5rem;
  background: #FDF8F5;
}
.info-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.info-block .section-title {
  margin-bottom: 1rem;
}
.info-address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2D2A2B;
}
.info-address strong {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.info-phone {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.info-phone a {
  color: #9B1B30;
  text-decoration: none;
}
.info-phone a:hover {
  text-decoration: underline;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid #E8DDD5;
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact {
  padding: 5rem 1.5rem;
  background: #fff;
}
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.form-row {
  margin-bottom: 1rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  border: 1.5px solid #D6CBC2;
  border-radius: 8px;
  background: #FDF8F5;
  color: #2D2A2B;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #9B1B30;
  box-shadow: 0 0 0 3px rgba(155, 27, 48, 0.12);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9A8C85;
}
.btn-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}
.form-status {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: #6B5E5A;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 2.5rem 1.5rem;
  background: #2D2A2B;
  color: #B8ADA6;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}
.footer-brand {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  color: #FDF8F5;
  margin-bottom: 0.5rem;
}
.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  color: #D6CBC2;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}
.footer .attribution {
  font-size: 0.75rem;
  opacity: 0.5;
  margin: 0;
}
.footer .attribution a {
  color: #B8ADA6;
  text-decoration: none;
}
.footer .attribution a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE — TABLET (640px+)
   ============================================================ */
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 540px;
    justify-self: center;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item--wide {
    grid-column: 1 / -1;
  }
  .gallery-item img {
    height: 320px;
  }
  .gallery-item--wide img {
    height: 380px;
  }
  .info-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (900px+)
   ============================================================ */
@media (min-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .reviews-grid .review-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item--wide {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item--wide img {
    height: 500px;
  }
  .gallery-item img {
    height: 280px;
  }
  .hero {
    padding: 2rem 3rem;
  }
  .hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
  }
  .hero-actions {
    gap: 1.25rem;
  }
}

/* ============================================================
   RESPONSIVE — WIDE (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
  .reviews,
  .services,
  .gallery,
  .info,
  .contact {
    padding: 6rem 2rem;
  }
}

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