/* ===== TIPOGRAFÍAS ===== */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fdf8f3;
    color: #3a2c2c;
    font-size: 1rem;
}

h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #3a2c2c;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    border-bottom: 0.125rem solid #c5a572;
    display: flex;
    align-items: center;
    height: 5rem;
    padding: 0 3rem;
    position: relative;
    z-index: 1000;
    box-shadow: 0 0.125rem 0.3125rem rgba(0,0,0,0.05);
}

.header .logo {
    position: absolute;
    top: 1.5rem;
    left: 4rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.header .logo img {
    max-height: 9rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header .logo img:hover {
    transform: scale(1.05);
}

.navbar {
    margin-left: auto;
    display: flex;
    gap: 2rem;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    color: #3a2c2c;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 0.125rem;
    bottom: -0.25rem;
    left: 0;
    background: #c5a572;
    transition: width 0.3s ease-in-out;
}

.navbar a:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    height: 50vh;
    background: url('../IMG/img-background.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    border-bottom: 0.375rem solid #c5a572;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(44, 44, 44, 0.45);
}

.hero-texto {
    position: relative;
    z-index: 1;
}

.hero-texto h2 {
    font-size: 3rem; /* igual que antes */
    margin-bottom: 1rem;
    color: #f7f3ed;
}


.hero-texto p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #eaeaea;
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contacto {
    padding: 4rem 1.25rem;
}

.contacto-contenedor {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FORMULARIO */
.contacto-formulario {
    flex: 1 1 350px;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.3125rem 1rem rgba(0,0,0,0.1);
}

.contacto-formulario h2 {
    margin-bottom: 1.5rem;
}

.contacto-formulario label {
    display: block;
    margin: 0.5rem 0 0.25rem;
    font-weight: 600;
}

.contacto-formulario input,
.contacto-formulario textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.contacto-formulario textarea:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.contacto-formulario button {
    background-color: #c5a572;
    color: #2c2c2c;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.contacto-formulario button:hover {
    background-color: #8c6b4f;
    color: #fff;
}

/* ===== INFORMACIÓN DE CONTACTO Y DESTINOS ===== */
.contacto-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
}

.contacto-info h2 {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0.3125rem 1rem rgba(0,0,0,0.1);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item img.icono-red {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.info-item.selected {
    border: 2px solid #c5a572;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.2rem rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: #3a2c2c;
    color: #fdf8f3;
    text-align: center;
    padding: 2rem 1.25rem;
    margin-top: 3rem;
}

.footer a {
    color: #c5a572;
    text-decoration: none;
    margin: 0 0.625rem;
}

.footer a:hover {
    color: #fff;
}

.footer .redes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer .redes .icono-red {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

.footer .redes .icono-red:hover {
    transform: scale(1.2);
    filter: invert(70%) sepia(30%) saturate(300%) hue-rotate(20deg);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .contacto-contenedor {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
        padding: 1rem;
    }

    .hero-texto h1 {
        font-size: 2rem;
    }

    .hero-texto p {
        font-size: 1rem;
    }

    .contacto-formulario,
    .contacto-info {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero-texto h1 {
        font-size: 1.6rem;
    }

    .hero-texto p {
        font-size: 0.9rem;
    }

    .info-item {
        font-size: 0.9rem;
        gap: 0.75rem;
    }
}
