/*!
=========================================================
* FoodHut Landing page - Modificado para VAAO GROUP
=========================================================

* Modificado para VAAO GROUP
* Basado en: Copyright: 2019 DevCRUD (https://devcrud.com)
=========================================================
*/

:root {
  --blue: #79A9F5;
  --indigo: #C45F90;
  --purple: #A16AE8;
  --pink: #ff214f;
  --red: #F85C70;
  --orange: #FF8882;
  --yellow: #FAD02C;
  --green: #A3C14A;
  --teal: #20c997;
  --cyan: #47D8E0;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #ff214f;
  --secondary: #6c757d;
  --success: #A3C14A;
  --info: #47D8E0;
  --warning: #FF8882;
  --danger: #F85C70;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Reset y estilos base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #f8f9fa;
  text-align: left;
  background-color: #000000 !important; /* Fondo negro */
}

/* Header con video de fondo */
.header {
  position: relative;
  overflow: hidden;
  height: 100vh;
  max-height: 900px;
  min-height: 750px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 37, 41, 0.85);
  z-index: -1;
}

.header .overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Galería - 6 imágenes por fila sin espacios */
.gallary {
  margin: 0 !important;
  padding: 0 !important;
}

.gallary.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gallary-item {
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
}

.gallary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none !important;
}

/* 6 columnas en pantallas grandes SIN ESPACIOS */
.gallary .gallary-item {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

/* Responsividad para la galería */
@media (max-width: 992px) {
  .gallary .gallary-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 768px) {
  .gallary .gallary-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .gallary .gallary-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Overlay para las imágenes */
.gallary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  text-decoration: none;
}

.gallary-overlay:hover {
  opacity: 1;
}

.gallary-icon {
  font-size: 2rem;
}

/* Estilos generales para fondos oscuros */
.bg-dark {
  background-color: #000000 !important;
}

.border-top {
  border-top-color: #333 !important;
}

/* Footer styles */
.social-icons a {
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

/* Ajustes para el navbar */
.custom-navbar {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Ajustes para botones */
.btn-primary {
  background-color: #ff214f;
  border-color: #ff214f;
}

.btn-primary:hover {
  background-color: #d4002c;
  border-color: #d4002c;
}

/* Estilos para textos */
.text-muted {
  color: #adb5bd !important;
}

/* Ajustes para secciones */
.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Ajustes para el logo en navbar */
.navbar-brand .brand-img {
  height: 40px;
  width: auto;
}

/* Ajustes para el footer */
.container.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Clases utilitarias */
.has-height-md {
  min-height: 300px;
}

.middle-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* Animaciones suaves */
.wow.fadeIn {
  animation-duration: 1s;
}

/* Estilos para enlaces */
a {
  color: #ff214f;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d4002c;
  text-decoration: none;
}

/* Ajustes para el overlay del header */
.overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* Estilos para los títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .display-2 {
    font-size: 4rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .display-2 {
    font-size: 3rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
}

/* Estilos para el botón principal */
.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.25rem;
  border-radius: 0.15rem;
}

/* Ajustes para las imágenes responsive */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Clase para no-gutters */
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Estilos para la navegación */
.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.nav-link.active {
  color: #ff214f !important;
}

/* Ajustes para el contenedor */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Estilos para filas y columnas */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-lg-2 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

/* Estilos para el efecto wow */
.wow {
  visibility: hidden;
}

/* Estilos para los íconos de redes sociales */
.ti-facebook, .ti-instagram, .ti-mobile {
  transition: all 0.3s ease;
}

.ti-facebook:hover, .ti-instagram:hover, .ti-mobile:hover {
  color: #ff214f !important;
}

/* Estilos para el email en el footer */
a[href^="mailto:"] {
  color: #fff;
}

a[href^="mailto:"]:hover {
  color: #ff214f;
  text-decoration: underline;
}

/* Estilos para el copyright */
.small {
  font-size: 80%;
  font-weight: 400;
}

/* Ajustes para la altura del header en móviles */
@media (max-width: 768px) {
  .header {
    min-height: 600px;
    height: 80vh;
  }
}

/* Estilos para el botón de ver menú */
.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 33, 79, 0.3);
}

/* Estilos para el logo en el footer */
.container.py-5 img {
  filter: brightness(0) invert(1); /* Hace el logo blanco */
}

/* Estilos para el título VAAO GROUP en el footer */
.container.py-5 h3 {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Estilos para el separador */
.border-top {
  border-top: 1px solid #333 !important;
}

/* Estilos para el contenedor de redes sociales */
.d-flex.justify-content-center {
  margin-top: 1rem;
}

/* Ajustes para el padding en móviles */
@media (max-width: 576px) {
  .container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .social-icons h5 {
    font-size: 1rem;
  }
}

/* Estilos para el overlay del video */
.video-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

/* Estilos para el texto sobre el video */
.overlay.text-white.text-center h1,
.overlay.text-white.text-center h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Estilos para mejorar la legibilidad */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Estilos para el contenedor de contacto */
.contact-info .d-flex {
  justify-content: center;
  align-items: center;
}

/* Estilos para los íconos de contacto */
.ti-email {
  color: #ff214f;
}

/* Estilos para el texto de derechos reservados */
.text-muted.small.mb-0 {
  opacity: 0.7;
}

/* Media query para tablets */
@media (max-width: 992px) {
  .gallary .gallary-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Media query para móviles grandes */
@media (max-width: 768px) {
  .gallary .gallary-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .navbar-brand .brand-txt {
    font-size: 1.5rem;
  }
}

/* Media query para móviles pequeños */
@media (max-width: 576px) {
  .gallary .gallary-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .social-icons .d-flex {
    flex-wrap: wrap;
  }
  
  .social-icons a {
    margin: 0.5rem;
  }
}

/* Estilos para el video en móviles */
@media (max-width: 768px) {
  .video-background {
    object-position: center;
  }
}

/* Estilos para mejorar el performance */
img {
  max-width: 100%;
  height: auto;
}

/* Estilos para prevenir overflow */
* {
  max-width: 100%;
}

/* Estilos para el smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Estilos para focus states (accesibilidad) */
a:focus,
button:focus {
  outline: 2px solid #ff214f;
  outline-offset: 2px;
}

/* Estilos para el loading state */
.video-background {
  background-color: #000;
}

/* Estilos para cuando el video no carga */
.video-background:not([src]) {
  background: linear-gradient(45deg, #000, #333);
}

/* Estilos para el texto alternativo del video */
video::after {
  content: "Video de fondo no disponible";
  display: none;
}

video:not([src])::after {
  display: block;
  color: white;
  text-align: center;
  padding: 2rem;
}