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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h3 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #00adb5;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  background-color: #00adb5;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #2cdee7;
  color: #f5f5f5;
  transform: translateY(-2px);
}

/* Navbar base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #202023;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links a.active {
  border-bottom: 2px solid #00adb5;
}

.nav-links li a:hover {
  color: #00adb5;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Animation */
.hamburger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay con efecto fade */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar nav que se desliza desde la derecha */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease;
}

/* Page Header */
.page-header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  margin: 0;
  font-size: 2.5rem;
}

/* Contact Content */
.contact-content {
  padding: 80px 0;
}

.contact-info-full {
  max-width: 1000px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 24px;
  color: #00adb5;
  margin-right: 20px;
  margin-top: 5px;
}

.info-item h3 {
  margin-bottom: 5px;
}

.email-button-container {
  text-align: center;
  padding: 30px;
  background-color: #eaeaea;
  border-radius: 8px;
  margin-top: 30px;
}

.email-button-container h3 {
  margin-bottom: 10px;
}

.email-button-container p {
  margin-bottom: 20px;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.email-btn i {
  font-size: 18px;
}

/* Map Section */
.map {
  background-color: #1a1a1a;
  text-align: center;
}

iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.map h2 {
  margin-bottom: 30px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* FOOTER */
.main-footer {
  background-color: #202023;
  color: #eaeaea;
  padding: 4rem 2rem 2rem;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Top Info */
.footer-top-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-top-info .info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-top-info .info-item i {
  color: #00adb5;
}

.footer-top-info .info-item a {
  color: #ccc;
  text-decoration: none;
}

.footer-top-info .info-item a:hover {
  color: #fff;
}

.main-footer h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 3rem;
  color: #fff;
}

/* Footer columns */
.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: left;
  margin-bottom: 3rem;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #00adb5;
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00adb5;
}

.footer-column a.active {
  border-bottom: 2px solid #00adb5;
}

.footer-column p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Bottom line */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #00adb5;
}

/* Media Queries */
@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navbar */

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    background-color: #202023;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .nav-links.nav-active {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1.5rem;
  }

  /* info */
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* Footer */

  .footer-top-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .main-footer h2 {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .footer-column h3 {
    font-size: 1rem;
  }

  .footer-bottom {
    text-align: center;
    padding: 1rem 0;
  }

  .footer-bottom p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .footer-bottom a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #00adb5;
    text-decoration: none;
  }

  .footer-bottom a:hover {
    color: #ffffff;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }
  
  .page-header {
    padding: 40px 0;
  }
  
  .btn {
    padding: 10px 20px;
  }
}