/* Estilos personalizados para Zona de Padel Careers */
/* Tailwind CSS maneja la mayoría de utilidades, este archivo solo para estilos específicos */

/* Fuentes personalizadas - Comentado hasta que se suban los archivos */
/*
@font-face {
    font-family: "BeVietnamPro";
    font-weight: 300;
    font-style: normal !important;
    font-display: swap;
    src: url("../fonts/beVietnamPro/BeVietnamPro-Light.ttf");
}

@font-face {
    font-family: "BeVietnamPro";
    font-weight: 600;
    font-style: normal !important;
    font-display: swap;
    src: url("../fonts/beVietnamPro/BeVietnamPro-SemiBold.ttf");
}

@font-face {
    font-family: "BeVietnamPro";
    font-weight: 800;
    font-style: normal !important;
    font-display: swap;
    src: url("../fonts/beVietnamPro/BeVietnamPro-Bold.ttf");
}
*/

/* Variables CSS personalizadas */
:root {
    --brand-primary: #1a4d8f;
    --brand-secondary: #2563eb;
    --brand-accent: #3b82f6;
}

/* Configuración base de fuente */
body { 
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    line-height: 1.6;
    font-weight: 300;
}

/* Estilos para contenido de texto */
.prose a { 
    color: var(--brand-primary); 
    text-decoration: underline;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: var(--brand-secondary);
}

/* Animaciones personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos para tarjetas de ofertas */
.oferta-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.oferta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

/* Estilos para imágenes de portada de ofertas */
.oferta-imagen-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.oferta-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.oferta-card:hover .oferta-imagen {
    transform: scale(1.05);
}

/* Responsive adjustments para imágenes de ofertas */
@media (max-width: 768px) {
    .oferta-imagen-container {
        height: 150px;
    }
}

/* Estilos para botones personalizados */
.btn-primary {
    background-color: var(--brand-primary);
    color: white;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--brand-secondary);
    transform: translateY(-1px);
}

/* Estilos para formularios */
.form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 143, 0.1);
}

/* Estilos para sección Hero con imagen de cabecera */
.hero-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 2rem;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
}

.hero-image-desktop {
    display: block;
}

.hero-image-mobile {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-custom {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-image-desktop {
        display: none !important;
    }
    
    .hero-image-mobile {
        display: block !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding-bottom: 2rem;
    }
}

/* Estilos para el modal de mensajes de candidatos */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    display: flex;
    flex-direction: column;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .modal-container {
    transform: scale(0.95);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 0 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.modal-contenido {
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.modal-contenido .whitespace-pre-wrap {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-contenido p {
    margin-bottom: 1rem;
}

.modal-contenido p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.btn-cerrar {
    background-color: var(--brand-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cerrar:hover {
    background-color: var(--brand-secondary);
    transform: translateY(-1px);
}

.btn-cerrar:active {
    transform: translateY(0);
}

/* Responsive adjustments para el modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95vw;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modal-contenido {
        max-height: 300px;
    }
}

