/* Tipografía y colores base */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #2c2c2c;
    background-color: #f6f4ef;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    color: #2a3b36;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero (encabezado principal) */
.hero {
    text-align: center;
    background-color: #f6f4ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 1.2s ease-out both;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    max-width: 90%;
}

.logo {
    margin-top: 1rem;
    width: 220px;
    max-width: 90%;
    animation: fadeInUp 1s ease-out both;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* Botón */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4b6e63;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: #3e5a52;
    transform: translateY(-2px);
}

.btn:focus {
    outline: 3px dashed #b1cfc6;
    outline-offset: 4px;
}

/* Secciones */
.section {
    padding: 3rem 1rem;
    max-width: 1000px;
    margin: auto;
}

/* Columnas */
.columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.columns div {
    flex: 1;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.columns div:hover {
    transform: translateY(-5px);
    box-shadow: -11px 11px 19px 2px rgba(0,0,0,0.83);
-webkit-box-shadow: -11px 11px 19px 2px rgba(0,0,0,0.83);
-moz-box-shadow: -11px 11px 19px 2px rgba(0,0,0,0.83);
}

/* Responsive */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        max-width: 600px;
    }
    .columns {
        flex-direction: row;
    }
}

img .logo{
    background-color: #e8ebe6;
}
/* Formulario de contacto */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

form label {
    font-weight: bold;
    color: #2a3b36;
}

form input,
form textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #4b6e63;
    box-shadow: 0 0 0 2px rgba(75, 110, 99, 0.2);
    outline: none;
}

form textarea {
    resize: vertical;

}

form button[type="submit"] {
    align-self: center;
    margin-top: 0.1rem;
}
/* Centrar textos principales */
h1, h2, h3, p {
    text-align: center;
}

.link-destacado {
    color: #4b6e63;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #4b6e63;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.link-destacado:hover {
    outline: none;
    color: #2f4f46;
    border-bottom-color: #2f4f46;
    background-color: rgba(6, 8, 7, 0.238);
    padding: 2px 4px;
    border-radius: 4px;
}
.footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    font-family: 'Open Sans', sans-serif;
    color: #4b6e63;
}

.social-links {
    margin-top: 10px;
}

.social-icon {
    color: #4b6e63;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover,
.social-icon:focus {
    color: #2f4f46;
    transform: scale(1.2);
}

.icon-title {
    color: #4b6e63;
    margin-right: 8px;
    transition: color 0.3s ease;
}

h3:hover .icon-title {
    color: #2f4039;
}

.lista-vinetas {
  list-style-type: disc;  /* viñetas con punto */
  padding-left: 20px;     /* espacio a la izquierda para que no queden pegadas */
  margin: 0 auto;         /* centra la lista horizontalmente dentro del contenedor */
  max-width: 300px;       /* opcional: limita el ancho para que no ocupe todo */
  text-align: left;       /* alinea texto a la izquierda dentro de la lista */
    color: #2c2c2c;
}
