* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #333;
  padding: 0;
  margin: 0;
  padding-top: 70px; 
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #2c3e50;
  color: white;
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%;
  z-index: 1000; 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #3498db;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #2c3e50;
  padding: 0;
  margin: 0;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-links li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 15px 20px;
  transition: all 0.3s;
}

.nav-links a:hover {
  background-color: #34495e;
  padding-left: 25px;
}

.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: " ▼";
  font-size: 0.8em;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  background-color: #34495e;
  transition: max-height 0.4s ease;
}

.dropdown.active .dropdown-content {
  max-height: 300px;
  overflow-y: auto; 
}

.dropdown-content a {
  padding: 12px 20px !important;
  font-size: 14px !important;
  color: #ecf0f1 !important;
  display: block;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:hover {
  background-color: #3498db;
  color: white !important;
}

.menu-toggle {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.content {
  padding: 20px; 
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  flex-grow: 1;
}

h1 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.device-info {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  text-align: left;
}

.section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  scroll-margin-top: 80px; 
}

.section h3 {
  color: #2c3e50;
  margin-bottom: 10px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* .imagen-container {
  width: 80%; 
}*/

.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.imagen-tienda{
      display: flex; 
      justify-content: center; 
      gap: 10px; 
}

.imagen-tienda img{
        max-width: 50%; 
      height: auto; 
      flex: 1; 
}
    @media (max-width: 600px) {
      .imagen-tienda {
        flex-direction: column;
        align-items: center;
      }

        .imagen-tienda img {
        width: 80%; 
      }
    }






@media (min-width: 768px) {
  .navbar {
    justify-content: flex-start;
  }
  
  .nav-links {
    position: static;
    flex-direction: row;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: auto;
    background-color: transparent;
    display: flex;
    margin-left: 40px;
    border-top: none;
  }

  .nav-links li {
    margin: 0 10px;
    border-bottom: none;
  }

  .nav-links a {
    padding: 10px 15px;
    border-radius: 4px;
  }

  .nav-links a:hover {
    background-color: #34495e;
    padding-left: 15px;
  }

  .dropdown {
    position: relative;
  }

  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
  }

  .dropdown-content a {
    padding: 10px 15px !important;
  }

  .dropdown:hover .dropdown-content {
    max-height: 300px;
    overflow-y: auto;
  }

  .menu-toggle {
    display: none;
  }
  
  .dropdown > a::after {
    content: " ▼";
  }
}

@media (max-width: 767px) {
  .dropdown.active > a {
    background-color: #34495e;
    color: #3498db;
  }
  
  .dropdown-content {
    max-height: 0;
    background-color: #2c3e50;
  }
  
  .dropdown.active .dropdown-content {
    max-height: 300px;
    overflow-y: auto;
  }

  .dropdown-content::-webkit-scrollbar {
    width: 6px;
  }

  .dropdown-content::-webkit-scrollbar-track {
    background: #2c3e50;
  }

  .dropdown-content::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
  }

  .dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
  }
}


.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.floating-button.visible {
  opacity: 1;
  visibility: visible;
}

.floating-button:hover {
  background-color: #2980b9;
  transform: scale(1.1);
}


@media (min-width: 768px) {
  .floating-button {
    display: none;
  }
}