:root {
  --brand-primary: #2d6a4f;
  --brand-secondary: #40916c;
  --brand-accent: #b7e4c7;
  --brand-dark: #1b4332;
  --brand-light: #d8f3dc;
  --text-dark: #1f2d3d;
  --text-light: #f5f7fa;
  --offset: 6rem;
  --shadow-sm: 0 .125rem .25rem rgba(27,67,50,.1);
  --shadow-md: 0 .5rem 1rem rgba(27,67,50,.15);
  --shadow-lg: 0 1rem 3rem rgba(27,67,50,.2);
  --transition-base: all .3s ease-in-out;
  --font-family-base: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Playfair Display', Georgia, serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family-base);
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-dark);
}
h1 { font-size: calc(2.5rem + 1.5vw); }
h2 { font-size: calc(2rem + 0.8vw); }
h3 { font-size: calc(1.5rem + 0.3vw); }
h4 { font-size: 1.3rem; }
p { font-size: 1rem; }
a { color: var(--brand-primary); text-decoration: none; transition: var(--transition-base); }
a:hover { color: var(--brand-secondary); }
.text-muted { color: rgba(31,45,61,.7) !important; }
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-primary { background-color: var(--brand-primary); }
.bg-brand-light { background-color: var(--brand-light); }
.btn-brand {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: 2px solid var(--brand-primary);
  padding: .75rem 2rem;
  font-weight: 600;
  border-radius: 2rem;
  transition: var(--transition-base);
}
.btn-brand:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-brand {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  padding: .75rem 2rem;
  font-weight: 600;
  border-radius: 2rem;
  transition: var(--transition-base);
}
.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
section { padding: var(--offset) 0; }
.section-padding { padding: var(--offset) 0; }
.section-header { margin-bottom: 3rem; }
.section-title { font-size: 2.5rem; margin-bottom: .5rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-dark); max-width: 60rem; margin: 0 auto; }
.divider {
  width: 80px;
  height: 4px;
  background: var(--brand-secondary);
  border-radius: 2px;
  margin: 1rem auto;
}
.card {
  border: none;
  border-radius: 1rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-img-top { border-radius: 1rem 1rem 0 0; }
.card-body { padding: 2rem; }
.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(27,67,50,.9), rgba(27,67,50,.6));
}
.hero-content { position: relative; z-index: 2; color: var(--text-light); }
.hero-content h1, .hero-content p { color: var(--text-light); }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  padding: .5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 1.5rem;
}
.hero-stats { margin-top: 3rem; }
.hero-stats .stat {
  background: rgba(255,255,255,.1);
  padding: 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
}
.hero-stats .stat h3 { color: var(--brand-accent); margin-bottom: .25rem; }
.hero-stats .stat p { color: var(--text-light); margin-bottom: 0; }
.page-header {
  background-size: cover;
  background-position: center;
  padding: 8rem 0 4rem;
  position: relative;
  color: var(--text-light);
}
.page-header h1 { color: var(--text-light); }
.breadcrumb {
  background: rgba(255,255,255,.15);
  padding: .5rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  backdrop-filter: blur(6px);
}
.breadcrumb a, .breadcrumb-item.active { color: var(--text-light); }
.carousel-item { min-height: 80vh; background-size: cover; background-position: center; }
.carousel-caption {
  text-align: left;
  bottom: 35%;
  left: 10%;
  max-width: 600px;
}
.carousel-caption h1 { color: var(--text-light); font-size: 3.5rem; }
.carousel-caption p { color: var(--text-light); font-size: 1.2rem; }
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-accent);
  border-top: 0;
  border-bottom: 0;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(27,67,50,.5);
  border-radius: 50%;
  padding: 2rem;
}
.carousel-control-prev,
.carousel-control-next { width: 5%; }
.portfolio-item { overflow: hidden; border-radius: 1rem; }
.portfolio-item img { transition: transform .6s ease; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,67,50,.7);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.testimonial-card {
  background: var(--brand-light);
  border-radius: 1rem;
  padding: 2rem;
}
.testimonial-card i { color: var(--brand-accent); font-size: 2rem; }
.testimonial-card .fa-quote-left { font-size: 3rem; color: var(--brand-secondary); }
.testimonial-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.partner-logo {
  filter: grayscale(100%);
  opacity: .7;
  transition: var(--transition-base);
}
.partner-logo:hover { filter: none; opacity: 1; }
.contact-form .form-control {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid #e9ecef;
  transition: var(--transition-base);
}
.contact-form .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 .25rem rgba(45,106,79,.1);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.map-embed {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-embed iframe { width: 100%; height: 450px; border: 0; display: block; }
.footer { background: var(--brand-dark); color: var(--text-light); padding: 4rem 0 2rem; }
.footer h5 { color: var(--brand-accent); margin-bottom: 1.5rem; }
.footer a { color: var(--text-light); }
.footer a:hover { color: var(--brand-accent); text-decoration: underline; }
.footer .contact-info li { margin-bottom: .75rem; }
.footer .contact-info i {
  background: rgba(255,255,255,.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: .9rem;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27,67,50,.95);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--brand-accent);
  box-shadow: 0 -5px 20px rgba(0,0,0,.3);
}
.cookie-banner p { margin-bottom: 0; flex: 1 1 auto; min-width: 280px; }
.cookie-banner .btn { margin-left: 1rem; white-space: nowrap; }
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  background: var(--brand-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: slideInRight .3s ease;
}
.notification.error { background: #dc3545; }
.notification.success { background: var(--brand-primary); }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.aos-init { opacity: 1 !important; }

.feature-box {
  text-align: center;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition-base);
}
.feature-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-box .icon {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
}
.feature-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.pricing-card {
  border-radius: 1rem;
  background: #ffffff;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.pricing-card:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  background: var(--brand-dark);
  color: var(--text-light);
}
.pricing-card.featured h4, .pricing-card.featured .price { color: var(--brand-accent); }
.price { font-size: 2.5rem; font-weight: 800; color: var(--brand-primary); }
.pricing-card.featured .btn-brand { background-color: var(--brand-accent); color: var(--brand-dark); border-color: var(--brand-accent); }
.accordion-button:not(.collapsed) {
  background-color: var(--brand-light);
  color: var(--brand-dark);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--brand-secondary); }
.accordion-item { border: 1px solid var(--brand-light); border-radius: 1rem !important; overflow: hidden; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: -60px auto 1rem; border: 5px solid white; box-shadow: var(--shadow-md); }
.team-card { padding-top: 60px; }
.cta-section {
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,67,50,.8);
}
.cta-content { position: relative; z-index: 1; }
.faq-section { background: var(--brand-light); }

@media (max-width: 768px) {
  :root { --offset: 3rem; }
  .carousel-item { min-height: 60vh; }
  .carousel-caption { left: 5%; right: 5%; }
  .carousel-caption h1 { font-size: 2rem; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-banner .btn { margin-left: 0; margin-top: 1rem; }
  .hero-stats .stat { padding: 1rem; }
}
/* Footer heading contrast fix */
footer h6 { color: #ffffff !important; }

/* Ensure dark hero/CTA sections have a solid dark fallback background */
section.hero,
section[data-photo-slug="about-philosophy-bg"],
section[data-photo-slug="about-cta-bg"] {
  background-color: #0d1f17;
}

/* Footer heading contrast fix on dark background */
footer h6.fw-bold { color:#ffffff !important; }
/* Improve badge text contrast on light backgrounds */
.badge.text-success { color:#0d5c34 !important; }
.badge.text-warning { color:#7a5b00 !important; }
/* Ensure static cookie banner stays visible above other elements */
.static-cookie-banner { box-sizing:border-box; max-width:1120px; }

/* Price page: define custom properties used by inline styles */
:root{--acc:#1B5E3B;--acc-soft:#E8F1EC;--gold:#C9A96A;--dark:#102A1E}

/* Price page: pill badge needs white text on dark background */
.badge-pill-custom{background:#14532D;color:#fff}

/* Price page: hero buttons need solid white styles (not defined in base css) */
.btn-white{background:#ffffff;color:#111111;border-radius:50rem;padding:.9rem 2.2rem;font-weight:600;border:0}
.btn-white:hover{color:#111111;background:#ffffff;transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.3)}
.btn-outline-white{border:2px solid #ffffff;color:#ffffff;border-radius:50rem;padding:.85rem 2rem;font-weight:600;background:transparent}
.btn-outline-white:hover{background:#ffffff;color:#111111}

/* Price page: featured pricing cards and gold buttons resolve once --gold is set */
.pricing-card.featured{background:linear-gradient(145deg,#14532D,#1F6B42);color:#fff;border:0}
.pricing-card.featured .btn{background:var(--gold);border:0;color:#102A1E}

/* Price page: CTA section needs a solid dark fallback background */
section[data-photo-slug="price-cta"]{background-color:#102A1E}

/* Price page: featured cards need a solid dark background for text contrast */
.pricing-card.featured{background:#1F6B42 !important;color:#ffffff}

/* Cookie banner: fix reject button contrast on dark banner background */
.cookie-banner .btn-outline-brand {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent !important;
}
.cookie-banner .btn-outline-brand:hover {
  background: #ffffff !important;
  color: #1b4332 !important;
}
.cookie-banner .btn-brand {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #1b4332 !important;
}
.cookie-banner .btn-brand:hover {
  background: #d8f3dc !important;
  border-color: #d8f3dc !important;
  color: #1b4332 !important;
}

/* Cookie banner reject button contrast on dark banner */
.cookie-banner .btn-outline-brand,
.static-cookie-banner .btn-outline-brand {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent !important;
}
.cookie-banner .btn-outline-brand:hover,
.static-cookie-banner .btn-outline-brand:hover {
  background: #ffffff !important;
  color: #1b4332 !important;
}
/* Ensure the static cookie banner is visible above all other content */
.cookie-banner.static-cookie-banner,
#cookieBanner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483000 !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Thank-you page: solid dark fallback background for the "Stay Connected" CTA */
section[data-photo-slug="thank-you-cta-bg"] { background-color: #0d1f17; }

/* Cookie banner: ensure buttons have sufficient contrast on dark background */
.cookie-banner .btn-outline-brand,
.cookie-banner .reject-cookies {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent;
}
.cookie-banner .btn-outline-brand:hover,
.cookie-banner .reject-cookies:hover {
  background: #ffffff;
  color: #102A1E !important;
}

/* Wedding & Event Floristry page: solid dark fallback backgrounds for text contrast */
.contact-sec { background-color: #102A1E !important; }
.contact-card { background: rgba(16,42,30,.94) !important; backdrop-filter: none !important; }
.badge-pill-custom { background: #14532D !important; color: #fff !important; }
