
:root {
  --violet-dark: #5d5491;
  /*--lilac: #b39ddb;*/
  --green-accent: #369694;
  --lavender-light: #ebd4ff;
  /*--sand-rose: #a59586;*/

  --font-title: "Bree Serif", serif;
  --font-text: "Poppins", sans-serif;

  --navbar-height: 72px;
}


html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--navbar-height);
}

body {
  margin: 0;
  line-height: 1.6;
  background-color: var(--lavender-light);
  font-family: var(--font-text);
  padding-top: var(--navbar-height);
  overflow-x: hidden;
}

h1, h2 {
  letter-spacing: 0.3px;
}

h2 {
  font-size: 1.9rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--violet-dark);
}

.row {
  margin-left: 0;
  margin-right: 0;
}

a,
button,
.btn {
  transition: all 0.25s ease;
}

.container {
  overflow-x: hidden;
}

/*NAVBAR*/

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--violet-dark);
  z-index: 1000;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.navbar-brand,
.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--lavender-light);
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--green-accent);
}

.navbar-nav {
  align-items: center;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--green-accent);
  transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-item {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

/*HERO*/

.hero {
  position: relative;
  margin-top: 0;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden; /* importante para que la img no desborde */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* asegura que la imagen cubra todo el hero */
  object-position: center 50%; /* posición por defecto para mobile */
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-content {
  position: relative; /* para que esté sobre la img */
  z-index: 1;
  background-color: rgba(235, 212, 255, 0.75);
  padding: 1.75rem;
  border-radius: 18px;
  max-width: 720px;
}

.hero h1 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hero a {
  padding: 0.8rem 1.8rem;
  font-weight: 500;
}


.btn-primary {
  background-color: var(--green-accent);
  border: none;
  transition: background-color .25s ease;
}

.btn-primary:hover {
  background-color: #2f7f78;
}

.btn-instagram {
  border-color: var(--green-accent);
  color: var(--green-accent);
}

.btn-instagram:hover {
  background-color: var(--green-accent);
  color: #fff;
}


section p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}


#servicios .card {
  border: none;
  border-radius: 18px;
  transition: all 0.25s ease;
  background: #ffffff;
}

/* sombra suave */
#servicios .card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* hover elegante */
#servicios .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* título */
#servicios .card-title {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

#servicios .card-title i {
  color: #f4b400;
  font-size: 1.6rem;
  display: block;
  margin-right: 6px;
  margin-bottom: 0.6rem;
}


/* texto */
#servicios .card-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* línea decorativa centrada PERFECTA */
#servicios .card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: #f4b400;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Cuando pasás el mouse por la card → aparece la línea */
#servicios .card:hover .card-title::after {
  width: 100%;
}

#servicios .card-body {
  display: flex;
  flex-direction: column;
}

/* Estado inicial oculto */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  will-change: transform, opacity;
}


/* Cuando entra en pantalla */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-soft {
  background: linear-gradient(
    180deg,
    #f6ecff 0%,
    #ffffff 100%
  );
}

section h2 {
  position: relative;
  display: table;
  margin: 0 auto 1.5rem; /* centra perfectamente */
  text-align: center;
}

section h2::after {
  content: "";
  display: block;
  width: 100%;          /* mismo ancho que el texto */
  height: 3px;
  margin-top: 0.5rem;
  background-color: var(--green-accent);
  border-radius: 2px;
}


/* BOTÓN DENTRO DE SERVICIOS */

#servicios .btn-servicio {
  background-color: var(--green-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

#servicios .btn-servicio:hover {
  background-color: #2f7f78;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* TESTIMONIO */

.testimonial-card {
  max-width: 720px;
  background: #ffffff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease;

  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 6rem;
  color: #efeaf8; /* violeta muy suave */
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin-bottom: 1.25rem;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--violet-dark);
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-pet {
  font-size: 0.85rem;
  color: #777;
}

/* INDICADORES TESTIMONIOS */

.carousel-indicators {
  position: static;
  margin-top: 1.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d3cfe8;
  border: none;
  margin: 0 6px;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: var(--violet-dark);
  transform: scale(1.25);
}

.carousel-indicators [data-bs-target] {
  transition: transform .2s ease, background-color .2s ease;
}

/* SOBRE KARINA */

#sobre-karina {
  background: #ffffff;
}

#sobre-karina img {
  width: 100%;
  max-width: 320px;
}

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.about-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

#sobre-karina p {
  color: #555;
}


#sobre-karina {
  overflow: hidden;
}

#sobre-karina .row {
  margin-left: 0;
  margin-right: 0;
}


/*CONTENIDO*/
#contenido a{
  min-width: 160px;
}



/*FOOTER*/

footer {
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}


/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}


@media (max-width: 576px) {
  :root {
    --navbar-height: 64px;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero {
    padding: 2rem;
  }
  .hero-content {
    padding: 2.5rem;
  }
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background-color: var(--violet-dark);
    padding: 1rem 0;
  }

   .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: #fff;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: var(--lavender-light);
    background-color: rgba(255, 255, 255, 0.08);
  }
}

@media (min-width: 992px) {   /* desktop */
  .hero-img {
    object-position: center 29%; /* mueve la imagen un poco hacia abajo para que se vea la cabeza */
  }
}


@media (min-width: 992px) {
  section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}


@media (max-width: 991.98px) {

  #sobre-karina .btn {
    width: 100%;
  }

}

@media (max-width: 400px) {

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .about-img {
    max-width: 280px;
  }

  #sobre-karina .btn {
    width: 100%;
  }

}




