/* Modern Contact Section Styles */
:root {
    --wine-red: #a83d4a;
    --light-wine-red: #d45d6b;
    --dark-wine: #8a2a36;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Modern Contact Section */
.modern-contact-section {
    position: relative;
    padding: 6rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Contact Form Styles */
.contact-form-container {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--wine-red), #d4a76a);
}

.contact-form-container .section-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.contact-form-container .section-header h2 {
    font-size: 2.2rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact-form-container .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--wine-red);
}

.contact-form-container .section-header .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wine-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.contact-form-container .section-header p {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Form Elements */
.modern-contact-form {
    width: 100%;
}

/* Estilos para los grupos de formulario */
.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Estilos para los grupos de entrada */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Estilos para los iconos */
.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wine-red);
    font-size: 1.1rem;
}

/* Estilos para los campos de entrada */
.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #2d3436;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Estilo para el área de texto */
.textarea-group {
    margin-top: 0.5rem;
}

.textarea-group i {
    top: 20px;
    transform: none;
}

textarea.form-control {
    min-height: 120px;
    padding-top: 15px;
    resize: vertical;
}

/* Estilos para el botón de enviar */
.submit-btn {
    background: linear-gradient(135deg, var(--wine-red), var(--dark-wine));
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--dark-wine), var(--wine-red));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 61, 74, 0.3);
}

/* Estilos para el placeholder */
.form-control::placeholder {
    color: #95a5a6;
    opacity: 1;
}

/* Estilos para el foco en los campos */
.form-control:focus {
    border-color: var(--wine-red);
    box-shadow: 0 0 0 3px rgba(168, 61, 74, 0.2);
    outline: none;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        width: 100%;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

.modern-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.modern-contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.modern-contact-form .form-group label {
    position: static !important;
    display: block;
    margin: 0 0 0.5rem 0;
    padding-left: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    transform: none !important;
    pointer-events: auto;
}

.modern-contact-form .input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.modern-contact-form .input-group i {
    position: absolute;
    left: 18px;
    top: 44px;
    transform: none;
    color: #95a5a6;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.modern-contact-form .form-control {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    color: #2d3436;
    caret-color: #2d3436;
    -webkit-text-fill-color: #2d3436;
    background-color: #fff;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.modern-contact-form .form-control::placeholder {
    color: #636e72;
    opacity: 1;
    -webkit-text-fill-color: #636e72;
}

.modern-contact-form .form-control:focus {
    border-color: var(--wine-red);
    box-shadow: 0 0 0 3px rgba(168, 61, 74, 0.1);
    outline: none;
    background-color: #fff;
}

.modern-contact-form .textarea-group {
    position: relative;
}

.modern-contact-form .textarea-group i {
    position: absolute;
    left: 18px;
    top: 52px;
    color: #95a5a6;
    font-size: 1.1rem;
}

.modern-contact-form textarea.form-control {
    min-height: 150px;
    padding: 15px 20px 15px 50px;
    resize: vertical;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wine-red);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.submit-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.submit-btn:hover {
    background: #8a2a36;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 61, 74, 0.3);
}

/* Contact Info Styles */
.contact-info-container {
    position: relative;
}

.contact-info-box {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d4a76a, var(--wine-red));
}

.contact-info-box h3 {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--wine-red);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 167, 106, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
    color: var(--wine-red);
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: #2d3436;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-details p,
.contact-details a {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--wine-red);
}

.social-links {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.social-links h4 {
    font-size: 1.1rem;
    color: #2d3436;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #636e72;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--wine-red);
    color: #fff;
    transform: translateY(-3px);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #636e72;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--wine-red);
    color: #fff;
}

.lang-separator {
    color: #e0e0e0;
    font-weight: 300;
    margin: 0 2px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .contact-form-container,
    .contact-info-box {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modern-contact-section {
        padding: 4rem 0;
    }
    
    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container,
    .contact-info-box {
        padding: 2rem;
    }
    
    .contact-form-container .section-header h2,
    .contact-info-box h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container,
    .contact-info-box {
        padding: 1.8rem 1.5rem;
    }
    
    .contact-form-container .section-header h2,
    .contact-info-box h3 {
        font-size: 1.6rem;
    }
    
    .language-switcher {
        bottom: 20px;
        right: 20px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
