/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f5f7fa;
  overflow-x: hidden;
 background-image: url('background2.jpg') ;
}

/* Navigation */
nav {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgb(223 223 223 / 8%);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

nav .logo img {
  height: 60px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

nav .logo img:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Ensure content is pushed to the right */
  gap: 2rem;
}

.menu-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu-links a {
 text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

.menu-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ff4d4f;
  transition: width 0.3s ease;
}

.menu-links a:hover::after {
  width: 100%;
}

.menu-links a:hover {
  color: #ff4d4f;
}

.dropdown {
  position: relative;
  user-select: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 0.4rem 0;
  z-index: 200;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: #ff4d4f;
  color: #ffffff;
}

.dropdown:hover .dropdown-content,
.dropdown-content.show {
  display: flex;
  flex-direction: column;
}

a[data-toggle="dropdown"].active {
  color: #ff4d4f;
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.social-icons img {
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 105;
  margin-left: auto; /* Pushes hamburger to the far right */
}

.hamburger div {
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.open div:nth-child(2) {
  opacity: 0;
}

.hamburger.open div:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.text-content {
  flex: 1;
  min-width: 320px;
  padding-right: 1rem;
}

.text-content h1 {
  font-size: 3rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.subtitulo {
  font-size: 1.8rem;
  color: #ff4d4f;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.text-content ul {
  list-style: none;
  margin: 1.5rem 0;
}

.text-content ul li {
  font-size: 1.2rem;
  padding: 0.6rem 0;
  position: relative;
  color: #333;
}

.text-content ul li::before {
  content: '✦';
  color: #ff4d4f;
  position: absolute;
  left: -1.8rem;
  font-size: 1.2rem;
}

.despega {
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: 600;
  margin: 1.5rem 0;
  text-transform: uppercase;
}

/* Image Gallery */
.image-gallery {
  flex: 1;
  min-width: 320px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.image-gallery .descripcion {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
  line-height: 1.8;
}

.image-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #ffffff;
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-logo img {
  height: 70px;
  margin-bottom: 1rem;
  filter: brightness(1.2);
}

.footer-logo p {
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-contacto h4,
.footer-redes h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #ff4d4f;
}

.footer-contacto p {
  font-size: 1rem;
  margin: 0.6rem 0;
  opacity: 0.9;
}

.footer-redes .redes {
  display: flex;
  gap: 1.5rem;
}

.footer-redes img {
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-redes img:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .nav-right {
    width: 100%;
    justify-content: flex-end; /* Ensure hamburger stays on the right */
  }

  .hamburger {
    display: flex; /* Show hamburger on mobile */
    order: 2; /* Ensure hamburger is last in flex order */
  }

  #menuLinks {
           display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #000000;
        width: 250px;
        border-left: 3px solid #ff4d4f;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
  }


  #menuLinks.open {
    display: flex;
    max-height: 1000px;
  }

  .menu-links > a,
  .dropdown > a {
    padding: 1rem;
    border-bottom: 1px solid #f0f4ff;
    white-space: normal;
    font-size: 1rem;
    color:#f0f4ff;
  }

  .dropdown-content {
    position: relative;
    border: none;
    box-shadow: none;
    background: #f5f7fa;
    border-radius: 0;
    padding-left: 1rem;
    margin-bottom: 1rem;
  }

  .dropdown-content.show {
    display: flex;
    flex-direction: column;
  }

  .social-icons {
    padding: 1rem;
    justify-content: flex-start;
  }

  .content-section {
    flex-direction: column;
    gap: 2rem;
  }

  .text-content {
    padding-right: 0;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .text-content h1 {
    font-size: 2.5rem;
  }

  .subtitulo {
    font-size: 1.5rem;
  }

  .despega {
    font-size: 1.8rem;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  #menuLinks {
    display: flex !important;
    position: static;
    flex-direction: row;
    max-height: none;
    background: none;
    box-shadow: none;
    border: none;
    width: auto;
  }

  .menu-links > a,
  .dropdown > a {
    padding: 0.5rem 0.7rem;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .text-content h1 {
    font-size: 2rem;
  }

  .subtitulo {
    font-size: 1.3rem;
  }

  .despega {
    font-size: 1.5rem;
  }

  .image-gallery .descripcion {
    font-size: 1rem;
  }

  .image-gallery img {
    border-radius: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-redes .redes {
    justify-content: center;
  }

  .footer-logo img {
    height: 60px;
  }
}