* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

html::-webkit-scrollbar {
    display: none;
}

.header {
    min-height: 10vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(Images/torno.jpeg);
    background-position: center;
    background-size: 100%;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

nav img {
    width: clamp(80px, 15vw, 100px);
    height: auto;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: clamp(12px, 1.5vw, 15px);
}

.nav-links ul li::after {
    content: '';
    width: 0;
    height: 2px;
    background: #1e93e1;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #1e93e1;
}
       
button:hover {
    background: #45a049;
    }

/* Footer */
p {
    font-size: clamp(15px, 2vw, 15px);
    color: white;
    text-align: center;
    margin: 0;
}

footer {
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 2%;
    gap: 20px;
    text-align: center;
}
/* formato del correo etc. */
        h1 {
            color: #444;
            text-align: center;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        
        .contact-wrapper {
            display: flex;
            gap: 30px;
        }
        
        .contact-form {
            flex: 1;
            background: rgb(255, 255, 255);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
            margin-bottom: 60px;
            margin-left: 1.5%;
        }
        
        .map-container {
            flex: 1;
            margin-bottom: 60px;
            margin-right: 1.5%;
        }
        
        .map {
            width: 100%;
            height: 100%;
            min-height: 500px;
            border: 0;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }
        
        input[type="text"],
        input[type="email"],
        textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
        }
        
        textarea {
            height: 150px;
            resize: vertical;
        }
        
        button {
            background: #014c8ecc;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.3s;
        }
        
        button:hover {
            background: #002647;
        }
        

        .form-success {
            display: none;
            background: #dff0d8;
            color: #3c763d;
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 20px;
            text-align: center;
        }

        @media (max-width: 768px) {
            .contact-wrapper {
                flex-direction: column;
            }
            
            .map {
                min-height: 300px;
            }
        }    
/*hasta aqui*/
@media (max-width: 768px) {
    .hamburger {
        display: block;
        order: 2;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: linear-gradient(135deg, #013c6e 5%, #1478dc 100%);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        text-align: center;
        padding-top: 80px;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul li {
        display: block;
        padding: 20px 0;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active ul li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links ul li a {
        font-size: 18px;
        padding: 10px 20px;
        display: block;
        transition: color 0.3s ease;
    }

    .nav-links ul li a:hover {
        color: #1e93e1;
    }

    .footer {
        flex-direction: column;
    }

    .info-contact {
        flex: 1 1 100%;
        margin: 10px 0;
    }
}

