/* Estilos base */
header {
    background-color: #6AA815;
    border-bottom: 1px solid #6AA815;
}

.header-container {
    display: flex;
    align-items: center;
    padding: 5px 0 5px 15%;
}

.logo img {
    height: 55px;
}

.menu {
    padding-left: 5px;
}

.menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0%;
}

.menu ul li {
    margin: 0 15px;
}

.menu ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: "Darker Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color 0.3s ease;
}

.menu ul li a.active {
    color: white;
}

.menu ul li a:hover {
    color: #e7e7e7;
}

.contact-info {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-family: "Darker Grotesque", sans-serif;
    font-size: 20px;
}

.contact-info img {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

/* Ícono hamburguesa */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    margin-left: auto;
    padding-right: 15px;
}

/* Menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 280px;
    background-color: #6AA815;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    padding: 20px 15px;
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.side-menu-header .logo img {
    height: 45px;
}

.close-btn {
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Navegación en menú lateral */
.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav ul li {
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.side-nav ul li a {
    text-decoration: none;
    color: white;
    font-family: "Darker Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.side-nav ul li a.active {
    color: white;
}

.side-nav ul li a:hover {
    color: #e7e7e7;
}

/* Contacto en menú lateral */
.side-contact-info {
    display: flex;
    align-items: center;
    color: white;
    font-family: "Darker Grotesque", sans-serif;
    font-size: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.side-contact-info img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* Responsivo tablets */
@media (max-width: 1024px) {
    .header-container {
        padding: 10px 5%;
        justify-content: space-between;
    }

    .logo img {
        height: 50px;
    }

    .menu ul {
        gap: 10px;
    }

    .menu ul li {
        margin: 0 10px;
    }

    .menu ul li a {
        font-size: 18px;
    }

    .contact-info {
        font-size: 18px;
    }
}

/* Responsivo móviles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 5%;
        position: relative;
    }

    .hamburger {
        display: block;
    }

    .menu,
    .contact-info {
        display: none !important;
    }

    .logo img {
        height: 45px;
    }
}

/* Responsivo móviles pequeños */
@media (max-width: 480px) {
    .header-container {
      flex-direction: row; /* <-- mantenemos row, no column */
      align-items: center;
      padding: 8px 5%;
    }
  
    .logo img {
      height: 40px;
    }
  
    .menu ul li a {
      font-size: 16px;
    }
  
    .contact-info {
      font-size: 14px;
      flex-direction: row;
    }
  
    .contact-info img {
      width: 14px;
      height: 14px;
    }
  }