/* === 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  background: #F6F7FB;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2A2950;
  background: #F6F7FB;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
}
*::selection {
  background: #FBC02D;
  color: #1A237E;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4769C4;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 600;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #26418F;
  margin-bottom: 24px;
  letter-spacing: 0.015em;
  line-height: 1.13;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #26418F;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 16px;
  color: #1A237E;
}
p, li, a, span, label, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
p {
  margin-bottom: 18px;
  color: #353456;
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 26px; }
  h2, .h2 { font-size: 20px; }
  h3, .h3 { font-size: 16px; }
  main p, main li { font-size: 15px; }
}

/* === SOFT PASTEL COLOR PALETTE === */
:root {
  --primary: #1A237E;
  --primary-light: #26418F;
  --secondary: #FFE082;
  --secondary-dark: #FBC02D;
  --accent: #E3E3E3;
  --pastel1: #F9E5F2;
  --pastel2: #EAEAFD;
  --pastel3: #C6E6FA;
  --pastel4: #D1F7EC;
  --pastel5: #FFF3D6;
  --input-border: #CAD3F5;
  --shadow: 0 4px 24px 0 rgba(33, 54, 77, 0.10);
  --shadow-sm: 0 2px 8px 0 rgba(33, 54, 77, 0.06);
  --card-radius: 18px;
}

/* === HEADER && NAVIGATION === */
header {
  background: var(--pastel2);
  box-shadow: var(--shadow-sm);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.main-nav a img {
  height: 42px;
  width: auto;
  margin-right: 24px;
  vertical-align: middle;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #1A237E;
  padding: 10px 16px;
  border-radius: 14px;
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a.cta.primary  {
  background: linear-gradient(90deg, #FFF3D6 0%, #F9E5F2 78%);
  color: #1A237E;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  border: 1px solid #FFD877;
  margin-left: 18px;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #FBC02D;
  color: #1A237E;
  box-shadow: var(--shadow);
}
.main-nav a:hover, .main-nav a:focus {
  background: #1A237e17;
  color: #26418F;
}
.main-nav a.active {
  background: var(--secondary);
  color: #1A237E;
  font-weight: 700;
}

/* Hide the mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  margin-left: auto;
  color: #1A237E;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EFEFFF;
}

/* === MOBILE MENU === */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(144deg, #FFF3D6 0%, #EAEAFD 100%);
  box-shadow: 0 2px 32px rgba(30,33,60,0.16);
  z-index: 30;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.83,0,.17,1);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  font-size: 30px;
  background: transparent;
  border: none;
  color: #1A237E;
  align-self: flex-end;
  margin: 18px 24px 12px 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EFEFFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px 24px;
}
.mobile-nav a {
  padding: 14px 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: #1A237E;
  background: none;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAEAFD;
  color: #4769C4;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === PAGE LAYOUT & SECTIONS === */
main {
  background: #F6F7FB;
  min-height: 76vh;
  margin-bottom: 50px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--card-radius);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.hero {
  background: linear-gradient(120deg, #C6E6FA 0%, #F9E5F2 100%);
  margin-bottom: 60px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 5px 32px 0 rgba(90, 107, 154, 0.06);
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 240px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 32px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* Responsive wrappers and text-image flex sections */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow);
  transform: translateY(-3px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width:760px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features/Services/Categories Lists */
.features ul, .services ul, .playlist-features ul, .categories ul, .about-history ul, .team ul, .artists-list ul, .news-list ul, .popular-posts ul, .privacy-details ul, .gdpr-details ul, .terms-details ul, .cookie-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.features ul li, .services ul li, .playlist-features ul li, .categories ul li, .about-history ul li, .team ul li, .artists-list ul li, .news-list ul li, .popular-posts ul li, .privacy-details ul li, .gdpr-details ul li, .terms-details ul li, .cookie-details ul li {
  background: #FFF;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  min-width: 170px;
  flex: 1 1 220px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.12s, transform 0.12s;
}
.features ul li:hover, .services ul li:hover, .playlist-features ul li:hover, .categories ul li:hover {
  box-shadow: 0 4px 18px 0 rgba(190,165,228,0.09);
  transform: translateY(-2px) scale(1.01);
}
.features ul li img, .services ul li img, .playlist-features ul li img, .categories ul li img, .popular-posts ul li img {
  max-width: 36px;
  min-width: 32px;
  margin-right: 10px;
  align-self: flex-start;
  border-radius: 8px;
  background: #FFF6EC;
  box-shadow: 0 0 8px 0 #FBC02D27;
  padding: 3px 4px;
}
.team ul li {
  background: #F9E5F2;
}

/* Sectional Unique Classes for About, Contact, etc. */
.about, .team, .about-history, .contact-details, .privacy-details, .gdpr-details, .terms-details, .cookie-details, .create-playlist, .thank-you {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border-radius: var(--card-radius);
}
.map-block {
  margin-top: 16px;
  background: #F9E5F2;
  padding: 20px;
  border-radius: 12px;
}

/* === TESTIMONIAL CARD === */
.testimonials {
  background: #FFF3D6;
  border-radius: var(--card-radius);
  margin-bottom: 60px;
}
.testimonials h2 {
  color: #B48460;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #FFF3D6;
  color: #2A2950;
  font-size: 17px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card blockquote {
  margin: 0 0 0 8px;
  color: #2A2950;
  font-size: 17px;
  line-height: 1.5;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card p {
  margin: 0 0 0 14px;
  color: #1A237E;
  font-weight: 500;
}
@media (max-width: 630px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* === CALL TO ACTION === */
.cta {
  background: #EAEAFD;
  border-radius: var(--card-radius);
  margin-bottom: 32px;
  padding: 32px 20px;
  box-shadow: 0 2px 12px 0 #C6E6FA44;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.cta.primary,
.cta .primary, .cta.main {
  display: inline-block;
  background: linear-gradient(90deg, #FFF3D6 0%, #F9E5F2 100%);
  color: #1A237E;
  padding: 16px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
  border: 1px solid #FFD877;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.14s;
  outline: none;
  text-decoration: none;
}
.cta.primary:hover, .cta .primary:hover, .cta.primary:focus, .cta .primary:focus {
  background: #FBC02D;
  color: #1A237E;
  box-shadow: var(--shadow);
  transform: scale(1.03);
}
.cta a.cta {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
}

/* === BUTTONS & LINKS === */
.button, button, input[type=submit] {
  display: inline-block;
  background: linear-gradient(90deg, #D1F7EC 0%, #EAEAFD 100%);
  color: #1A237E;
  padding: 12px 30px;
  border-radius: 28px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.17s, box-shadow 0.15s, transform 0.09s;
  outline: none;
}
.button:hover, .button:focus, button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #F9E5F2;
  color: #1A237E;
  box-shadow: var(--shadow);
  transform: scale(1.04);
}

/* === FORMS (if any) === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 18px;
  width: 100%;
  background: #F6F7FB;
  transition: border 0.18s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #AEBDF8;
  box-shadow: 0 0 0 2px var(--pastel3);
  outline: none;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A237E;
  font-size: 15px;
  display: block;
  margin-bottom: 9px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(130deg, #F9E5F2 0%, #E3E3E3 100%);
  padding: 32px 0 20px 0;
  box-shadow: 0 -2px 14px #D1F7EC18;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #1A237E;
  font-size: 15px;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #C6E6FA;
  color: #4769C4;
}
.contact-info {
  color: #353456;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.contact-info img {
  vertical-align: middle;
  width: 18px;
  margin-right: 4px;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-links a {
  background: #FFF;
  padding: 7px;
  border-radius: 50%;
  transition: box-shadow 0.19s, background 0.13s;
  box-shadow: 0 1px 6px rgba(90, 107, 154, 0.04);
}
.social-links a:hover, .social-links a:focus {
  background: #F9E5F2;
  box-shadow: 0 3px 10px #C6E6FA66;
}
footer small {
  display: block;
  width: 100%;
  text-align: center;
  color: #AAAAAC;
  margin-top: 24px;
  font-size: 13px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .main-nav, .footer-menu {
    gap: 13px;
  }
  .content-wrapper {
    gap: 14px;
  }
  section, .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .cta {
    padding: 26px 4px;
    margin-bottom: 23px;
  }
  .hero .container {
    min-height: 120px;
  }
  footer {
    padding: 22px 0 20px 0;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 7px;
  }
  h1, .h1 {
    font-size: 22px;
  }
  h2, .h2 {
    font-size: 17px;
    margin-bottom: 12px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(104deg, #FFF3D6 0%, #F9E5F2 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 -2px 20px #FBC02D22;
  padding: 28px 10px 20px 22px;
  justify-content: space-between;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__message {
  color: #27254c;
  font-size: 16px;
  flex: 1 1 300px;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  background: #FFFFFF;
  color: #1A237E;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.14s, box-shadow 0.15s;
  cursor: pointer;
  outline: none;
}
.cookie-btn--accept {
  background: #FBC02D;
  color: #1A237E;
  border: 1.5px solid #EDD84B;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #FFE082;
}
.cookie-btn--reject {
  background: #F9E5F2;
  color: #1A237E;
  border: 1.5px solid #E1BBDD;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #FFDDEE;
}
.cookie-btn--settings {
  background: #F6F7FB;
  color: #1A237E;
  border: 1.5px solid #CAD3F5;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: #EAEAFD;
  color: #1A237E;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 17px 6px 10px 6px;
  }
  .cookie-banner__actions { width: 100%; gap: 8px; }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 200;
  background: rgba(41,36,94,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: linear-gradient(127deg, #FFF3D6 0%, #F9E5F2 100%);
  border-radius: 22px;
  box-shadow: 0 14px 48px #1A237E24;
  padding: 42px 34px 28px 34px;
  min-width: 350px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #27254c;
}
.cookie-modal h2 {
  font-size: 22px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-size: 16px;
  color: #1A237E;
  font-weight: 500;
  display: flex;
  align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #FBC02D;
  width: 18px; height: 18px;
  margin-right: 0;
}
.cookie-modal .cookie-switch {
  flex: 0 0 auto;
  margin-left: 0;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 19px 6px 18px 6px;
    min-width: 0;
  }
  .cookie-modal h2 { font-size: 16px; }
}

/* === UTILITY CLASSES === */
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 30px; }
.mt-5 { margin-top: 50px; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 18px; }
.gap-3 { gap: 28px; }
.w-100 { width: 100%; }

/* Card, List, Section Margins for Spacing */
.card, .testimonial-card, .features ul li, .services ul li, .categories ul li, .team ul li, .artists-list ul li, .playlist-features ul li, .popular-posts ul li, .news-list ul li, .privacy-details ul li, .gdpr-details ul li, .terms-details ul li, .cookie-details ul li {
  margin-bottom: 20px;
}
section, .section {
  margin-bottom: 60px;
}

/* === ANIMATION & MICROINTERACTIONS === */
.card, .cta, .testimonial-card, .features ul li, .services ul li {
  transition: box-shadow 0.14s, transform 0.13s;
}
.card:hover, .features ul li:hover, .services ul li:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow);
}
.cta.primary, .cta .primary { transition: background 0.22s, color 0.16s, transform 0.14s; }
.button, button, input[type=submit] { transition: background 0.2s, color 0.12s, box-shadow 0.18s, transform 0.09s; }

/* === ACCESSIBILITY FOCUS STATES === */
a:focus, button:focus, .cookie-btn:focus, input:focus {
  outline: 2px solid #FBC02D;
  outline-offset: 2px;
}

/* === END OF CSS === */
