/* ============================ */
/*         ESTILOS GENERALES         */
/* ============================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:wght@400;700&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  margin: 0;
  padding: 0;
  background-image: url('imagenes/fondo\ body.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body {
    background-image: url('imagenes/fondo-pequeño.jpg');
  }
}

/* ============================ */
/*          NAVBAR              */
/* ============================ */

nav {
  background-color: #b01374 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
}

nav .nav-link {
  font-weight: 600;
  color: #fff !important;
}

nav .nav-link:hover {
  color: #ff86cf !important;
}

/* ============================ */
/*         SERVICIOS           */
/* ============================ */

#servicios {
  background: linear-gradient(135deg, #300030, #001133);
  padding: 60px 20px;
  color: white;
}

#servicios .card {
  background: rgba(26, 10, 33, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(176, 19, 116, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  color: #fff;
}

#servicios .card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 0, 150, 0.6), 0 0 40px rgba(255, 0, 150, 0.2);
}

#servicios .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffb8ea;
  text-shadow: 0 0 6px rgba(255, 0, 150, 0.5);
  margin-bottom: 15px;
}

#servicios .card-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================ */
/*           PROYECTOS         */
/* ============================ */

#proyectos {
  background: linear-gradient(135deg, #0a032e, #180040);
  padding: 60px 20px;
  color: white;
}

#proyectos h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ffb8ea;
  text-shadow: 0 0 6px rgba(255, 0, 150, 0.3);
}

#proyectos .lead {
  color: #ccc;
  margin-bottom: 30px;
}

#proyectos .card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(6px);
}

#proyectos .card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(255, 0, 150, 0.25);
}

#proyectos .card-title {
  font-weight: 700;
  color: #ffb8ea;
  font-size: 1.3rem;
}

#proyectos .card-text {
  color: #e0e0e0;
  font-size: 0.95rem;
}

/* ============================ */
/*          SOBRE MÍ           */
/* ============================ */

#sobre-mi {
  position: relative;
  background-image: url('imagenes/fondo\ body.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  margin-top: 0 !important;
  padding-top: 40px !important;
}

#sobre-mi .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 80px 20px;
}

.sobre-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #ffb8ea;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 0, 150, 0.4);
}

.sobre-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f0f0f0;
  max-width: 800px;
  margin: auto;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

/* ============================ */
/*          CARRUSEL           */
/* ============================ */

#carouselPimex {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#carouselPimex .carousel-item {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#carouselPimex .carousel-item img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block;
  margin: 0;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
}



.separador-transicion {
  height:30px;
  background: linear-gradient(90deg, #b01374, #ff86cf, #be5adc);
  border: none;
  margin: 0;
}


/* ============================ */
/*          CONTACTO           */
/* ============================ */

#contacto {
  background-color: #333;
  color: #fff;
  padding: 60px 20px;
}

#contacto h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  color: #fde1f2;
}

#contacto .form-control {
  border-radius: 10px;
}

#contacto button {
  background-color: #b01374;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#contacto button:hover {
  background-color: #fde1f2;
  color: #b01374;
}

/* ============================ */
/*           FOOTER            */
/* ============================ */

.footer-pimex {
  background-color: #1a1a1a;
  color: #f8f8f8;
  padding: 40px 20px;
  font-size: 0.95rem;
}

.footer-pimex .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #ff86cf;
  margin-bottom: 10px;
}

.footer-pimex a {
  color: #f8f8f8;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-pimex a:hover {
  color: #ff86cf;
}

.footer-pimex .social-icons i {
  font-size: 0.85rem
}

/* ============================ */
/*     BOTÓN WHATSAPP FLOAT    */
/* ============================ */

.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  box-shadow: none;
  filter: none;
  border-radius: 0;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

/* ============================ */
/*        UTILIDADES GLOBALES  */
/* ============================ */

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}

footer {
  padding-top: 80px;
  padding-bottom: 120px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================ */
/*          RESPONSIVE         */
/* ============================ */

@media (max-width: 768px) {
  #sobre-mi .overlay {
    padding: 40px 10px;
  }

  #servicios .card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .card-text, .sobre-text {
    font-size: 1rem;
    text-align: center;
  }

  nav .navbar-brand {
    font-size: 1.2rem;
  }

  nav .nav-link {
    font-size: 0.95rem;
  }

  footer {
    padding-top: 40px;
    padding-bottom: 60px;
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  #carouselPimex {
    margin: 0 !important;
    padding: 0 !important;
  }

  #carouselPimex .carousel-inner {
    height: 250px !important;
  }

  #carouselPimex .carousel-item {
    height: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #carouselPimex .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  #sobre-mi {
    margin-top: 0 !important;
    padding-top: 30px !important;
  }
}
/* Ajustar navbar social icons */
nav .navbar-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

nav .navbar-icons a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  nav .navbar-icons {
    gap: 8px;
  }

  nav .navbar-icons a {
    font-size: 1.1rem;
  }
}
.navbar a:hover {
  color: #ff86cf !important;
}

