/* Reset & Base Styles */
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,
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,
main, 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;
}
footer p {
  color: white;
}
article, aside, details, figcaption, figure,footer,header,hgroup,main,menu,nav,section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { vertical-align: middle; max-width: 100%; border: none; }
button, input, select, textarea { font-family: inherit; font-size: 100%; outline: none; }
button { background: none; border: none; cursor: pointer; }

/* Brand Fonts */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --color-primary: #254259;
  --color-secondary: #7EA8BE;
  --color-accent: #F2EDE7;
  --color-dark: #151d26;
  --color-white: #fff;
  --color-shadow: rgba(37, 66, 89, 0.07);
  --color-shadow-strong: rgba(37, 66, 89, 0.12);
  --transition-main: 0.25s cubic-bezier(.4,.2,.2,1);
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary) 50%, var(--color-primary) 120%);
  min-height: 100vh;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  transition: background 0.6s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; font-weight: 900; color: var(--color-primary); margin-bottom: 18px; }
h2 { font-size: 1.8rem; font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }

p, li, span {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  line-height: 1.58;
}

strong { font-weight: 700; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section, .hero, .about-section, .newsletter-section, .privacy-policy-section,
.gdpr-section, .terms-section, .cookie-policy-section, .contact-section, .thank-you-section, .service-overview, .map-section, .review-list, .events, .features-section, .collections, .services, .newsletter {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 2px 24px var(--color-shadow);
  box-sizing: border-box;
  transition: box-shadow var(--transition-main);
}

/* HERO Section (Gradient Modern Style) */
.hero {
  background: linear-gradient(110deg, var(--color-accent) 70%, var(--color-secondary) 100%);
  box-shadow: 0 2px 32px var(--color-shadow-strong);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.hero .container { display: flex; justify-content: center; }
.hero .content-wrapper { align-items: center; text-align: center; }
.hero h1 {
  color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-primary) 70%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
  text-fill-color: transparent;
}
.hero .subheadline {
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--color-primary);
  margin-bottom: 20px;
  margin-top: 2px;
  font-weight: 400;
}

/* Header & Navigation */
header {
  width: 100%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  box-shadow: 0 2px 16px var(--color-shadow);
  z-index: 100;
  position: sticky;
  top: 0;
}
.logo img { height: 48px; margin: 9px 0 9px 12px; transition: filter 0.2s; }
.logo:hover img { filter: brightness(1.1) grayscale(0.1) drop-shadow(0 2px 8px #25425920); }

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-right: 20px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 12px;
  color: var(--color-primary);
  border-radius: 8px;
  transition: background var(--transition-main), color var(--transition-main);
  position: relative;
}
.main-nav a:hover:not(.cta-primary) {
  background: var(--color-secondary);
  color: var(--color-white);
}
.main-nav .cta-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
  padding: 7px 20px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  transition: background var(--transition-main), color var(--transition-main), transform 0.15s;
  box-shadow: 0 1px 8px var(--color-shadow-strong);
}
.main-nav .cta-primary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,66,89,0.97);
  z-index: 3100;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(.8,.3,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 18px 0 18px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: auto;
  font-size: 2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  margin-bottom: 24px;
  transition: color 0.15s;
  z-index: 3200;
}
.mobile-menu-close:hover { color: var(--color-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.25rem;
  padding: 10px 2px 10px 0;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav a.cta-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-top: 18px;
  border-radius: 20px;
  text-align: center;
  display: block;
}

/* ============= SECTION LAYOUTS ============= */
.section, .about-section,
.features, .services, .service-overview, .newsletter, .newsletter-section,
.recommendations, .collections, .events, .review-list, .map-section, .thank-you-section,
.privacy-policy-section, .terms-section, .gdpr-section, .cookie-policy-section,.contact-section, .features-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 4px 22px var(--color-shadow-strong);
}

/* Feature Grid (Home Page) */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.features .feature-grid li {
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--color-shadow);
  flex: 1 1 210px;
  min-width: 210px;
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.features .feature-grid li:hover {
  box-shadow: 0 8px 28px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.025);
}
.features .feature-grid img {
  height: 46px;
  margin-bottom: 6px;
  filter: none;
}
.features .feature-grid h3 { font-size: 1.18rem; margin-bottom: 0; }

/* SERVICE LIST (Home) */
.services .service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 18px 0;
}
.services .service-list li {
  background: var(--color-accent);
  border-radius: 10px;
  padding: 16px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 6px;
}

/* Collection List */
.collection-list {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.collection-list li {
  background: var(--color-accent);
  border-radius: 10px;
  padding: 16px 14px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.collection-list .tags {
  font-size: 0.95em;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 2px 12px;
  border-radius: 14px;
  margin-left: 8px;
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 230px;
  padding: 24px 20px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 4px 22px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 8px 28px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.025);
}

/* Content Grid */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Text-Image Section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.text-image-section .text-section { flex: 1; }
.text-image-section img { flex: 1; border-radius: 12px; max-width: 400px; }

/* Features List */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* Testimonials */
.testimonials > .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: 0 3px 20px var(--color-shadow);
  color: var(--color-primary);
  min-width: 200px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  flex: 1 1 270px;
  flex-wrap: wrap;
  position: relative;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.06rem;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  margin-left: auto;
}

/* ============= BUTTONS / CTAs ============= */
.cta-primary, .cta-secondary {
  display: inline-block;
  border: none;
  outline: none;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 8px var(--color-shadow-strong);
  transition: background var(--transition-main), color var(--transition-main), transform 0.15s;
  cursor: pointer;
  margin-top: 12px;
}
.cta-primary {
  background: linear-gradient(92deg, var(--color-primary) 70%, var(--color-secondary) 130%);
  color: var(--color-accent);
}
.cta-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cta-primary:hover {
  background: linear-gradient(92deg, var(--color-secondary) 70%, var(--color-primary) 120%);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.035);
}
.cta-secondary:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.035);
}

/* Forms (for newsletter/contacts if present) */
input, textarea, select {
  border-radius: 12px;
  border: 1.5px solid var(--color-secondary);
  padding: 10px 15px;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border-color var(--transition-main), box-shadow var(--transition-main);
  box-shadow: 0 2px 6px var(--color-shadow);
  background: var(--color-accent);
  color: var(--color-primary);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-secondary);
}

/* Footer Styles */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 36px 0 18px 0;
  border-radius: 24px 24px 0 0;
  margin-top: 52px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 12px;
}
footer .footer-nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-main);
}
footer .footer-nav a:hover {
  color: var(--color-secondary);
}
footer .text-section {
  text-align: center;
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1.4;
}

/* Utility Classes */
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.next-steps {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 18px 15px;
  margin-bottom: 18px;
  box-shadow: 0 1px 10px var(--color-shadow);
}
.confirmation-message {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* Spacing & Alignment Patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Responsive Design (Mobile-First) */
@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
    font-size: 0.98rem;
  }
  .container { max-width: 920px; }
  .features .feature-grid { gap: 20px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .features .feature-grid li { flex: 1 1 155px; min-width: 155px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  header { flex-direction: row; position: sticky; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    background: var(--color-primary);
    color: var(--color-accent);
    font-size: 2.1rem;
    margin: 8px 16px 7px auto;
    padding: 3px 14px 2px 14px;
    border-radius: 14px;
    z-index: 999;
  }
  .mobile-menu { display: flex; }
  .section, .about-section, .features, .services, .service-overview, .newsletter, .newsletter-section,
  .recommendations, .collections, .events, .review-list, .map-section, .thank-you-section,
  .privacy-policy-section, .terms-section, .gdpr-section, .cookie-policy-section, .contact-section, .features-section {
    padding: 30px 8px;
    border-radius: 18px;
  }
  .features .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { font-size: 1rem; }
  .newsletter-section, .section, .about-section, .hero {
    border-radius: 12px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.10rem; }
  .container { padding: 0 7px; }
  .content-wrapper { gap: 12px; }
  .section, .about-section, .features, .services, .service-overview, .newsletter, .newsletter-section,
  .recommendations, .collections, .events, .review-list, .map-section, .thank-you-section,
  .privacy-policy-section, .terms-section, .gdpr-section, .cookie-policy-section, .contact-section, .features-section {
    padding: 17px 5px;
    border-radius: 9px;
    margin-bottom: 32px;
  }
}
@media (max-width: 991px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: center;
    text-align: center;
  }
}

/* =========== COOKIE CONSENT BANNER =========== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 16px 14px 24px 14px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 18px #1112  ;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 1rem;
  animation: banner-slide-in 0.45s cubic-bezier(.43,.92,.43,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-consent-banner button {
  border: none;
  outline: none;
  border-radius: 24px;
  padding: 9px 22px;
  margin: 0 2px;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background var(--transition-main), color var(--transition-main), transform 0.12s;
  cursor: pointer;
}
.cookie-consent-banner button.accept {
  background: linear-gradient(92deg, var(--color-secondary) 70%, var(--color-primary) 120%);
  color: var(--color-accent);
}
.cookie-consent-banner button.reject {
  background: #f47373;
  color: #fff !important;
}
.cookie-consent-banner button.settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-consent-banner button:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.035) translateY(-2px);
}

/* Cookie Modal Popup */
.cookie-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 10px 34px var(--color-shadow-strong);
  z-index: 4000;
  padding: 32px 22px 22px 22px;
  min-width: 315px;
  max-width: 92vw;
  animation: modal-dropin 0.46s cubic-bezier(.43,.92,.43,1);
}
.cookie-modal.active { display: block; }
@keyframes modal-dropin {
  from { opacity: 0; transform: translate(-50%, -80%) scale(.92); }
  to { opacity: 1; transform: translate(-50%, -60%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin: 10px 0;
}
.cookie-modal .cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: var(--color-secondary);
  display: inline-block;
  position: relative;
  margin-right: 6px;
  transition: background var(--transition-main);
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: var(--color-accent);
  transition: left 0.12s, background 0.25s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  left: 19px;
  background: var(--color-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 15px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 6px 18px;
  border-radius: 18px;
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background var(--transition-main), color var(--transition-main);
}
.cookie-modal button.cookie-save {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-modal button:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* OL/UL in text-sections */
.text-section ul, .text-section ol {
  margin-left: 22px;
  list-style: disc;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.text-section li {
  font-size: 1em;
  color: var(--color-primary);
  margin-bottom: 1px;
}
.text-section ol { list-style-type: decimal; }

/* Featured Review/blockquote etc. */
.featured-review, blockquote {
  background: var(--color-accent);
  border-left: 5px solid var(--color-secondary);
  padding: 16px 20px 13px 28px;
  font-style: italic;
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 22px;
  border-radius: 10px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.featured-review span {
  display: block;
  margin-top: 7px;
  color: var(--color-secondary);
  font-size: 0.95em;
}

/* Miscellaneous Utility (for tags, badges, etc.) */
.tags, .badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 2px 12px;
  border-radius: 14px;
  font-size: 0.93em;
  margin-left: 7px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============== Microinteractions ============== */
a, button, .card, .feature-grid li, .cta-primary, .cta-secondary {
  transition: color var(--transition-main), background var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main), filter var(--transition-main);
}

.card:active, .feature-grid li:active { filter: brightness(0.97) saturate(1.08); }

/* =============== Accessibility/Contrast =============== */
.testimonial-card, .featured-review, .services .service-list li, .collection-list li, .card {
  background: var(--color-accent);
  color: var(--color-primary);
}
.testimonial-card p, .testimonial-card span {
  color: var(--color-primary);
}

/* =============== Z-Index Control ================= */
header { z-index: 1000; }
.mobile-menu { z-index: 3000; }
.cookie-modal { z-index: 4000; }
.cookie-consent-banner { z-index: 3000; }

/* =============== Hide mobile menu when inactive =============== */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
  .main-nav { display: flex !important; }
}
