/* =========================================
  CSS RESET & BASE NORMALIZATION
========================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F6F3; /* Slight off-white */
  color: #234158;
  font-family: 'Lato', Arial, sans-serif;
  min-height: 100vh;
}
a {
  color: #234158;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #97B39C;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}
button {
  cursor: pointer;
}

/* =========================================
  BRAND TYPOGRAPHY SCALE
========================================= */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: #234158;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #234158;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #234158;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #234158;
}
p, li, ul, ol, a, span, input, textarea {
  font-family: 'Lato', Arial, sans-serif;
}
p, ul li, ol li {
  color: #234158;
  font-size: 1rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.15rem;
  color: #234158;
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 600px;
}

/* =========================================
  LAYOUT & CONTAINER STYLES
========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* let inner wrappers set their gaps */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  background: #F7F6F3;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35, 65, 88, 0.04);
  padding: 32px 24px;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}
.text-section:hover {
  box-shadow: 0 4px 20px 0 rgba(35, 65, 88, 0.09);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(35,65,88,0.05);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 24px 0 rgba(35,65,88,0.12);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px 0 rgba(35,65,88,0.08);
  border-left: 5px solid #97B39C;
  color: #234158;
  max-width: 640px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px 0 rgba(35,65,88,0.15);
}
.testimonial-card p {
  color: #234158;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: #234158;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 25px;
}
.features-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35,65,88,0.05);
  padding: 26px 22px;
  flex: 1 1 260px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.21s;
  margin-bottom: 0;
}
.features-list li:hover {
  box-shadow: 0 6px 20px 0 rgba(35,65,88,0.10);
  transform: translateY(-2px) scale(1.012);
}
.features-list img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.service-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35,65,88,0.05);
  padding: 22px 18px;
  flex: 1 1 230px;
  min-width: 200px;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.17s;
}
.service-list li:hover {
  box-shadow: 0 6px 24px 0 rgba(151,179,156,0.13);
  transform: translateY(-3px) scale(1.012);
}

.process-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.process-timeline li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(151,179,156,0.08);
  padding: 24px 16px 16px 16px;
  flex: 1 1 210px;
  min-width: 180px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.14s;
}
.process-timeline li:hover {
  box-shadow: 0 4px 14px 0 rgba(35,65,88,0.10);
  transform: translateY(-1.5px) scale(1.01);
}
.process-timeline img {
  max-width: 34px;
  margin-bottom: 10px;
}

.team-member {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(151,179,156,0.07);
  padding: 28px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.team-member:hover {
  box-shadow: 0 5px 15px 0 rgba(35,65,88,0.10);
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(35,65,88,0.06);
  margin-bottom: 20px;
  padding: 18px 17px;
  transition: box-shadow 0.15s;
}
.faq-item:hover {
  box-shadow: 0 4px 12px 0 rgba(35,65,88,0.12);
}

.cta {
  background: linear-gradient(90deg,#234158 75%,#97B39C 100%);
  color: #fff;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .button-primary {
  background: #D6C3B9;
  color: #234158;
}

/* =========================================
  NAVIGATION & HEADER
========================================= */
header {
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(35,65,88,0.07);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 26px;
}
header img[alt="Phantom Bloom Weddings"] {
  width: 168px;
  min-width: 120px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  color: #234158;
  transition: background 0.19s, color 0.18s;
}
.main-nav a:hover {
  background: #D6C3B9;
  color: #234158;
}
.main-nav .button-primary {
  margin-left: 18px;
  color: #D6C3B9;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #234158;
  margin-left: 18px;
  z-index: 20;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #97B39C;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.67,.06,.41,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.7rem;
  margin: 25px 22px 10px 0;
  color: #234158;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #97B39C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
  padding: 20px 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 12px 6px 8px 0;
  color: #234158;
  font-family: 'Lato', Arial, sans-serif;
  transition: color 0.18s, background 0.20s;
  border-radius: 6px;
}
.mobile-nav a:hover {
  background: #D6C3B9;
  color: #234158;
}

/* =========================================
  HERO SECTION
========================================= */
.hero {
  width: 100%;
  background: linear-gradient(97deg, #D6C3B9 45%, #97B39C 100%);
  min-height: 340px;
  padding: 60px 0 44px 0;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero .subheadline {
  color: #234158;
}

/* =========================================
  BUTTONS & LINKS
========================================= */
.button-primary {
  display: inline-block;
  background: #234158;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 11px 32px 12px 32px;
  border: none;
  border-radius: 24px;
  margin-top: 8px;
  box-shadow: 0 1px 6px 0 rgba(35,65,88,0.09);
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, transform 0.17s;
}
.button-primary:hover, .button-primary:focus {
  background: #97B39C;
  color: #234158;
  transform: scale(1.03);
}
.button-primary:active {
  background: #D6C3B9;
  color: #234158;
}

.button-secondary {
  display: inline-block;
  background: #D6C3B9;
  color: #234158;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 24px;
  border: none;
  border-radius: 22px;
  transition: background 0.15s, color 0.18s;
}
.button-secondary:hover {
  background: #234158;
  color: #fff;
}
.button-tertiary {
  display: inline-block;
  background: transparent;
  color: #234158;
  border: 1.5px solid #97B39C;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 22px;
  transition: background 0.12s, color 0.13s;
}
.button-tertiary:hover {
  background: #97B39C;
  color: #fff;
}

/* =========================================
  FOOTER
========================================= */
footer {
  background: #234158;
  color: #fff;
  padding: 44px 0 22px 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
footer img[alt="Phantom Bloom Weddings"] {
  width: 88px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #D6C3B9;
  opacity: 0.93;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s, border-bottom 0.15s;
}
.footer-nav a:hover {
  color: #97B39C;
  border-bottom: 1.5px solid #97B39C;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.90;
  margin-bottom: 0;
}
.contact-info img {
  width: 18px;
  margin-right: 4px;
}

.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  max-width: 430px;
}
.newsletter-signup input[type="email"] {
  border-radius: 16px;
  border: none;
  padding: 8px 16px;
  font-size: 1rem;
  margin-right: 12px;
  margin-bottom: 3px;
  width: 67%;
  background: #fff;
  color: #234158;
  box-shadow: 0 1px 4px 0 rgba(35,65,88,0.03);
  transition: outline 0.12s;
}
.newsletter-signup input[type="email"]:focus {
  outline: 2px solid #97B39C;
}
.newsletter-signup button {
  background: #97B39C;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  margin-top: 0;
  transition: background 0.15s, color 0.14s;
}
.newsletter-signup button:hover {
  background: #D6C3B9;
  color: #234158;
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.social-links a {
  display: flex;
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.18s;
}
.social-links img {
  width: 20px;
  height: 20px;
}
.social-links a:hover {
  background: #97B39C;
  transform: scale(1.07);
}

/* =========================================
  RESPONSIVE DESIGN
========================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 860px;
  }
  .main-nav {
    gap: 14px;
  }
  .footer-nav {
    gap: 13px;
  }
}
@media (max-width: 830px) {
  .container {
    max-width: 96vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .features-list, .service-list, .card-container, .content-grid, .process-timeline {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
    margin-bottom: 9px;
  }
  h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .section {
    padding: 30px 6vw;
  }
  .hero {
    padding: 38px 0 18px 0;
    min-height: 200px;
    margin-bottom: 22px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 55px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-list, .service-list, .card-container, .content-grid, .process-timeline {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cta {
    padding: 34px 6vw;
  }
  footer .container {
    gap: 20px;
    padding-left: 2vw; padding-right:2vw;
    font-size: 0.95rem;
  }
  .newsletter-signup input[type="email"] {
    width: 98%;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 1vw; padding-right: 1vw;
  }
  .section {
    padding: 18px 2vw;
  }
  .content-wrapper {
    gap: 8px;
  }
  .features-list li, .service-list li, .card {
    padding: 16px 7px;
    font-size: 0.97rem;
  }
  .testimonial-card, .team-member, .faq-item {
    padding: 13px 7px;
  }
  .hero {
    padding: 17px 0 14px 0;
    min-height: 130px;
    margin-bottom: 12px;
  }
  .cta {
    padding: 17px 1vw;
  }
  nav, .footer-nav { font-size: 0.97rem; }
}

/* Layout-critical classes per flexbox-only requirement. */
.features-list,
.service-list,
.card-container,
.content-grid,
.process-timeline {
  display: flex;
  flex-wrap: wrap;
}

/* =========================================
  COOKIE CONSENT BANNER & MODAL
========================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #234158;
  box-shadow: 0 -3px 16px 0 rgba(35,65,88,0.10);
  z-index: 11100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 16px 20px 16px;
  font-size: 1rem;
  animation: cookie-banner-in 0.55s cubic-bezier(.67,.06,.41,.99);
}
@keyframes cookie-banner-in {
  from { transform: translateY(55px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner-message {
  max-width: 510px;
  color: #234158;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-banner .button-primary {
  font-size: 1rem;
  background: #234158;
  color: #fff;
}
.cookie-banner .button-secondary {
  font-size: 1rem;
}
.cookie-banner .button-tertiary {
  font-size: 1rem;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap:10px;
    font-size:0.97rem;
    align-items: flex-start;
    padding:14px 5vw 11px 5vw;
  }
  .cookie-banner-buttons {
    gap:7px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,65,88,0.27);
  z-index: 12000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fade-in 0.4s cubic-bezier(.67,.06,.41,.99);
}
@keyframes cookie-modal-fade-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #234158;
  border-radius: 16px;
  box-shadow: 0 10px 48px 0 rgba(35,65,88,0.17);
  padding: 34px 32px 32px 32px;
  width: 95vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-in 0.42s cubic-bezier(.67,.06,.41,.99);
}
@keyframes cookie-modal-in {
  from { transform: scale(.85); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 9px;
}
.cookie-modal-category label {
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #97B39C;
  width: 20px; height: 20px;
}
.cookie-modal .button-primary,
.cookie-modal .button-secondary {
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top:12px; right: 16px;
  background: none;
  border: none;
  font-size:1.45rem;
  color:#234158;
  cursor:pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover { color:#97B39C; }

/* =========================================
  HELPER CLASSES & UTILS
========================================= */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.rounded-lg { border-radius: 18px !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* =========================================
  MISCELLANEOUS: FORMATTING, MAP, ETC.
========================================= */
.map-embed {
  background: #F7F6F3;
  border-radius: 18px;
  padding: 26px;
  font-size: 1rem;
  color: #234158;
  box-shadow: 0 2px 12px 0 rgba(35, 65, 88, 0.04);
}

/* Announce Playfair Display and Lato fonts */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap');
