@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', Arial, Helvetica, sans-serif; }

body { background-color: #121212; color: #ffffff; margin: 0; }

.titulo { text-align: center; font-size: 40px; padding-top: 70px; color: #F7D002; font-weight: 700; }

header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: transparent !important; transition: background-color 0.4s ease, box-shadow 0.4s ease; }
header.scrolled { background-color: #0a0a0a !important; border-bottom: 2px solid #00A8E8; box-shadow: 0 4px 15px rgba(0, 168, 232, 0.2); }

.img-logo { width: 130px; vertical-align: middle; border-style: none !important; border-radius: 6px; transition: transform 0.3s ease; }
.img-logo:hover { transform: scale(1.05); }

.nav-item { border-style: none !important; margin: 0 5px; }
.nav-link { font-weight: 600; color: #ffffff !important; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); transition: color 0.3s ease, text-shadow 0.3s ease; }
.nav-link:hover { color: #F7D002 !important; }

header.scrolled .nav-link { color: #ffffff !important; text-shadow: none; }
header.scrolled .nav-link:hover { color: #00A8E8 !important; }

.cover { min-height: 70vh; background-image: url(images/lavanderiacover3.jpg); background-size: cover; background-position: center; background-color: rgba(0, 0, 0, 0.7); background-blend-mode: darken; background-attachment: fixed !important; color: white; padding-top: 80px; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; }
.cover h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; color: #00A8E8; }
.cover p { font-size: 1.3rem; max-width: 600px; color: #e0e0e0; }
.cover-small { height: 200px; min-height: 200px; background-blend-mode: normal; }

.card { background-color: #1a1a1a !important; border: 1px solid #333 !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease !important; }
.card:hover { transform: translateY(-12px); box-shadow: 0 15px 30px rgba(0, 168, 232, 0.2) !important; border-color: #00A8E8 !important; z-index: 10; }
.card-title { min-height: 3rem; font-weight: 600; color: #F7D002; }
.card-text { min-height: 8rem; color: #cccccc; }

.porfolios { padding: 80px 0px; text-align: center; }
.porfolios h2 { color: #ffffff; }
.porfolio { display: flex; align-items: center; margin: 50px 0; }
.porfolio img { width: 350px; max-width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.porfolio-1, .porfolio-3 { text-align: left; margin-left: 80px; }
.porfolio-2 { text-align: left; margin-right: 80px; }
.porfolio-1 h3, .porfolio-2 h3, .porfolio-3 h3 { font-size: 32px; margin-bottom: 15px; font-weight: 600; color: #00A8E8; }
.porfolio-1 p, .porfolio-2 p, .porfolio-3 p { font-size: 16px; color: #cccccc; margin-bottom: 25px; line-height: 1.6; }

.btn-2 { display: inline-block; padding: 12px 28px; border-radius: 25px; background-color: #F7D002; color: #121212 !important; text-decoration: none; font-weight: 600; transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; }
.btn-2:hover { background-color: #00A8E8; color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4); text-decoration: none; }

footer { padding: 120px 0px 40px 0px; background-image: url(images/foot2.png); background-position: top center; background-repeat: no-repeat; background-size: cover; background-attachment: fixed !important; }
.info-content { display: flex; align-items: center; justify-content: flex-start; }
.info-price { padding: 35px; text-align: center; background-color: rgba(18, 18, 18, 0.9); border: 1px solid #00A8E8; border-radius: 12px; box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5); margin-right: 80px; }
.info-price h2 { font-size: 24px; margin: 15px 0 10px; color: #ffffff; }
.info-price a { color: #F7D002; font-weight: 600; }
.info-price a:hover { color: #00A8E8; text-decoration: none; }

.info-txt { color: #ffffff !important; margin-left: 35px; }
.info-txt h2 { font-size: 32px; margin-bottom: 10px; color: #ffffff !important; font-weight: 700; }
.info-txt p { font-size: 18px; font-weight: 600; color: #cccccc !important; }
hr { margin: 40px 0px; border: 1px solid rgba(255, 255, 255, 0.1); }
.enlaces { display: flex; justify-content: space-between; align-items: center; color: #ffffff; }
.enlaces h3 { font-size: 24px; font-weight: 700; color: #ffffff; }
.enlace { display: flex; list-style: none; }
.enlace li { margin: 0 15px; }
.enlace li a { color: #cccccc !important; text-decoration: none; font-size: 16px; font-weight: 700; transition: color 0.3s ease; }
.enlace li a:hover { color: #00A8E8 !important; }

.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- CARRUSEL DINÁMICO LAVANDERÍA --- */
.interactive-slider { padding: 40px 0 80px; }
.slider-container img { width: 100%; height: 500px; object-fit: cover; border-radius: 8px; border: 2px solid #333; box-shadow: 0 10px 30px rgba(0, 168, 232, 0.2); }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(18, 18, 18, 0.8); color: #00A8E8; border: 1px solid #00A8E8; font-size: 2rem; padding: 10px 15px; cursor: pointer; transition: all 0.3s ease; z-index: 10; border-radius: 4px; }
.slide-btn:hover { background: #00A8E8; color: #fff; box-shadow: 0 0 15px rgba(0, 168, 232, 0.5); }
.prev { left: -20px; }
.next { right: -20px; }
.thumb { width: 120px; height: 80px; object-fit: cover; cursor: pointer; border: 2px solid #333; border-radius: 4px; opacity: 0.5; transition: all 0.3s ease; }
.thumb:hover, .thumb.active-thumb { opacity: 1; border-color: #F7D002; transform: scale(1.05); }
.admin-upload-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 8px 12px; background: #F7D002; color: #000; border: none; font-weight: bold; cursor: pointer; z-index: 100; border-radius: 5px; opacity: 0.8; transition: opacity 0.3s ease; }
.admin-upload-btn:hover { opacity: 1; }

/* --- BOTÓN DE BORRAR (Basurero) --- */
.admin-delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 4px 6px;
  background: #ef5350;
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  z-index: 100;
  border-radius: 4px;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.admin-delete-btn:hover { 
  opacity: 1; 
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(239, 83, 80, 0.6); 
}

/* === ARREGLOS MÓVIL (Menú y Espacios) === */
@media (max-width: 991px) {
  body { padding: 0; }
  .cover { min-height: 60vh; }
  .cover h1 { font-size: 2.5rem; padding: 0 15px; }
  
  /* --- REORDENAMIENTO DE SERVICIOS PARA MÓVIL --- */
  .porfolio { 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
  }
  
  .porfolio-1, .porfolio-2, .porfolio-3 { 
    display: contents; /* Magia para poder mezclar los textos con la imagen y ordenarlos */
  }
  
  .porfolio h3 { 
    order: 1; /* Primero el Título */
    margin-top: 15px; 
    margin-bottom: 20px !important; 
    width: 100%;
  }
  
  .porfolio img { 
    order: 2; /* Segunda la Imagen */
    margin-bottom: 25px; 
    max-width: 95%; 
  }
  
  .porfolio p { 
    order: 3; /* Tercera la Descripción */
    margin-bottom: 30px !important; 
    width: 100%; 
  }
  
  .porfolio .btn-2 { 
    order: 4; /* Cuarto el Botón de contacto */
    margin-bottom: 30px; 
  }
  /* ---------------------------------------------- */

  .info-content { flex-direction: column; }
  .info-price { margin: 0 0 30px 0; width: 100%; }
  .info-txt { text-align: center; margin-left: 0; }
  .enlaces { flex-direction: column; text-align: center; }
  .enlace { flex-direction: column; margin-top: 20px; }
  .enlace li { margin: 10px 0; }

  .navbar-collapse {
    background-color: #0a0a0a;
    border: 1px solid #00A8E8;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
  }
  .navbar-nav .nav-item {
    text-align: center;
    margin: 8px 0 !important;
  }

  /* --- SLIDER HORIZONTAL DE FOTOS PARA MÓVIL --- */
  .thumbnails {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    justify-content: flex-start !important; 
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .thumb-container {
    flex: 0 0 auto; 
  }
  .thumbnails::-webkit-scrollbar {
    height: 6px;
  }
  .thumbnails::-webkit-scrollbar-track {
    background: #1a1a1a; 
    border-radius: 10px;
  }
  .thumbnails::-webkit-scrollbar-thumb {
    background: #00A8E8; 
    border-radius: 10px;
  }
}