@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');
body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: white;
  color: #333;
  font-size: 22px;
  box-sizing: border-box;
  overflow-x: hidden;
}
header {
  background-color: #F4B6B6;
  padding: 5px;
  text-align: center;
}
.header-slogan {
  color: white;
  font-size: 0.9em;
  font-weight: bold;
}
.logo-wrapper {
  text-align: center;
}
.logo-wrapper img {
  height: 130px;
  width: auto;
}
nav {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  background-color: transparent;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: white;
}
nav a {
  text-decoration: none;
  text-transform: none;
  color: #444;
  font-weight: 600;
  font-size: 1.1em;
  margin: 0 15px;
  padding: 2px 10px;
}
nav a:hover {
  color: #4c2f1b;
}
.hero {
  padding: 20px 0;
  margin: 20px 0;
  width: 100%;
  overflow: hidden;
  text-align: center;
  background-color: white;
}
.hero-banner {
  width: 100%;
  height: 350px;
  max-width: 100vw; 
  background-image: url('img/hero-kawaii-desktop.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .hero-banner {
    background-image: url('img/hero-kawaii-mobile.svg');
    width: 100vw; /* ocupa tota la pantalla */
    margin: 0;
    padding: 0;
    border-radius: 0;
  }
}
.hero a.button-link {
  display: inline-block;
  margin: 5px 16px;
  padding: 12px 24px;
  color: #fff;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 1.2em;
}
.hero a.button-link:first-of-type {
  background-color: #92C7E1;
}
.hero a.button-link:first-of-type:hover {
  background-color: #95b8d1;
}
.hero a.button-link:last-of-type {
  background-color: #A5DADB;
}
.hero a.button-link:last-of-type:hover {
  background-color: #92C7E1;
}
.intro {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 15px;
  text-align: center;
  font-size: 1em;
}
.cta-section {
  text-align: center;
  padding: 25px 15px;
  background-color: white;
}
.cta-section a {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background-color: #F7C948;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s;
}
.cta-section a:hover {
  background-color: #A5DADB;
}
.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-icons a img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}
.social-icons a img:hover {
  transform: scale(1.1);
}
footer {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  background-color: white;
  font-size: 1em;
}
.contact-image-single {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-image-single img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
}
.footer-extra {
  background-color: #FCE9D6;
  padding: 30px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  color: #333;
  font-size: 0.95em;
  gap: 20px;
  align-items: flex-start;
}
.footer-extra .footer-column {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}
.footer-extra .footer-column a {
  color: #333;
  text-decoration: none;
  font-weight: normal;
  transition: text-decoration 0.2s;
  font-size: 0.8em;
}
.footer-extra .footer-column a:hover {
  text-decoration: underline;
}
.footer-extra .social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
}
.footer-extra .social-icons img {
  width: 28px;
  height: 28px;
}
.footer-extra .footer-column p {
  margin-bottom: 0;
}
.footer-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.05em;
}
h1 {
  font-size: 1.4em; /* o 1.5em, 2em, segons el que vulguis */
  color: #4c2f1b; /* opcional: per mantenir el color uniforme */
  text-align: center; /* opcional: per centrar-lo */
}
h2 {
  font-size: 1.2em; /* o 1.5em, 2em, segons el que vulguis */
  color: #4c2f1b; /* opcional: per mantenir el color uniforme */
  text-align: center; /* opcional: per centrar-lo */
}
.book-page h1 {
  text-align: left;
}
/* --- Responsive Styles --- */
@media (max-width: 768px) {
  body {
    font-size: 18px;
  }
  .logo-container {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
  .logo-container img:first-child {
    padding-left: 0 !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  nav {
    gap: 10px;
    flex-direction: column;
  }
  .footer-extra {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-column {
    flex: 1 1 100%;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }
  .hero a.button-link {
    font-size: 1em;
    padding: 10px 18px;
  }
}
/* -- Millores finals responsive -- */
@media (max-width: 768px) {
  .logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
    flex-wrap: wrap;
  }
  .logo-container img:first-child {
    padding-left: 0 !important;
  }
  .hero-banner {
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
.hamburger {
  position: fixed;
  top: 40px !important;
  right: 10px;
  z-index: 1002;
  background-color: #A5DADB;
  color: #749899;
  font-size: 28px;
  padding: 5px 10px;
  border-radius: 10px;
  border: none;
}
  .responsive-nav {
    top: 55px;
  }
  .contact-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .contact-image-single,
  .contact-form {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width: 480px) {
  .contact-image-single,
  .contact-form {
    max-width: 100%;
  }
}
/* --- Amaguem el llibre en mòbils petits per guanyar espai --- */
@media (max-width: 600px) {
  .logo-container > div:first-child {
    display: none;
  }
}
/* --- Reduïm espai entre logo i banner en mòbil --- */
@media (max-width: 768px) {
  .logo-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .logo-container img {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  nav {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
  }
  .hero {
    margin: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible !important;
    text-align: initial !important;
  }
  .hero-banner {
    width: 100vw !important;
     margin-top: 0 !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    border-radius: 0 !important;
  }
}
@media (max-width: 768px) {
  .footer-extra {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    row-gap: 6px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
  }
  .footer-column {
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
  }
  .footer-column * {
    margin: 2px 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
  }
  .footer-title {
    font-size: 1em !important;
    margin: 3px 0 !important;
  }
}

/* --- Ajustos per reduir separació al footer --- */
.footer-extra .footer-column > * {
  margin: 2px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.footer-extra .footer-column p,
.footer-extra .footer-column a {
  margin: 0 !important;
  line-height: 1.2 !important;
}

.footer-extra {
  gap: 3px !important;
  row-gap: 3px !important;
}

@media (max-width: 768px) {
  .footer-extra {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 10px !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .footer-column {
    flex: 1 1 45% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
  }

  .footer-column * {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  .footer-title {
    font-size: 0.95em !important;
    font-weight: bold !important;
  }

  .footer-extra .social-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 4px !important;
  }

  .footer-extra .social-icons img {
    width: 24px !important;
    height: 24px !important;
  }
}
