/* =====================================================
   Zestige Muse: Industrial Modern Flexbox CSS Framework
   Style: Industrial Modern (Dark, Urban, Metallic Accents)
   Brand: Zestige Muse | www.zesty-muffler.com
   ===================================================== */

/* -----------------------------
   1. Normalize & CSS Reset
----------------------------- */
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.45;
  background: #23222B;
  color: #F2E8CF;
}
ul,ol { list-style: none; }
input, button, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}
a {text-decoration: none; color: inherit;}
img { max-width: 100%; display: block; height: auto; }

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  background: #23222B;
}
::-webkit-scrollbar-thumb {
  background: #3A365A;
  border-radius: 4px;
}

/* -------------------------
   2. Brand Variables
-------------------------- */
:root {
  --color-primary: #3A365A;
  --color-secondary: #D97438;
  --color-accent: #F2E8CF;
  --color-bg: #23222B;
  --color-metal: #9A9A9A;
  --color-darktext: #23222B;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(34,34,40,0.15);
  --border-metal: 1.5px solid #555460;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
  --transition: 0.2s cubic-bezier(.69, .15, .2, .98);
}

/* Fallbacks for fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-accent);
  min-height: 100vh;
  letter-spacing: 0.02em;
}

/* -------------------------
   3. Typography
-------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.01em;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
h5, h6 {font-size: 1rem; margin-bottom: 6px;}

p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--color-accent);
}
blockquote {
  border-left: 3px solid var(--color-secondary);
  background: rgba(58,54,90,0.06);
  color: var(--color-secondary);
  font-style: italic;
  padding: 10px 20px;
  margin: 10px 0 18px 0;
  border-radius: var(--radius);
}
strong, b {
  color: var(--color-secondary);
}

ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: var(--color-secondary);
  transition: color var(--transition);
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Visual hierarchy for cards/sections */
.section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

/* -------------------------
   4. Layout Containers
-------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* CRITICAL SPACING AND ALIGNMENT */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(58,54,90, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative; /* Only for inner buttons/badges, never content layout! */
  background: #26243C;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-metal);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 8px 32px rgba(34,34,40,0.19);
}

.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: #F2E8CF;
  color: #23222B;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(58,54,90,0.12);
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card p {
  color: #23222B;
  margin-bottom: 4px;
  font-size: 1rem;
}
.testimonial-card span {
  font-weight: 600;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------------
   5. Header & Main Navigation
---------------------------------- */
header {
  background: linear-gradient(90deg,#24223C 63%, #2A283A 100%);
  border-bottom: var(--border-metal);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  min-height: 70px;
  position: relative;
  gap: 18px;
}
.logo img {
  height: 44px;
  filter: brightness(0.96) contrast(1.12);
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.025rem;
}
.main-nav a {
  color: var(--color-accent);
  padding: 6px 0;
  border-bottom: 2.5px solid transparent;
  transition: color var(--transition), border-bottom var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}

.cta-btn {
  background: var(--color-secondary);
  color: var(--color-darktext);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 10px 32px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 9px rgba(217,116,56,0.11);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  margin-left: 10px;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #be591f;
  color: #fff;
  transform: translateY(-1.5px) scale(1.025);
}

/* ----------------------
   5.1 Mobile Nav Menu
---------------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 18px;
  z-index: 123;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23222B;
  z-index: 2222;
  overflow-y: auto;
  transition: transform 0.34s cubic-bezier(.81,.05,.39,.98);
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 20px 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 12px 44px 0 rgba(34,34,40,0.24);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  position: absolute;
  right: 32px;
  top: 28px;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 10;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 80px 32px 12px 32px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 0;
  border-bottom: 1.5px solid #393351;
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* -------------------
   6. Hero Section
------------------- */
.hero {
  background: linear-gradient(120deg, rgba(58,54,90, 1), rgba(35,34,43,0.89) 85%);
  border-radius: 0 0 var(--radius) var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 46px;
  box-shadow: 0 10px 38px -10px rgba(35,34,43,0.12);
}
.hero .container {
  min-height: inherit;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  padding: 40px 0;
}
.hero h1 {
  color: var(--color-accent);
  text-shadow: 2px 2px 0 #3A365A, 0px 0px 3px #23222B;
  margin-bottom: 14px;
}
.hero p {
  color: var(--color-accent);
  font-size: 1.125rem;
  margin-bottom: 18px;
}

/* -------------------
   7. Features Section
------------------- */
.features {
  background: #28263B;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-grid, .artist-list {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start;
}
.feature-grid > div, .artist-list > div {
  flex: 1 1 220px;
  min-width: 220px; max-width: 320px;
  background: #26243C;
  border-radius: var(--radius);
  border: var(--border-metal);
  box-shadow: var(--shadow);
  padding: 24px 22px 14px 22px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-grid > div:hover, .artist-list > div:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(58,54,90,0.27);
}
.feature-grid img, .artist-list img {
  width: 42px; height: 42px; margin-bottom: 10px;
  opacity: 0.9;
  filter: drop-shadow(0 1px 4px #22201B);
}
.features ul {
  margin-left: 20px;
}
.features li {
  color: var(--color-accent);
  font-size: 1rem;
}

/* -------------------
   8. About/Philosophie
------------------- */
.about {
  background: rgba(58,54,90, 0.06);
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about ul {
  margin: 4px 0 0 18px;
  padding: 0;
}

/* ----------------------
   9. Testimonials
---------------------- */
.testimonials {
  background: #23222B;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testimonial-card {
  /* See section above for core style */
  animation: fadeInTestimonial 1s ease-in;
}
@keyframes fadeInTestimonial {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: none; }
}

/* --------------
   10. Contact
-------------- */
.contact {
  background: #28263B;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-accent);
}
.contact-details img {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.88;
}

/* -----------------
   11. Footer
----------------- */
footer {
  background: #23222B;
  border-top: var(--border-metal);
  padding: 32px 0 0 0;
  font-size: 0.97rem;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #bbb9d1;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  transition: color var(--transition);
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: 16px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  opacity: 0.90;
  transition: opacity var(--transition), filter var(--transition);
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
  filter: brightness(1.15) drop-shadow(0 0 6px #be591f40);
}
.footer-legal {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
}
.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal a {
  color: #9a99ba;
  font-size: 0.97rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-legal a:hover, .footer-legal a:focus {
  color: var(--color-secondary);
}
footer address {
  color: #7b789f;
  font-style: normal;
  margin-top: 20px;
  font-size: 0.98rem;
}

/* ------------------------
   12. Cookie Consent Banner
------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #28263B;
  color: var(--color-accent);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -4px 32px -8px #2a283a9a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 18px 18px;
  z-index: 4444;
  gap: 18px;
  animation: cookieSlideUp 0.7s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: var(--radius);
  border: none;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(217,116,56,0.08);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #23222B;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid #8d8888;
}
.cookie-btn.settings {
  background: #28263B;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 3px 18px -4px var(--color-secondary);
  background: #be591f;
  color: #fff;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  min-width: 320px; max-width: 95vw;
  max-height: 92vh;
  background: #26243C;
  color: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: 0 12px 54px #23222b90;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px 32px 28px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  animation: modalIn 0.38s cubic-bezier(.28,1.42,.62,1);
}
@keyframes modalIn {
  from { transform: translate(-50%, -30%) scale(0.82); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 15px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-category.cookie-essential label {
  color: var(--color-secondary);
  font-weight: 600;
}
.cookie-modal__footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Modal close button */
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 22px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #fff;
}

/* Block background when modal open */
body.cookie-modal--active {
  overflow: hidden;
}

/* Hide cookie banner if accepted (use .is-hidden in JS) */
.cookie-banner.is-hidden {
  display: none !important;
}

/* ------------------
   13. Media Queries
------------------ */
@media (max-width: 1020px) {
  .footer-cols {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .artist-list, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-cols, .footer-nav, .footer-legal nav {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 260px;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0;
  }
  .footer-cols {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 9px; }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  .hero .content-wrapper {
    padding: 24px 0;
  }
  .feature-grid > div, .artist-list > div {
    min-width: 98%;
    max-width: 99%;
    padding: 20px 12px 12px 14px;
  }
}
@media (max-width: 640px) {
  h1 {font-size: 1.60rem;}
  h2 {font-size: 1.19rem;}
  h3 {font-size: 1rem;}
  .hero .content-wrapper {gap: 8px;}
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 20px 8px 17px 8px;
    min-width: 0;
  }
  .mobile-nav {
    padding: 80px 13px 4px 13px;
  }
}
@media (max-width:460px) {
  .logo img {height: 32px;}
  .hero .content-wrapper {padding: 12px 0;}
}

/* -----------------------------
   14. Micro-interactions/States
----------------------------- */
button, .cookie-btn, .cta-btn {
  outline: none;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
button:active, .cookie-btn:active, .cta-btn:active {
  transform: scale(0.97);
}

input[type="checkbox"]:focus-visible, button:focus-visible, .cookie-btn:focus-visible, .cta-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--color-secondary) !important;
}

::-moz-selection { background: var(--color-secondary); color: var(--color-darktext); }
::selection      { background: var(--color-secondary); color: var(--color-darktext); }

/* -------------------
   15. Misc
------------------- */
hr {
  border: 0; height: 1px; margin: 32px 0; background: #3A365A22;
}

/* VISUAL METALLIC ACCENTS */
.card, .section, .about, .contact, .features {
  border: var(--border-metal);
  background-clip: padding-box;
}

/* Accent horizontal rule for sections */
.section > hr {
  background: var(--color-metal);
}

/* Utility - Hide visually */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Debug - prevent overlap of all cards/sections */
.card, .section, .testimonial-card, .contact-details > p, .feature-grid > div {
  margin-bottom: 20px;
}

/* -------------------------
   End of Zestige Muse CSS
------------------------- */
