/* RiversideFlorists.com — Custom Styles */

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDFAF6; }
::-webkit-scrollbar-thumb { background: #B8975A; border-radius: 4px; }

/* Floral dot pattern */
.floral-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(184,151,90,0.18) 1px, transparent 0);
  background-size: 28px 28px;
}

/* Cards */
.service-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(61,90,71,0.15); }

.blog-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }

/* Gallery */
.gallery-item { overflow: hidden; }
.gallery-item img { transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* Buttons */
.btn-primary {
  background-color: #3D5A47;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}
.btn-primary:hover {
  background-color: #2D4235;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(61,90,71,0.3);
}
.btn-gold {
  background-color: #B8975A;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}
.btn-gold:hover { background-color: #9A7D48; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184,151,90,0.35); }

.btn-secondary {
  background-color: transparent;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 2px solid #fff;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-secondary:hover { background-color: #fff; color: #3D5A47; }

.btn-outline-forest {
  background-color: transparent;
  color: #3D5A47;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 2px solid #3D5A47;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-outline-forest:hover { background-color: #3D5A47; color: #fff; }

/* Pulsing ring on key CTAs */
.btn-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: btn-ring 2.5s ease-out infinite;
}
@keyframes btn-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0;  }
}

/* Section tag */
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #B8975A;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
}
.whatsapp-float .wa-icon {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-float .wa-icon:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.65); }
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-answer.open { max-height: 400px; padding: 1rem 1.5rem; }
.faq-icon { transition: transform 0.3s ease; }
.faq-icon.open { transform: rotate(45deg); }

/* Gallery filter */
.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid #3D5A47;
  color: #3D5A47;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}
.filter-btn:hover, .filter-btn.active { background-color: #3D5A47; color: #fff; }

/* Testimonial quote decoration */
.testimonial-card { position: relative; }
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0;
  color: rgba(184,151,90,0.25);
  position: absolute;
  top: 2.5rem;
  left: 1.5rem;
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #E5E0D8;
  border-radius: 0.625rem;
  font-size: 1rem;
  color: #2A2A2A;
  background-color: #FDFAF6;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  font-family: 'Lato', sans-serif;
}
.form-input:focus { border-color: #3D5A47; box-shadow: 0 0 0 3px rgba(61,90,71,0.1); }
.form-label { display: block; font-size: 0.875rem; font-weight: 700; color: #2A2A2A; margin-bottom: 0.4rem; }

/* Blog prose */
.prose-luxury h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: #2A2A2A; margin: 2.5rem 0 1rem; }
.prose-luxury h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: #3D5A47; margin: 2rem 0 0.75rem; }
.prose-luxury p  { line-height: 1.85; color: #444; margin-bottom: 1.25rem; }
.prose-luxury ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose-luxury li { color: #444; line-height: 1.75; margin-bottom: 0.5rem; }
.prose-luxury a  { color: #3D5A47; text-decoration: underline; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Sticky header */
#site-header { transition: box-shadow 0.3s ease; }

/* Hero */
.hero-gradient { background: linear-gradient(135deg, #2D4235 0%, #3D5A47 45%, #4A7060 100%); }

/* Breadcrumb */
.breadcrumb a { color: #B8975A; }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ============================================================
   HIGH-CONVERSION ADDITIONS
   ============================================================ */

/* Urgency Bar */
#urgency-bar {
  background: #2D4235;
  color: #fff;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  z-index: 49;
}
#urgency-bar .countdown-badge {
  background: #B8975A;
  padding: 0.18rem 0.7rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: background 0.5s;
}
#urgency-bar a { color: #E8C99A; text-decoration: underline; font-weight: 700; }
#urgency-bar a:hover { color: #fff; }

/* Exit Intent Popup */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
}
.exit-popup-overlay.hidden { display: none; }
.exit-popup-box {
  background: #FDFAF6;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: popup-in 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popup-in {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.exit-popup-close {
  position: absolute; top: 0.75rem; right: 1rem;
  font-size: 1.6rem; line-height: 1; color: #9CA3AF;
  background: none; border: none; cursor: pointer;
  padding: 0.25rem 0.5rem; transition: color 0.2s;
}
.exit-popup-close:hover { color: #2A2A2A; }
.exit-popup-flower { font-size: 3rem; margin-bottom: 0.5rem; }
.exit-popup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; font-weight: 700; color: #2A2A2A; margin-bottom: 0.5rem;
}
.exit-popup-body { color: #6B6B6B; font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.75rem; }
.exit-popup-code {
  display: inline-block;
  background: #F4E4E1; color: #3D5A47;
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em;
  padding: 0.4rem 1.25rem; border-radius: 0.5rem; margin-bottom: 1.25rem;
  border: 2px dashed #B8975A;
}
.exit-popup-cta {
  display: block; background: #B8975A; color: #fff;
  padding: 0.875rem 2rem; border-radius: 9999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: background 0.3s, transform 0.2s; margin-bottom: 0.75rem;
}
.exit-popup-cta:hover { background: #9A7D48; transform: translateY(-1px); }
.exit-popup-skip {
  font-size: 0.78rem; color: #9CA3AF; cursor: pointer;
  background: none; border: none; text-decoration: underline;
}

/* Social Proof Toast */
.social-proof-toast {
  position: fixed;
  bottom: 110px; left: 20px;
  background: #1F2937; color: #fff;
  padding: 0.7rem 0.9rem;
  border-radius: 0.875rem;
  font-size: 0.78rem;
  max-width: 250px;
  z-index: 990;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  display: flex; align-items: flex-start; gap: 0.45rem;
}
.social-proof-toast.visible { opacity: 1; transform: translateY(0); }
.toast-emoji { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.toast-text { line-height: 1.45; }

/* Mobile Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #3D5A47; color: #fff;
  padding: 0.65rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  z-index: 980;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar .sticky-text { font-size: 0.8rem; font-weight: 600; flex: 1; }
.sticky-cta-bar .sticky-btn {
  background: #B8975A; color: #fff;
  padding: 0.45rem 0.9rem; border-radius: 9999px;
  font-weight: 700; font-size: 0.78rem;
  white-space: nowrap; text-decoration: none; flex-shrink: 0;
}
.sticky-cta-bar .sticky-wa {
  background: #25D366; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@media (min-width: 1024px) { .sticky-cta-bar { display: none !important; } }

/* Trust strip */
.trust-bar {
  background: #fff; border-top: 1px solid #F4E4E1; border-bottom: 1px solid #F4E4E1;
  padding: 0.875rem 1rem;
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.75rem 2.5rem;
  max-width: 860px; margin: 0 auto;
  font-size: 0.78rem; font-weight: 700; color: #3D5A47; letter-spacing: 0.02em;
}
.trust-item { display: flex; align-items: center; gap: 0.4rem; }

@media (max-width: 640px) {
  .btn-primary, .btn-gold, .btn-secondary, .btn-outline-forest { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}
