/* Fuentes premium con más personalidad */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

/* Estilos base del diseño */
:root {
  --primary-color: #e62e00;
  --secondary-color: #1a1a1a;
  --light-color: #f5f5f5;
  --dark-color: #121212;
  --accent-color: #ffbb00;
  --primary-rgb: 230, 46, 0;
  --secondary-rgb: 26, 26, 26;
  --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg,
        rgba(230, 46, 0, 0.1) 0%,       /* Rojo opaco */
        rgba(230, 46, 0, 0.1) 15%,
        rgba(255, 202, 40, 0.1) 15%,    /* Amarillo opaco */
        rgba(255, 202, 40, 0.1) 30%,
        rgba(230, 46, 0, 0.1) 30%,
        rgba(230, 46, 0, 0.26) 45%,
        rgba(245, 245, 245, 0.5) 45%,  /* Gris claro semi-transparente */
        rgba(245, 245, 245, 0.5) 60%,
        rgba(230, 46, 0, 0.1) 60%,
        rgba(230, 46, 0, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    background-attachment: fixed;
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Barra de navegación futurista */
.navbar {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-all);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(0,0,0,0.98) !important;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: var(--transition-all);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: var(--transition-all);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.nav-link:hover::before {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* Hero Section para Contacto */
.contact-hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%), 
              url('../fotos/bushidotodos.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: -50px;
  position: relative;
}

.contact-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact-hero h1 span {
  color: var(--primary-color);
}

.contact-hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Contenedor principal de formulario e info */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

/* Formulario de contacto */
.contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-all);
}

.contact-form:hover {
  box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.2);
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  letter-spacing: 2px;
  position: relative;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

/* Campos del formulario */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition-all);
  background-color: rgba(0, 0, 0, 0.02);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
  background-color: white;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Botón de submit */
.submit-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  background: var(--primary-color);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-all);
  margin-top: 1rem;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.submit-btn:hover {
  background: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

/* Info de contacto */
.contact-info {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact-text h4 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

.contact-text p, 
.contact-text a {
  color: #555;
  text-decoration: none;
  transition: var(--transition-all);
}

.contact-text a:hover {
  color: var(--primary-color);
}

/* Contenedor de mapas (AHORA SEPARADO Y DEBAJO) */
.contactmaps {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1200px;
  margin: 1rem auto; /* Ensures it's clearly below and centered */
  position: relative;
  z-index: 2;
  display: flex; /* Flexbox for horizontal arrangement of maps */
  flex-wrap: wrap; /* Allows maps to wrap on smaller screens */
  justify-content: center; /* Centers maps horizontally */
  gap: 2rem; /* Space between maps */
}

/* Estilo para cada mapa individual dentro de contactmaps */
.contact-map {
  flex: 1; /* Each map takes up equal available space */
  min-width: 300px; /* Minimum width for each map before wrapping */
  max-width: 500px; /* Optional: set a max-width if you don't want them too wide on very large screens */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* No margin-top here as gap handles spacing */
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}


/* Redes sociales */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: var(--transition-all);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}


/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: white;
}

.footer-about p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition-all);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aaa;
  margin-bottom: 1rem;
}

.footer-contact i {
  color: var(--primary-color);
}
.contactmaps h1{
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
      flex-direction: column;
      align-items: center;
  }
  
  .contact-form,
  .contact-info {
      width: 100%;
      max-width: 600px;
  }
  
  .contact-hero h1 {
      font-size: 3.5rem;
  }

  .contactmaps {
      flex-direction: column; /* Stack maps vertically on smaller screens */
      align-items: center;
      padding: 2rem 1.5rem; /* Adjust padding for smaller screens */
  }
  
  .contact-map {
      width: 100%; /* Full width for stacked maps */
      max-width: 600px; /* Limit max width to match form/info */
  }
}

@media (max-width: 768px) {
  .contact-hero {
      height: 40vh;
  }
  
  .contact-hero h1 {
      font-size: 3rem;
  }
  
  .contact-hero p {
      font-size: 1.1rem;
  }
  
  .contact-container {
      padding: 3rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .contact-hero {
      height: 35vh;
      clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }
  
  .contact-hero h1 {
      font-size: 2.5rem;
  }
  
  .contact-form,
  .contact-info {
      padding: 2rem;
  }
  
  .contact-title {
      font-size: 2rem;
  }
}

@media (max-width: 400px) {
  .contact-form,
  .contact-info {
      padding: 1.5rem;
  }
  
  .footer-container {
      grid-template-columns: 1fr;
  }
}