:root {
  --main-bg: #c79a92;
  --text-primary: #fff9f6;
  --accent: #f4e9e7;
  --text-dark: #5e4a47;
}

/* index */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #e9d9d6;
  color: var(--text-primary);
  text-align: center;
  padding: 2rem;
}

/* index-body-header*/

header img {
  width: 180px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #5e4a47;
  margin-bottom: 1rem;
}

/* boton de reserva */

.btn {
  background-color: #5e4a47;
  color: var(--text-primary);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  margin: 1.2rem 0;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f7b3a7;
}

/* seccion de servicios del estudio */

.section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.service {
  background-color: #5e4a47;
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 150px;
  width: 140px;
  text-align: center;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: scale(1.05);
}

.service img {
  width: 40px;
  margin-bottom: 0.5rem;
}

/* biografia del owner */

.bio {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background-color: var(--accent);
  padding: 2rem;
  border-radius: 16px;
  color: var(--text-dark);
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

/*animacion de la biografia*/
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bio-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--text-dark);
}

.bio-img-full {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 150px;
  border: 3px solid var(--text-dark);
}

.bio-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #5e4a47;
}

/* footer */

.footer {
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--accent);
  color: var(--text-dark);
  border-top: 1px solid #d8c1bc;
}

.footer p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-socials a img {
  width: 24px;
  transition: transform 0.3s ease;
}

.footer-socials a:hover img {
  transform: scale(1.2);
}

/* media queries de "index" */

@media (max-width: 600px) {
  .services {
    flex-direction: column;
    align-items: center;
  }

  .bio {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .bio-text {
    padding: 0 1rem;
  }
}

/* pagina de reserva */

.reservacion {
  background-color: var(--accent);
  padding: 2rem;
  border-radius: 16px;
  max-width: 500px;
  margin: 2rem auto;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reservacion label {
  text-align: left;
  font-weight: 500;
}

.reservacion input,
.reservacion select,
.reservacion textarea {
  padding: 0.6rem;
  border: 1px solid #d8c1bc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.reservacion button {
  align-self: center;
}

/* media querie de "reservas" */
@media (max-width: 600px) {
  header {
    text-align: center;
    padding: 1rem;
  }

  header img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
  }

  header h1 {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .reservacion {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .reservacion input,
  .reservacion select,
  .reservacion textarea {
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 0.8rem;
  }

  .footer-socials {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  footer p {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
  }
}

/* Pagina de peluqueria */

.navbar {
  background-color: var(--text-primary);
}

.navbar-brand {
  height: 30px;
  width: auto;
}
.divNavbar {
  color: #d38484;
}

.container {
  color: #000000;
}

.carousel {
  background-color: #d38484;
}

/* Pagina de manicura */

.galeria-uñas {
  padding: 2rem;
  background-color: #fff9f6;
}

.galeria-uñas h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #5e4a47;
}

.grid-uñas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.grid-uñas img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.grid-uñas img:hover {
  transform: scale(1.05);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff9f6;
  color: #5e4a47;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

.card h5 {
  font-weight: 600;
}

.logo-clou img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-clou {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 100px;
  z-index: 10;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  header p.lead {
    font-size: 1rem;
    text-align: center;
  }

  .navbar-brand img {
    height: 100px;
    width: auto;
  }

  .card p {
    font-size: 0.9rem;
  }

  footer .footer-socials img {
    width: 28px;
    height: 28px;
  }

  .logo-clou {
    left: 50%;
    transform: translateX(-50%);
    top: 0.5rem;
    width: 80px;
  }

  header .text-center {
    padding-top: 6rem;
  }
}

@media (max-width: 576px) {
  header h1 {
    font-size: 1.5rem;
  }

  .navbar-brand img {
    height: 70px;
    width: auto;
  }

  .logo-clou {
    width: 65px;
    top: 0.3rem;
  }

  header .text-center {
    padding-top: 6.5rem;
  }

  .card {
    padding: 1rem 0.5rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  footer .footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
}

/* Pagina de masajes */

.logo-clou img {
  height: 120px;
  width: auto;
  top: 0rem;
}

header {
  background-color: #202326;
  padding: 2rem 0;
  position: relative;
}

header .text-center {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .logo-clou {
    top: 1rem !important;
    left: 1rem !important;
    width: 80px;
  }

  .logo-clou img {
    width: 100%;
    height: auto;
  }

  header .text-center {
    padding-top: 6rem;
  }

  header h1 {
    font-size: 1.6rem;
  }

  header p.lead {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .logo-clou {
    top: 2rem !important;
    left: 1rem !important;
    width: 65px;
  }

  header .text-center {
    padding-top: 6.5rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  header p.lead {
    font-size: 0.95rem;
  }
}
