/* === CSS Reset & Normalize === */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-size: 16px;
  background: #f2f0e6;
  color: #2D2324;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
}
img, video {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* === Vintage Retro Brand Colors (Frosted Logic Fit + era-appropriate tweaks) === */
:root {
  --color-primary: #1F3557; /* Deep navy */
  --color-secondary: #eba051; /* Retro orange accent */
  --color-accent: #ffdcb7; /* Creamy vintage background */
  --color-base-bg: #f2f0e6; /* paper-like */
  --color-brand-aqua: #2EC4B6; /* Brand's original accent */
  --color-highlight: #9E4770; /* Retro purple highlight */
  --color-success: #4FC28F;
  --color-warning: #D4B000;
  --color-error: #B3584C;
  --color-dark-text: #1F1C20;
  --color-light-bg: #FFF8F3;
  --color-border: #d5b187;
}

/* === Vintage Retro Typography === */
@import url('https://fonts.googleapis.com/css?family=Oswald:700|Roboto:400,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--color-base-bg);
  color: var(--color-dark-text);
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 0 1px 0 #ffe9c6;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 #ffe9c6;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
}
p, li, address {
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  color: var(--color-secondary);
  font-weight: bold;
  letter-spacing: 0.03em;
}

/* === Layout Containers (Flex Only!) === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(52,40,28,0.07);
}

/* Spacing + Card Containers */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light-bg);
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(52,40,28,0.08);
  position: relative;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 2px 24px 0 rgba(52,40,28,0.18);
}
.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: var(--color-light-bg);
  border: 2px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(52,40,28,0.07);
  min-width: 240px;
  color: var(--color-dark-text);
  max-width: 480px;
}
.testimonial-card .star-ratings {
  color: var(--color-secondary);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--color-primary);
  opacity: 0.85;
  font-family: 'Oswald', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.main, main {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* === Header & Navigation === */
header {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 78px;
  position: relative;
}
header a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  transition: color 0.2s;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
}
.logo {
  font-size: 2.1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
}

.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.06rem;
  font-family: 'Oswald', Arial, sans-serif;
  border-radius: 50px;
  padding: 11px 28px;
  box-shadow: 0 2px 8px 0 rgba(52,40,28,0.10);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.18s;
  margin-left: 18px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-brand-aqua);
  color: #1F3557;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 18px 0 rgba(46,196,182,0.08);
}

/* === Hamburger & Mobile Nav === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: border 0.17s, background 0.17s;
  z-index: 101;
  margin-left: 13px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff0e1;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-base-bg);
  box-shadow: 0 4px 36px 0 rgba(0,0,0,0.26);
  transform: translateX(-120vw);
  transition: transform 0.36s cubic-bezier(0.5,0.1,0.2,1);
  padding: 0 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  align-self: flex-end;
  margin-top: 18px;
  margin-bottom: 18px;
  cursor: pointer;
  z-index: 210;
  transition: color 0.14s;
}
.mobile-menu-close:hover {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}
.mobile-nav a {
  padding: 14px 0 14px 4px;
  font-size: 1.15rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--color-primary);
  border-bottom: 1px solid #e7dabd;
  transition: background 0.13s, color 0.13s;
  border-radius: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 990px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  header nav {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media (max-width: 840px) {
  .content-wrapper {
    gap: 14px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  header nav {
    gap: 6px;
  }
}

@media (max-width: 885px) {
  header .container { flex-direction: row; gap: 15px; }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 14px 8px;
  }
  .section {
    margin-bottom: 34px;
    padding: 23px 6px;
  }
  header nav {
    display: none;
  }
  .cta-btn { margin-left: 8px; }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    padding-top: 24px;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === Hero + Features Section === */
.hero {
  background: var(--color-accent) url('../assets/pattern-vintage-01.png') repeat top left;
  border-radius: 0 0 55px 55px / 0 0 24px 24px;
  box-shadow: 0 2px 36px 0 rgba(31,53,87,0.14);
  min-height: 270px;
  margin-bottom: 40px;
  padding: 64px 0 32px 0;
  display: flex;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  text-shadow: 1px 2px 0 #ffe5b0;
}
.hero p {
  font-size: 1.17rem;
  color: var(--color-dark-text);
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 22px 22px/
      0 0 9px 9px;
    min-height: 75px;
    padding: 30px 0 12px 0;
  }
  .hero h1 {font-size: 1.38rem;}
}

.features {
  background: var(--color-light-bg) url('../assets/pattern-vintage-02.png') repeat top left;
  border: 1.5px dashed var(--color-border);
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 38px 20px;
}
.features h2 {
  margin-bottom: 18px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 23px 30px;
  margin: 0;
}
.features ul li {
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffdcb7;
  color: var(--color-primary);
  border-radius: 10px;
  padding: 12px 20px 10px 12px;
  box-shadow: 0 1px 4px 0 rgba(31,53,87,0.07);
}
.features ul li img {
  height: 32px;
  width: 32px;
  filter: sepia(0.38) hue-rotate(16deg) brightness(1.07);
}
@media (max-width: 700px) {
  .features ul {
    flex-direction: column;
    gap: 11px;
  }
}

/* === Service Cards & Lists === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  justify-content: center;
}
.service-card {
  background: var(--color-light-bg);
  border: 2px solid var(--color-border);
  border-radius: 17px;
  box-shadow: 0 2px 10px 0 rgba(46,196,182,0.08);
  padding: 26px 24px 18px 24px;
  min-width: 240px;
  max-width: 329px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 20px;
  transition: transform 0.14s, box-shadow 0.15s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 12px 38px 0 rgba(46,196,182,0.17);
  transform: scale(1.035) rotate(-1.2deg);
  z-index: 4;
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--color-highlight);
  margin-bottom: 5px;
  font-family: 'Oswald', Arial, sans-serif;
  text-shadow: 0 1px 0 #ffe9c6;
}
.service-card .price {
  margin-top: 6px;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

/* === Pricing Table === */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 1px 12px 0 rgba(31,53,87,0.10);
  margin-bottom: 30px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 13px 17px;
  border-bottom: 1px solid #ecd8bb;
  font-size: 1.07rem;
}
.pricing-table thead th {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.17rem;
  border-bottom: 2px solid #bb8736;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* === Package comparisons ul ===*/
.package-comparisons ul,
.workshop-examples ul {
  padding-left: 18px;
  margin-bottom: 13px;
}
.package-comparisons li, .workshop-examples li {
  list-style: square inside;
  color: var(--color-highlight);
  margin-bottom: 6px;
  background: none;
  padding-left: 0;
}

/* === Legal/Confirmation Page Styling === */
.legal, .confirmation, .contact-info {
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: 0 2px 18px 0 rgba(31,53,87,0.09);
  margin-bottom: 60px;
  padding: 38px 20px;
}
.text-section {
  margin-bottom: 18px;
}
.text-section ul {
  margin-left: 16px;
  margin-bottom: 13px;
}
.text-section li {
  margin-bottom: 8px;
  list-style: disc;
  color: var(--color-primary);
}

/* === CTA & Contact === */
.cta {
  background: var(--color-secondary);
  color: #fff;
  padding: 36px 0 23px 0;
  border-radius: 19px;
  text-align: center;
  margin-bottom: 50px;
}
.cta h2,
.cta .cta-btn {
  color: #fff;
}

.contact {
  background: var(--color-accent);
  border-radius: 19px;
  box-shadow: 0 2px 16px 0 rgba(31,53,87,0.09);
  margin-bottom: 60px;
  padding: 32px 12px;
}
.contact a {
  color: var(--color-highlight);
  transition: color 0.13s;
}
.contact a:hover {
  color: var(--color-secondary);
}

/* === Footer === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 28px 0 15px 0;
  min-height: 80px;
  border-radius: 24px 24px 0 0 / 13px 13px 0 0;
  position: relative;
  font-size: 0.98rem;
  box-shadow: 0 -1px 18px 0 rgba(63,49,34,0.09);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 19px;
  margin-bottom: 4px;
}
footer nav a {
  color: var(--color-accent);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.04rem;
  transition: color 0.13s;
}
footer nav a:hover { color: var(--color-secondary); }
footer p {
  opacity: 0.91;
  font-size: 0.97rem;
}
@media (max-width:600px) {
  footer .container { align-items: flex-start; }
  footer nav { flex-direction: column; gap: 4px; }
}


/* === Cookie Consent Banner & Modal === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff7ea;
  color: var(--color-dark-text);
  box-shadow: 0 -2px 24px 0 rgba(63,49,34,0.13);
  border-top: 2px solid var(--color-border);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px 20px;
  font-size: 1rem;
  animation: cookieBannerIn 0.7s cubic-bezier(0.67,0.08,0.28,1) both;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  margin-left: auto;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  padding: 9px 23px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.18s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 4px 0 rgba(31,53,87,0.08);
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--color-brand-aqua); color: #1F3557; }
.cookie-banner .settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .settings:hover {
  background: var(--color-secondary);
  color: #fff8e4;
}
.cookie-banner .reject {
  background: #e9bba2;
  color: #8e3d3d;
}
.cookie-banner .reject:hover { background: #cf8080; color: #fff; }

@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; gap: 14px; align-items: stretch; font-size: 0.97rem; padding: 15px 7px; }
  .cookie-banner .cookie-btns { justify-content: flex-start; margin-left: 0; }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  z-index: 10010;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(31,27,24, 0.52);
  display: none;
  align-items: center;
  justify-content: center;
  animation: none;
}
.cookie-modal.open {
  display: flex;
  animation: modalFadeIn 0.3s cubic-bezier(0.7,0.2,0.24,1) both;
}
@keyframes modalFadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal-content {
  background: var(--color-light-bg);
  color: var(--color-dark-text);
  border-radius: 25px;
  box-shadow: 0 8px 62px 0 rgba(31,53,87,0.22);
  padding: 36px 28px 29px 28px;
  max-width: 400px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: popIn 0.23s cubic-bezier(0.54,0.03,0.44,1.04);
}
@keyframes popIn {
  0% { transform: scale(0.8) rotate(-6deg); opacity: 0;}
  70% { transform: scale(1.12) rotate(3deg); opacity: 1;}
  100% { transform: scale(1);}
}
.cookie-modal-content h2 {
  margin-bottom: 9px;
  color: var(--color-primary);
  font-size: 1.32rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-dark-text);
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}
.cookie-btn-bar {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-btn-bar button {
  padding: 9px 18px;
  border-radius: 23px;
  border: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cookie-btn-bar button.close-modal {
  background: #e0b677;
  color: #633f1b;
}
.cookie-btn-bar button.close-modal:hover {
  background: #efd9a6;
  color: #373224;
}

@media (max-width: 420px) {
  .cookie-modal-content {padding: 18px 8px 18px 8px; font-size: 0.94rem;}
}

/* === Scrollbar Styling (subtle retro) === */
body::-webkit-scrollbar {
  width: 10px;
  background: #efe6e2;
}
body::-webkit-scrollbar-thumb {
  background: #ffdcb7;
  border-radius: 8px;
}

/* ===Micro-interactions & Transitions=== */
a, button, .service-card, .cta-btn, .mobile-menu, .cookie-banner {
  transition: box-shadow 0.18s, background 0.15s, color 0.13s, transform 0.13s;
}
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2.5px;
  z-index: 2;
}

/* === Subtle Dividers/Patterns (if needed) === */
hr {
  border: none;
  border-top: 1.5px dotted #e4ad73;
  margin: 24px 0 14px 0;
}

/* === Accessibility: Good Contrast for Testimonials/Legal === */
.testimonials, .testimonial-card, .legal, .confirmation {
  color: var(--color-dark-text);
  background: var(--color-light-bg);
}

/* --- Hide scrollbar on modals for background --- */
body.modal-open {
  overflow: hidden;
}

/* === Misc Utility Classes (spacing / retro) === */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.pt-2 { padding-top: 16px; }
.pb-2 { padding-bottom: 16px; }

/* --- Vintage patterns for section backgrounds (example asset paths) --- */
.section-vintage {
  background-image: url('../assets/pattern-vintage-03.png');
  background-repeat: repeat;
  background-size: auto 80px;
}

/* === End. === */
