/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700&display=swap');

:root {
  --negro: #1C1C1C;
  --naranja: #FF6B00;
  --gold: #d4af37;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--negro);

}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(28,28,28,0.75), rgba(28,28,28,0.75)), 
              url('https://via.placeholder.com/1920x1080/ff6b00/ffffff?text=Mariano+Jimenez+722') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}
.rock{
  background: url(../img/rockywall.png);
   background-repeat: repeat repeat;
}

.bg-ubi {
  
 background:url(../img/pergolado.png) no-repeat fixed center top;
 /*background-size*/
-webkit-background-size:/*@@prefixmycss->No equivalent*/;
   -moz-background-size:cover;
     -o-background-size:/*@@prefixmycss->No equivalent*/;
        background-size:cover;
       min-height: 100vh;
}
.bg-ubi-2 {  
 background:url(../img/maps.png) no-repeat fixed center top;
 /*background-size*/
-webkit-background-size:/*@@prefixmycss->No equivalent*/;
   -moz-background-size:cover;
     -o-background-size:/*@@prefixmycss->No equivalent*/;
        background-size:cover;
       min-height: 100vh;
}
.bg-invierte {  
 background:url(../img/bg-invierte.png) no-repeat fixed center top;
 /*background-size*/
-webkit-background-size:/*@@prefixmycss->No equivalent*/;
   -moz-background-size:cover;
     -o-background-size:/*@@prefixmycss->No equivalent*/;
        background-size:cover;
       min-height: 100vh;
}
.fill-invierte{
   width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  min-height: 250px;
  padding-top: 20px;
  padding-bottom: 2px;
  min-height: 400px;
  background-image: url(../img/bg-invierte.png);
 }

/* Botones */
.btn-naranja {
  background-color: var(--naranja);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-naranja:hover {
  background-color: #e55a00;
  color: white;
  transform: translateY(-3px);
}

/* Botones */
.btn-verde {
  background-color: var(--green);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-verde:hover {
  background-color: #418117;
  color: white;
  transform: translateY(-3px);
}

/* Títulos de sección */
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--negro);
  text-align: center;
  margin-bottom: 3rem;
}

/* Otras utilidades */
.text-negro { color: var(--negro); }
.bg-negro { background-color: var(--negro); }
.text-naranja { color: var(--naranja); }

/* Botón + Detalles */
.btn-detalles {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-detalles:hover {
  background-color: var(--naranja);
  color: white;
  transform: scale(1.05); /* Zoom 10% */
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}
.hero {
  height: 100vh;
  min-height: 650px;
}

.hero video {
  object-fit: cover;
  z-index: 0;
}
.bg-lighter{
  background-color: rgba(225, 225, 225, .7);
}
.bg-darkest{
  background-color: rgba(25, 25, 25, .7);
}
.orange-text{
  color: #e55a00;
}
#proyecto{
  min-height: 100vh;
  padding-top: 100px;
}
/* BOTÓN FLOTANTE WHATSAPP - Versión Mejorada */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1100;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.whatsapp-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float:hover {
  background-color: #20ba5c;
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
  font-size: 28px;
}

/* Animación de pulso */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

/* ANIMACIONES AL HACER SCROLL */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.9s ease-out;
}

.animate-on-scroll.from-left {
  transform: translateX(-100px);
}

.animate-on-scroll.from-right {
  transform: translateX(100px);
}

.animate-on-scroll.from-bottom {
  transform: translateY(80px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Placeholders en modo oscuro */
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}

.form-control::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}
/* Cintillo Preventa */
.cintillo-preventa {
  background: linear-gradient(135deg, #1C1C1C 50%, #2a2a2a 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cintillo-preventa .bg-naranja {
  background-color: #FF6B00 !important;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.4);
}

/* PRELOADER */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1C1C1C;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  height: 90px;
  animation: pulse 2s infinite;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 107, 0, 0.3);
  border-top: 4px solid #FF6B00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
/* Parallax más oscuro */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0.55;        /* Más oscuro para mejor legibilidad */
}

/* Panel semi-transparente para texto */
.glass-panel {
  background: rgba(28, 28, 28, 0.85);   /* Negro con transparencia */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.gallery-grid-4x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.06);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid-4x4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid-4x4 {
    grid-template-columns: repeat(2, 1fr);
  }
}