/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* COLORS */
:root {
  --black: #0f0f0f;
  --silver: #e5e5e5;
  --silver-dark: #9ca3af;
  --red: #b11226;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--black);
  color: var(--silver);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

/* NAVBAR */
.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 2rem 4rem;
}

.logo {
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--silver-dark);
  text-decoration: none;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 25vh;
}

.hero-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
}

/* BOTÓN PRINCIPAL */
.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--red);
  color: var(--silver);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}


/* SECTIONS */
section {
  padding: 6rem 2rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--silver-dark);
  margin-bottom: 3rem;
}

/* SERVICES */
.services-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 1px solid #1f1f1f;
  padding: 2rem;
  text-align: center;
}

/* ABOUT & CONTACT */
.about-container,
.contact-container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  z-index: 1000;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* TARJETAS DE SERVICIO */
.service-card {
  border: 1px solid #1f1f1f;
  padding: 2rem;
  background-color: #111;
  text-align: center;
  transition: 
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(177, 18, 38, 0.25);
}

/* DESTACADO */
.service-card.featured {
  border-color: var(--red);
}
/* =====================
   NAVBAR STICKY
===================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
}

/* Estado inicial (hero) */
.navbar {
  background-color: transparent;
  box-shadow: none;
}

/* Estado al hacer scroll */
.navbar.scrolled {
  background-color: rgba(15, 15, 15, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding: 1rem 4rem;
}

/* Para que el contenido no quede oculto */
.hero {
  padding-top: 90px;
}
/* =====================
   ANIMACIÓN CARDS SERVICIOS
===================== */

.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =====================
   MENU HAMBURGUESA
===================== */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 2px;
  width: 25px;
  background: var(--silver);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 15, 15, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
  }
}
/* =====================
   GALLERY
===================== */

.gallery {
  background-color: var(--black);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    transform 0.4s ease,
    filter 0.4s ease,
    box-shadow 0.4s ease;
}

.gallery-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
/* =====================
   LOGO NAVBAR
===================== */

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
}

.logo img {
  height: 38px;
  width: auto;
}

.logo span {
  font-size: 1.1rem;
  color: var(--silver);
}

/* Ajuste en móvil */
@media (max-width: 768px) {
  .logo span {
    font-size: 1rem;
  }

  .logo img {
    height: 34px;
  }
}
/* =====================
   GOOGLE MAPS
===================== */

.map-container {
  margin-top: 3rem;
  border: 1px solid #1f1f1f;
  overflow: hidden;
}
/* =====================
   INSTAGRAM FLOAT
===================== */

.instagram-float {
  position: fixed;
  bottom: 95px; /* encima de WhatsApp */
  right: 25px;
  background: #E1306C;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.instagram-float:hover {
  transform: scale(1.1);
}


