body {
  margin: 0;
  font-family: 'Poppins', sans-serif; 
}



/* Header Purple */
.header-normal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 7rem 0 7rem;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  color: #6a5ff6;
  background: transparent;
}

.logo-normal {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-normal a {
  color: #6a5ff6;
  text-decoration: none;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}


.normal-nav a {
  color: #6a5ff6;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.normal-nav a:hover {
  color: #ffd54f;
}


/* Header White */
.header-white {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 7rem 0 7rem;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: transparent;
}

.logo-white {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.logo-white a {
  color: #6a5ff6;
  text-decoration: none;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.header-white-nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-white-nav a:hover {
  color: #ffd54f;
}



/* === LANDING PAGE === */

body.landing {
  margin: 0;
  font-family: 'Poppins', sans-serif; 
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: white;
  overflow-x: hidden; 
  position: relative; 
}



/* Fons decoratiu amb formes */
.background-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Header */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: transparent;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.logo a {
  color: #6a5ff6;
  text-decoration: none;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.landing-nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.landing-nav a:hover {
  color: #ffd54f;
}

/* Hero */
.landing-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 6rem 8%;
  min-height: 90vh;
  position: relative;
  z-index: 1;
}



.hero-subtext {
  font-size: 1rem;
  line-height: 1.6;
  color: white;
  margin-bottom: 2rem;
  max-width: 600px;
}


.hero-overlay {
  position: relative;
  background: radial-gradient(
    ellipse at center,
    #6a5ff6 0%,
    rgba(106, 95, 246, 0.95) 40%,
    rgba(106, 95, 246, 0.4) 70%,
    rgba(106, 95, 246, 0) 99%
  );
  border-radius: 20px;
  z-index: 2;
  isolation: isolate;
}

.hero-text {
  flex: 1 1 40%;
  max-width: 42rem;
}

.hero-bulb {
  flex: 1 1 40%;
  max-width: 35vh;
  height: auto;
  object-fit: contain;
  z-index: 2;
}


.hero-text h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.hero-text strong {
  background-image: linear-gradient(120deg, #ffd54f 0%, #ffd54f 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 90%;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary {
  background-color: #ff5c8d;
  color: white;
  border: none;
}

.primary:hover {
  background-color: #e64e7a;
}

.secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.secondary:hover {
  background-color: white;
  color: #7f57ff;
}


/* Icones de Create / Play / Share */
.landing-icons {
  background: white;
  color: #333;
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem;
  gap: 3rem;
  flex-wrap: wrap;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.icon-box img {
  width: 60px;
  margin-bottom: 0.5rem;
}

.landing-features {
  background-color: white;
  color: #333;
  padding: 4rem 2rem;
  text-align: center;
}

.landing-features h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #1e1e1e;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 1.2rem;
}

.feature-item img {
  width: 50px;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 0.4rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: #555;
}

.cta-button {
  margin-top: 3.5rem;
}

.cta-button h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.cta-button .btn.primary {
  background-color: #ff5c8d;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
}


/* cta seccion */
.landing-cta {
  background-color: #ffffff;
  padding: 6rem 15%
}

.cta-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #6f59ff;
  margin-bottom: 0.75rem;
}

.cta-text p {
  font-size: 1.1rem;
  color: #393939;
  margin-bottom: 3rem;
}

.cta-image {
  text-align: center;
}

.cta-image img {
  max-width: 220px;
  height: auto;
}





/* footer */
.site-footer {
  background-color: #2f2f2f;
  color: #ccc;
  padding: 1.5rem 2rem;
  font-size: 0.875rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
}

.footer-content nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.2s ease;
}

.footer-content nav a:hover {
  color: white;
}

.footer-content .divider {
  color: #888;
}

.site-footer {
  background-color: #1e1b3b;
  color: #e0e0e0;
}
.footer-content nav a:hover {
  color: #ffd54f;
}


/* Icona del menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.hamburger span {
  display: block;
  height: 0.5vh;
  background: white;
  border-radius: 2px;
}




/* ===== HOME PAGE ===== */

body.home {
  display: flex;
  font-family: 'Poppins', sans-serif; 
  flex-direction: column;
  color: white;
  min-height: 100vh;
  margin: 0;
}

body.home main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-hero {
  background: url("../assets/background/background1.png") center/cover no-repeat;
  background-color: #7f57ff;
  padding: 6rem 5% 10rem; /* espai per cards a sota */
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffd600;
  margin-bottom: 1rem;
}

.home-hero h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  color: white;
}

/* Container de les targetes */
.home-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 5%;
  background-color: white;
  z-index: 2;
  position: relative;
}

/* Targetes */
.action-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
  max-width: 20rem;
  width: 100%;
  text-align: center;
  translate: 0 -4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
}

.action-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.action-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #007af1;
  margin-bottom: 0.5rem;
}

.action-card p {
  font-size: 1rem;
  color: #555;
}

.action-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}



@media (max-width: 746px) {
  .action-card img {
    display: none;
  }
}












/* === CREATE PAGE STYLES === */

.create-page {
  background-color: #f8f8ff;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.create-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5vh 5%;
}

.create-container {
  width: 100%;
  max-width: 800px;
  border-radius: 1rem;
  padding: 3rem 2rem;
  overflow: hidden;
}

.step-form {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.step-form.active {
  display: flex;
}

.step-form.hidden {
  display: none;
}

.create-title,
.create-subtitle {
  text-align: center;
  color: #6f59ff;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group input,
.form-group textarea {
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

.btn2 {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.primary2 {
  background-color: #6f59ff;
  color: #fff;
}

.primary2:hover {
  background-color: #563de4;
}

.secondary2 {
  background-color: #f0f0f0;
  color: #333;
}

.secondary2:hover {
  background-color: #e0e0e0;
}

.question-block label {
  font-weight: 600;
}

.answer-option {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f5f5fa;
}

.radio-inline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.radio-inline input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #6f59ff;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.radio-inline input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #6f59ff;
  border-radius: 50%;
}

.radio-inline input[type="text"] {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.dot-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dot.active {
  background-color: #6f59ff;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.save-btn {
  margin-top: 2rem;
  align-self: flex-end;
}

.save-btn.hidden {
  display: none;
}

.dot.filled {
  background-color: #FFDB00;
}











/* === LIST QUIZZES === */

body.list-page {
  background: url("../assets/background/background1.png") no-repeat center center;
  background-size: cover;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
}

/* MAIN */
.list-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 5vh 5%;
}

.list-container {
  width: 100%;
  max-width: 800px;
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
}

.page-title {
  text-align: center;
  color: #6f59ff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.quiz-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8ff;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #ddd;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.03);
}

.quiz-title {
  font-weight: 600;
  color: #393939;
  font-size: 1rem;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.btn3 {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn3.primary3 {
  background-color: #6f59ff;
  color: white;
}

.btn3.secondary3 {
  background-color: #f0f0f0;
  color: #333;
}

.btn3:hover {
  opacity: 0.9;
}

.delete-btn {
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-btn img {
  width: 18px;
  height: 18px;
}

.empty-msg {
  text-align: center;
  color: #888;
  font-style: italic;
  font-size: 1rem;
  padding: 2rem;
}

/* FOOTER */
.main-footer {
  text-align: center;
  padding: 1rem;
  background: #6f59ff;
  color: white;
  font-size: 0.9rem;
  margin-top: auto;
}













/* ===== QUIZ PAGE ===== */

body.quiz-page {
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
  padding: 2rem;
  color: #2b2d42;
}

.quiz-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-title-list {
  font-size: 1.2rem;
  font-weight: 700;
}

.quiz-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.quiz-nav a {
  text-decoration: none;
  background-color: #7f57ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.quiz-nav a:hover {
  background-color: #6a47e6;
}

.quiz-main {
  max-width: 800px;
  margin: 0 auto;
}

.quiz-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 5rem;
}

.quiz-container h3 {
  margin-bottom: 1rem;
  color: #2b2d42;
}

.quiz-container p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.answers .btn {
  background-color: #edf2f4;
  color: #2b2d42;
  border: 2px solid #8d99ae;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.answers .btn:hover {
  background-color: #8d99ae;
  color: white;
}

.btn-secondary {
  background-color: #ef233c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #d90429;
}

.lifeline-answer {
  margin-top: 1rem;
  font-style: italic;
  background-color: #f1f1f1;
  padding: 0.75rem;
  border-left: 4px solid #2b2d42;
  border-radius: 4px;
}

.lifeline-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.answer-button{
  background-color: #edf2f4;
  color: #2b2d42;
  border: 2px solid #8d99ae;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.answer-button.correct {
  background-color: #4CAF50;
  color: white;
}

.answer-button.incorrect {
  background-color: #f44336;
  color: white;
}






/* --- SUMMARY PAGE --- */

.summary-page {
  background-color: #fdfdfd;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.summary-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.summary-box {
  background-color: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 600px;
  text-align: center;
  animation: fadeInSummary 0.6s ease-in-out;
}

@keyframes fadeInSummary {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.summary-box h2 {
  font-size: 2rem;
  color: #007AF1;
  margin-bottom: 2rem;
}

.summary-box ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  text-align: left;
  max-width: 400px;
}

.summary-box li {
  background-color: #f5f5f5;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Enllaç final com a botó */
.summary-box .btn {
  display: inline-block;
  background-color: #F35CA7;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.summary-box .btn:hover {
  background-color: #d94b8f;
}









/* ===== EDIT PAGE ===== */

body.edit-page {
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
  color: #2b2d42;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.edit-main {
  flex: 1;
  max-width: 900px;
  margin: 3rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.edit-form .form-group {
  margin-bottom: 2rem;
}

.edit-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.edit-form input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.questions-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.question-block {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f8f8ff;
}

.question-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #6f59ff;
}

.question-block input[type="text"] {
  width: 100%;
  padding: 0.6rem;
  margin: 0.3rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.question-block select {
  margin-top: 0.5rem;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

/* Footer */
.main-footer {
  text-align: center;
  background: #6f59ff;
  color: white;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}




/* ===== ABOUT PAGE ===== */

body.about-page {
  background-color: #f4f4f4;
  font-family: 'Poppins', sans-serif;
  color: #2b2d42;
}

.about-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
}

.about-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.about-nav a {
  text-decoration: none;
  background-color: #7f57ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.about-nav a:hover {
  background-color: #6a47e6;
}

.about-main {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-section {
  margin-bottom: 2rem;
}

.about-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #7f57ff;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-team {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-team li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.about-team li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff5c8d;
}



/* ===== CONTACT PAGE ===== */

body.contact-page {
  background-color: #f4f4f4;
  font-family: 'Poppins', sans-serif;
  color: #2b2d42;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.contact-main {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
}

.contact-main h2 {
  color: #6f59ff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contactForm input,
#contactForm textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

#contactForm textarea {
  resize: vertical;
  min-height: 120px;
}

#contactForm button {
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background-color: #ff5c8d;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contactForm button:hover {
  background-color: #e64e7a;
}

#about {
  margin-top: 3rem;
}

#about h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6f59ff;
  margin-bottom: 1rem;
}

#about p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

/* Footer unificat */
.contact-page footer {
  text-align: center;
  padding: 1rem;
  background-color: #6f59ff;
  color: white;
  font-size: 0.9rem;
  margin-top: auto;
}








/* RESPONSIVE MOBILE */

/* Mostrar el menú normal a desktop */
.normal-nav {
  display: flex;
  gap: 2rem;
}

/* Amagar el menú hamburguesa a desktop */
.hamburger-btn {
  display: none;
}

/* Estils per al menú mòbil */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: #6F59FF;
  color: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-menu ul li {
  margin: 1.5rem 0;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
}

/* MEDIA QUERY per canviar a menú mòbil */
@media screen and (max-width: 768px) {
  /* Amaguem tots els menús de navegació en mòbil */
  .normal-nav,
  .header-white-nav,
  .landing-nav {
    display: none;
  }

  /* Mostrem el botó hamburguesa normal (svg) */
  .hamburger-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }

  .hamburger-btn img {
    width: 28px;
    height: 28px;
  }

  /* Mostrem el botó hamburguesa de landing (3 barres) */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 11;
  }

  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }

  /* Estils específics per les logos en mobile */
  .logo-normal,
  .logo-white {
    font-size: 1.2rem;
    font-weight: 700;
  }

  .logo-white {
    color: #fff;
  }

  /* Hero sections amb padding per espaiar correctament */
  .landing-hero,
  .home-hero {
    padding-top: 10rem;
  }

  .landing-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
