/* CSS para la página de Contacto */

/* Secciones generales */
.contact-main-section {
    padding: 80px 0;
}

/* Etiqueta de sección */
.section-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #5E6A39;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Título de sección */
.section-title {
    font-family: 'Switzer', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #5E6A39;
    margin-bottom: 30px;
    text-align: left;
}

/* Información de contacto */
.contact-info {
    margin-bottom: 40px;
}

.address-item p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #5E6A39;
    margin-bottom: 20px;
}

.phone-item p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0.07em;
    margin-bottom: 20px;
}

/* Estilo para el enlace telefónico en contacto */
.contact-phone {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #5E6A39;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-phone:hover {
    color: #AE531A;
    text-decoration: none;
}

.email-item p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.07em;
    margin-bottom: 20px;
}

/* Estilo para el enlace de email en contacto */
.contact-email {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #AE531A;
    text-decoration: none;
    position: relative;
}

/* Underline para las dos primeras letras del email */
.contact-email::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 18px; /* Ancho aproximado para dos letras */
    height: 1px;
    background-color: #AE531A;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: #5E6A39;
}

/* Al hacer hover, el underline cambia a 5 letras y adopta el color del hover */
.contact-email:hover::after {
    width: 45px; /* Ancho aproximado para cinco letras */
    background-color: #5E6A39;
}

/* Botón de WhatsApp */
.whatsapp-item {
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #5E6A39;
    border-radius: 100px;
    padding: 12px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #4A5429;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 106, 57, 0.3);
}

.whatsapp-btn i {
    font-size: 18px;
    color: #FAF2E5;
    margin-right: 10px;
}

.whatsapp-btn span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #FAF2E5;
    text-transform: uppercase;
}

/* Botón de Instagram */
.instagram-item {
    margin-bottom: 20px;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border-radius: 100px;
    padding: 12px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

.instagram-btn i {
    font-size: 18px;
    color: #FAF2E5;
    margin-right: 10px;
}

.instagram-btn span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.07em;
    color: #FAF2E5;
    text-transform: uppercase;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    color: #5E6A39;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.info-item p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.03em;
    color: #5E6A39;
    margin: 0;
}

.image-column {
    padding-left: 30px;
}

/* Contenedor de imagen redondeada */
.rounded-image-container {
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Esto crea un contenedor cuadrado */
}

.rounded-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover; /* Mantiene la proporción y cubre todo el espacio */
}

/* Redes sociales */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #5E6A39;
    color: #F6F5F0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #4A5429;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 106, 57, 0.3);
}

.social-icon i {
    font-size: 18px;
}

/* Formulario de contacto */
.contact-form {
    background-color: #DCDAAE;
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    background-color: #F6F5F0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    color: #5E6A39;
}

.form-control:focus {
    box-shadow: 0 0 0 2px #5E6A39;
    outline: none;
}

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

label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #5E6A39;
    margin-bottom: 10px;
    display: block;
}

/* Checkbox de política de privacidad */
.privacy-policy {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-top: 3px;
    margin-right: 10px;
    cursor: pointer;
}

.form-check-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #5E6A39;
    cursor: pointer;
}

.form-check-label a {
    color: #5E6A39;
    text-decoration: underline;
}

/* Botón primario */
.primary-btn {
    display: inline-block;
    background-color: #5E6A39;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.05em;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn:hover {
    background-color: #4A5429;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 106, 57, 0.3);
}

/* Mensajes de error y éxito */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-main-section {
        padding: 60px 0;
    }

    .content-column,
    .form-column {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .contact-main-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .info-item {
        margin-bottom: 15px;
    }

    .info-item i {
        font-size: 18px;
    }
}
