/* Variables y Tipografías */
@import url('https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --dark-plum: #331E36;
    --indigo: #41337A;
    --steel-blue: #6ea4bf;
    --pale-aqua: #78d5ce;
    --light-cream: #ECFEE8;
    --mint-cream: #F5FFFA;
    --jet: #333333;
}

/* Tipografías */
.raleway-font {
    font-family: "Raleway", sans-serif;
}
.quicksand-font {
    font-family: "Quicksand", sans-serif;
}

/* Base */
body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    background-color: var(--mint-cream);
    color: var(--jet);
    padding-top: 2rem;
}

header {
/* Ajuste para móvil */
height: 30rem; 
padding-top: 5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
 
.top {
position: fixed;
top: 0;
width: 100%;
height: 5rem; 
display: flex;
justify-content: space-between;
align-items: center; 
padding: 0 1rem; 
z-index: 10;
transition: background-color 0.3s ease;
}

/* Títulos del Logo */
.h1 a {
text-decoration: none;
color: var(--dark-plum);
}
h1 {
padding: 0;
margin: 0;
font-size: 1.5rem;
}
.logo-Span {
font-size: 1rem;
display: inline-block;
}



.menu-button {
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
display: block; /* Visible en móvil por defecto */
z-index: 11; 
}

nav {
/* Estado inicial: Oculto en móvil */
display: none; 
}

/* Estilo de la navegación al abrirse en móvil */
header.menu-open nav {
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(245, 255, 250, 0.95); /* var(--mint-cream) con transparencia */
z-index: 9;
align-items: center;
justify-content: center;
gap: 3rem;
}

header.menu-open nav a {
font-size: 1.8rem;
color: var(--dark-plum);
}






@media (min-width: 768px) {

/* Header/Top Bar */
header {
height: 0;
padding-top: 7rem;
}

.top {
padding: 0 2rem;
}

/* Ocultar el botón de menú en escritorio */
.menu-button {
display: none;
}

nav {
/* Mostrar navegación en escritorio y establecer su layout original */
display: flex; 
flex-direction: row;
position: static;
height: auto;
width: auto;
background-color: transparent;
z-index: 10;
align-items: center;
justify-content: flex-end;
gap: 2rem;
margin-right: 1rem;
}

nav a {
font-size: 1.2rem;
color: var(--jet); 
}

}


.h2{
    text-align: center;
}
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-cream);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(51, 30, 54, 0.1); /* Sombra basada en dark-plum */
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--dark-plum);
    font-family: "Raleway", sans-serif;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--pale-aqua);
    border-radius: 5px;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--steel-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 164, 191, 0.2); /* Sombra suave al enfocar */
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--indigo);
    color: var(--mint-cream);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--dark-plum); /* Oscurecer al pasar el ratón */
}


@media (min-width: 768px) {
    .form-container {
        padding: 3rem;
        max-width: 600px;
    }
}

footer{
background-color: var(--indigo);
color: var(--mint-cream);
display: flex;
flex-direction: column; /* Vertical en móvil */
align-items: center;
justify-content: center;
margin-top: 2rem;
width: 100%;
height: auto; 
padding: 2rem 1rem;
text-align: center;
}
#Contact{
color: var(--mint-cream);
margin-bottom: 1rem;
}
.footer-contact {
display: flex;
flex-direction: row; /* Íconos en fila incluso en móvil */
justify-content: center;
align-items: center;
flex-wrap: wrap; 
}
footer img{
width: 2.5rem; /* Iconos más pequeños en móvil */
filter: invert();
margin: 0.5rem 1rem; 
}
footer article {
width: 100%;
margin-top: 1rem;
font-size: 0.9rem;
}


@media (min-width: 768px) {

/* Footer */
footer {
height: 15rem; /* Altura fija en desktop */
}
.footer-contact {
flex-direction: row;
}
}