/* === PÁGINA BIENVENIDO SOCIO === */
/* Paleta de colores:
   - Header: Terracota #C67854
   - Sidebar: Marrón terracota #8B6B5C
   - Botones: Beige/dorado #D9A574 con hover #C89465
   - Fondo: Beige claro #F5E6D3
*/

/* Importar tipografía Feather Bold */
@import url('https://fonts.cdnfonts.com/css/feather-bold');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Feather Bold', 'Arial', 'Helvetica', sans-serif;
    background-color: #F5E6D3 !important;
    /* Fondo beige claro */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #4A4A4A;
}

/* === HEADER === */
.header {
    background-color: #C67854 !important;
    background: linear-gradient(135deg, #C67854 0%, #B56744 100%) !important;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo .circle {
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 40px;
    font-weight: 900;
    color: #C67854;
}

.logo h1 {
    color: #FFFFFF;
    font-size: 48px !important;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-header {
    background-color: #D9A574;
    color: #2C2C2C;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-header:hover {
    background-color: #C89465;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-header:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* === MAIN CONTAINER === */
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px;
}

.content-wrapper {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* === IMAGE CONTAINER === */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-image {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.image-placeholder {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, #D9A574 0%, #C67854 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(139, 107, 92, 0.3);
}

.placeholder-icon {
    font-size: 120px;
    margin-bottom: 20px;
}

.placeholder-text {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

/* === WELCOME CONTENT === */
.welcome-content {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.8s ease-out;
}

.welcome-title {
    color: #8B6B5C;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.welcome-subtitle {
    color: #4A4A4A;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
    font-weight: 500;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.btn-action {
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    line-height: 1.4;
    display: block;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #D9A574 0%, #C89465 100%);
    color: #FFFFFF;
    text-transform: uppercase;
}

.btn-action:hover {
    background: linear-gradient(135deg, #C89465 0%, #B6784D 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(139, 107, 92, 0.4);
}

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

/* === FOOTER === */
.footer {
    background-color: #2C2C2C;
    color: #F5E6D3;
    padding: 15px 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 13px;
    margin-bottom: 5px;
    color: #D9A574;
    font-weight: 500;
}

.footer-email {
    color: #F5E6D3;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-email:hover {
    color: #D9A574;
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .content-wrapper {
        gap: 60px;
    }

    .welcome-title {
        font-size: 30px;
    }
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .welcome-title {
        font-size: 30px;
    }

    .image-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .logo h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .logo .circle {
        width: 40px;
        height: 40px;
        font-size: 32px;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-header {
        text-align: center;
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .main-container {
        padding: 40px 20px;
    }

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

    .welcome-subtitle {
        font-size: 16px;
    }

    .btn-action {
        font-size: 16px;
        padding: 16px 32px;
    }

    .welcome-image {
        max-width: 100%;
    }

    .image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .footer-text {
        font-size: 14px;
    }

    .footer-email {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 24px;
    }

    .welcome-subtitle {
        font-size: 14px;
    }

    .logo h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .logo .circle {
        width: 40px;
        height: 40px;
        font-size: 32px;
    }

    .action-buttons {
        max-width: 100%;
    }
    
    .btn-action {
        font-size: 16px;
    }
}

/* === ANIMACIONES === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === ACCESIBILIDAD === */
.btn-header:focus,
.btn-action:focus,
.footer-email:focus {
    outline: 3px solid #D9A574;
    outline-offset: 2px;
}

/* === MEJORAS VISUALES === */
.btn-primary {
    background: linear-gradient(135deg, #D9A574 0%, #C89465 100%);
    font-size: 17px !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #8B6B5C 0%, #75594D 100%);
    font-size: 17px !important;
}

/* ===
 MODO OSCURO PARA VISTA BIENVENIDO === */
[data-theme="dark"] body {
    background: #0B1220 !important;
    color: #E5E7EB !important;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #1F2937 0%, #0B1220 100%) !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle {
    color: #E5E7EB !important;
}

[data-theme="dark"] .features-section {
    background: #0B1220 !important;
}

[data-theme="dark"] .feature-card {
    background: #1F2937 !important;
    border-color: #374151 !important;
}

[data-theme="dark"] .feature-title {
    color: #E5E7EB !important;
}

[data-theme="dark"] .feature-description {
    color: #9CA3AF !important;
}

/* === ALTO CONTRASTE === */
[data-theme="high-contrast"] body {
    background: #000000 !important;
    color: #FFFF00 !important;
}

[data-theme="high-contrast"] .hero-section {
    background: #000000 !important;
    border: 3px solid #FFFFFF !important;
}

[data-theme="high-contrast"] .hero-title {
    color: #FFFF00 !important;
    font-weight: 900 !important;
}

[data-theme="high-contrast"] .hero-subtitle {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

[data-theme="high-contrast"] .feature-card {
    background: #000000 !important;
    border: 3px solid #FFFFFF !important;
}

[data-theme="high-contrast"] .feature-title {
    color: #FFFF00 !important;
    font-weight: 900 !important;
}

[data-theme="high-contrast"] .feature-description {
    color: #FFFFFF !important;
}

/* === ESCALA DE GRISES === */
[data-grayscale="true"] body {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important;
}
