/* ------------- */
/* ESTILOS GLOBALES */
/* ------------- */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
}
/* Ensuring the background is #121212 and text is #fff */

.container {
    width: 80%;
    margin: auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 50px 0;
}

h1, h2 {
    color: #00bcd4;
}

section {
    margin-bottom: 40px;
}

.contact a {
    color: #00bcd4;
    text-decoration: none;
}

/* El atributo data-lang para switching de idioma */
[data-lang] {
    display: none;
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-switch img {
    width: 40px;
    height: auto;
    cursor: pointer;
}

.section-separator {
    border: none;
    border-top: 1px solid #555;
    margin: 3rem 0;
}

.card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

/* ------------- */
/* ESTILOS SECCIONES DE EXPERIENCIA */
/* ------------- */
.experience-item {
    margin-bottom: 1.5rem;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #292929;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.experience-header p {
    margin: 0;
}

.exp-toggle {
    margin-left: 1rem;
    font-weight: bold;
    color: #fff;
}

.experience-details {
    margin-left: 1rem;
}

/* ------------- */
/* ESTILOS FORMULARIO DE CONTACTO */
/* ------------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00bcd4;
}

.contact-form button {
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #00acc1;
}
