/* Arcana Equilibria - Vintage Retro CSS
   Brand: Retro/Vintage Venetian wellness
   Author: Senior CSS Developer & UI Designer
*/

/* ===========
  CSS RESET & BASE
=========== */
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #EBECE4;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #174D4D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BF8D30;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
  font-size: 1rem;
}
li {
  margin-bottom: 0.5em;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Montserrat:wght@400;500;700&display=swap');
:root {
  --color-primary: #174D4D;
  --color-secondary: #BF8D30;
  --color-accent: #EBECE4;
  --color-text-dark: #222;
  --color-text-light: #EBECE4;
  --color-muted: #7B6C52;
  --color-bg-vintage: #F7F4E7;
  --color-pattern: #E6DDC1;
  --font-display: 'Cormorant Garamond', Garamond, serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  /* Shadows for retro effect */
  --shadow-soft: 0 2px 12px rgba(31, 21, 7, 0.08);
  --shadow-card: 0 4px 20px 0 rgba(194, 170, 87, 0.09);
  --radius-soft: 16px;
  --radius-card: 10px;
  --transition-btn: background 0.16s, box-shadow 0.16s, color 0.13s;
}

/* =========
  TYPOGRAPHY
========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  text-shadow: 1px 2px 0 #e6ddc1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  border-bottom: 2px dotted var(--color-secondary);
  display: inline-block;
  padding-bottom: 6px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 9px;
}
body, p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 0.8em;
}
blockquote {
  background: var(--color-pattern);
  font-family: var(--font-display);
  font-style: italic;
  border-left: 4px solid var(--color-secondary);
  margin: 24px 0;
  padding: 16px 20px 16px 26px;
  border-radius: var(--radius-soft);
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}
em {
  font-style: italic;
  color: var(--color-muted);
}

/* =========
 VINTAGE RETRO STYLES
========== */
body {
  background-color: var(--color-bg-vintage);
  /* vintage subtle pattern -- can swap for SVG texture if needed */
  background-image: repeating-linear-gradient(135deg, #F7F4E7 0px, #F7F4E7 40px, #e6ddc1 41px, #e6ddc1 48px);
  background-size: 80px 80px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-soft);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-card);
  /* subtle retro border */
  border: 2px solid var(--color-pattern);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
}

/* ===========
HEADER & NAVBAR
============ */
header {
  background: var(--color-primary);
  padding: 0;
  border-bottom: 3px solid var(--color-secondary);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 46px;
  margin-right: 24px;
}
nav.main-nav {
  display: flex;
  gap: 24px;
}
nav.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.09rem;
  padding: 5px 8px;
  border-radius: 3px;
  transition: background 0.2s, color 0.16s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cta-btn {
  background: var(--color-secondary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 10px 34px;
  border-radius: 40px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 0 #e8ddb7, var(--shadow-soft);
  margin-left: 20px;
  letter-spacing: 0.04em;
  transition: var(--transition-btn);
  cursor: pointer;
  text-shadow: 0 1px 0 #bfa8858e;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-secondary);
  box-shadow: 0 6px 8px -2px #c2aa5730;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-accent);
  font-size: 2rem;
  padding: 9px 18px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 13px;
  z-index: 201;
  display: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 3px 7px 0 #bfa88525;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
  outline: none;
  box-shadow: 0 8px 14px -4px #174d4d30;
}

/* ===========
MOBILE MENU
============ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 4px 0 24px 0 #174d4d36;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: var(--color-secondary);
  color: var(--color-accent);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 8px 17px;
  z-index: 1001;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff1d4;
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 46px 36px 24px 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  padding: 10px 0 8px 0;
  border-bottom: 1px dotted var(--color-secondary);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

/* ===============
FOOTER
=============== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 32px 0 22px 0;
  margin-top: 68px;
  border-top: 3px solid var(--color-secondary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
footer img {
  height: 36px;
}
.footer-nav {
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
footer p {
  flex-basis: 100%;
  color: var(--color-accent);
  opacity: 0.86;
  margin-top: 11px;
  font-size: 0.96rem;
  text-align: left;
}

/* ==============
   FLEXBOX PATTERNS
============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-card);
  background: #fffbe8;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-pattern);
  padding: 20px 24px;
  transition: box-shadow 0.18s, background 0.15s;
}
.card:hover, .card:focus-within {
  background: #fff7d7;
  box-shadow: 0 8px 24px 0 #bfa88523, var(--shadow-card);
}
.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;
  background: #fffde8;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 14px 0 rgba(194, 170, 87, 0.10);
  border: 2px solid var(--color-secondary);
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
}
.testimonial-card p {
  color: #332e20;
  font-size: 1.02rem;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.55;
  flex: 1 1 180px;
}
.testimonial-card span {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==========
   SPECIAL LISTS
========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-grid li {
  background: #f3efe1;
  border: 2px solid var(--color-pattern);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 24px 0 #bfa8850c;
  padding: 28px 24px 19px 24px;
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 320px;
  text-align: left;
  align-items: flex-start;
  transition: box-shadow 0.14s, border 0.14s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-grid li:hover {
  border: 2px solid var(--color-secondary);
  box-shadow: 0 7px 28px 0 #bfa88524, 0 2px 4px #f9e3c610;
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
  filter: sepia(.36) brightness(.92);
}
.feature-grid h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.16rem;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 28px 0;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}
.service-list li {
  background: #fffef8;
  border: 2px dashed var(--color-secondary);
  border-radius: var(--radius-card);
  padding: 26px 20px 18px 20px;
  box-shadow: 0 3px 24px 0 #bfa8850a;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 276px;
  position: relative;
  transition: border 0.18s, box-shadow 0.18s;
}
.service-list li:hover {
  border-color: var(--color-primary);
}
.service-list h3 {
  font-size: 1.13rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-family: var(--font-display);
}
.service-list .price {
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--color-secondary);
  position: absolute;
  bottom: 16px;
  right: 18px;
}

/* Map placeholder */
.map-placeholder {
  margin: 14px 0 0 0;
  padding: 20px 18px;
  background: #F7F4E7;
  border: 1px dashed var(--color-secondary);
  border-radius: 8px;
  font-size: 1.07rem;
  color: var(--color-muted);
  font-family: var(--font-display);
  opacity: .88;
}

/* =============
   SECTION LAYOUTS
============= */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
main section:last-child {
  margin-bottom: 0;
}

/* Responsive Alignment (Mobile-first) */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 22px 5px 27px 5px;
    margin-bottom: 38px;
  }
  .content-wrapper, .content-grid, .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .feature-grid li, .service-list li {
    max-width: 100%;
    min-width: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav, .cta-btn {
    display: none !important;
  }
  footer .container {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Ensure minimal spacing between all cards, sections, blocks */
.card, .feature-grid li, .service-list li, .testimonial-card {
  margin-bottom: 20px !important;
}
.section, section {
  margin-bottom: 60px !important;
}

/* ===============
  BUTTONS + INTERACTIONS
=============== */
button, .cta-btn {
  cursor: pointer;
  outline: none;
  border: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}

/* Micro-interactions */
a, .cta-btn, button {
  transition: background 0.14s, color 0.13s, box-shadow 0.13s;
}

/* ================
 COOKIE CONSENT BANNER
================ */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff4d5;
  color: #322F1E;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 18px 20px 18px;
  gap: 22px;
  box-shadow: 0 -4px 20px 0 #bfa8851c;
  border-top: 2px solid var(--color-secondary);
  font-size: 1.019rem;
  font-family: var(--font-body);
  animation: slideInUp 0.37s cubic-bezier(.72,0,.38,1);
}
.cookie-banner__text {
  max-width: 540px;
  flex: 1 1 300px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-banner button {
  font-family: var(--font-display);
  border-radius: 32px;
  padding: 8px 20px;
  font-size: 1rem;
  margin: 0 1px 3px 0;
  border: 2px solid var(--color-secondary);
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 1px 2px #f5e9c8ae;
  transition: var(--transition-btn);
}
.cookie-banner .btn-reject {
  background: #fff;
  color: var(--color-secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-secondary);
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #fff5e0;
  color: var(--color-primary);
}

@media (max-width: 648px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 18px 6px 12px 6px;
    font-size: .99rem;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 11px;
    flex-wrap: wrap;
  }
}
@keyframes slideInUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35, 29, 13, 0.76);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  display: none;
  animation: fadeInBg 0.22s cubic-bezier(.62,0,.49,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInBg { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal__content {
  background: #fff9ee;
  border: 2px solid var(--color-secondary);
  border-radius: 21px;
  box-shadow: 0 6px 31px 0 #bfa88541;
  padding: 36px 28px 24px 28px;
  min-width: 306px;
  max-width: 92vw;
  color: var(--color-primary);
  font-family: var(--font-body);
  animation: popInFade 0.18s ease-in;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@keyframes popInFade {
  0% { transform: scale(0.88); opacity: 0.5; } 
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal__content h2 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
  color: var(--color-secondary);
  border-bottom: 1px solid #e6ddc1;
  padding-bottom: 5px;
}
.cookie-modal__close {
  position: absolute;
  top: 19px;
  right: 26px;
  background: #fff9ee;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
  border-radius: 50%;
  font-size: 1.49rem;
  padding: 0 9px;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 1.07rem;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  color: var(--color-primary);
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: var(--color-secondary);
  width: 1.13em;
  height: 1.13em;
}
.cookie-modal .cookie-category.essential label {
  font-weight: 700;
  color: var(--color-secondary);
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  font-family: var(--font-display);
  border-radius: 32px;
  padding: 8px 20px;
  font-size: 1rem;
  border: 2px solid var(--color-secondary);
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 1px 2px #f5e9c8ae;
  transition: var(--transition-btn);
}
.cookie-modal__actions .btn-secondary {
  background: #fffbe8;
  color: var(--color-secondary);
}
.cookie-modal__actions button:hover, .cookie-modal__actions button:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-secondary);
}
.cookie-modal__actions .btn-secondary:hover, .cookie-modal__actions .btn-secondary:focus {
  background: #fff1cd;
  color: var(--color-primary);
}
@media (max-width: 520px) {
  .cookie-modal__content {
    padding: 17px 7vw 11px 7vw;
    min-width: 40vw; max-width: 99vw;
  }
  .cookie-modal__close {
    top: 8px; right: 14px;
  }
}

/* ================
  FORMS / INPUT
================ */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 8px 10px;
  border: 2px solid var(--color-pattern);
  border-radius: 7px;
  background: #fffdf7;
  margin-bottom: 14px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-secondary);
  outline: none;
}
label {
  font-family: var(--font-display);
  font-size: 1.03rem;
  color: var(--color-primary);
}

/* ========
  PATTERN BORDERS/ELEMENTS (Retro Touches)
======== */
hr {
  border: none;
  border-top: 2px dotted var(--color-secondary);
  margin: 32px 0;
}

/* ================
  PAGE-SPECIFIC
================ */
.price {
  font-family: var(--font-display);
  color: var(--color-secondary);
}

/* ================
 ACCESSIBILTY COLOR (TESTIMONIAL/REVIEWS)
================ */
.testimonial-card p, .testimonial-card span {
  color: #232018;
}
.testimonial-card {
  background: #fffde8;
  color: #232018;
  /* Ensure high contrast for readability */
}

/***************
 Retrowave CLASSES (for some flavor) 
***************/
.retro-border {
  border: 3px double var(--color-secondary) !important;
  border-radius: var(--radius-card);
  background: #f6ecd6;
  box-shadow: 0 4px 16px #e1e1c1aa, 0 2px 1px #fff7d7;
}
.retro-underline {
  text-decoration: underline wavy var(--color-secondary) 2px;
}
.nostalgic-bg {
  background-color: #f9efdb;
}

/* ===============
  PRINT
=============== */
@media print {
  nav, .cta-btn, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .section, .card, .feature-grid li, .service-list li, .testimonial-card { background: none; box-shadow: none; border: none; }
}
