/* Estilos para Computadores JD - Optimizado para personas mayores */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    line-height: 1.6;
    font-size: 20px; /* Tamaño base más grande para mejor legibilidad */
}

/* Sección principal con imagen de fondo */
.background-div {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://computadoresjd.com.co/wp-content/uploads/backgroun-computadorajd.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    padding: 40px 20px;
    backdrop-filter: blur(1px);
}

.background-div h1 {
    font-size: 3rem; /* Texto muy grande */
    font-weight: bold;
    margin: 0 0 30px 0;
    max-width: 900px;
    line-height: 1.3;
}

/* Botón de contacto */
.contact-button {
    margin-top: 30px;
    transition: transform 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.05);
}

.contact-button img {
    width: 100%;
    max-width: 600px;
    min-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    padding: 10px;
}

/* Secciones de contenido */
.content-section {
    background-color: white;
    width: 100%;
    padding: 50px 20px;
    text-align: center;
    border-bottom: 3px solid #e0e0e0;
}

.content-section h2 {
    font-size: 2.8rem; /* Títulos muy grandes */
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
}

.content-section p {
    font-size: 1.8rem; /* Párrafos grandes */
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.content-section img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 1.4rem;
    font-weight: bold;
}

/* Media Queries para diferentes dispositivos */

/* Tablets grandes */
@media (max-width: 1024px) {
    .background-div h1 {
        font-size: 2.5rem;
    }
    
    .content-section h2 {
        font-size: 2.4rem;
    }
    
    .content-section p {
        font-size: 1.6rem;
    }
    
    .contact-button img {
        max-width: 550px;
        min-width: 420px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .background-div {
        min-height: 50vh;
        background-attachment: scroll;
    }
    
    .background-div h1 {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 40px 15px;
    }
    
    .content-section h2 {
        font-size: 2.2rem;
    }
    
    .content-section p {
        font-size: 1.5rem;
    }
    
    .contact-button img {
        max-width: 500px;
        min-width: 400px;
    }
}

/* Móviles grandes */
@media (max-width: 600px) {
    body {
        font-size: 18px;
    }
    
    .background-div {
        min-height: 45vh;
        padding: 30px 15px;
    }
    
    .background-div h1 {
        font-size: 1.9rem;
        margin-bottom: 25px;
    }
    
    .content-section {
        padding: 35px 15px;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .content-section p {
        font-size: 1.4rem;
    }
    
    .contact-button img {
        max-width: 450px;
        min-width: 380px;
    }
    
    footer {
        font-size: 1.2rem;
        padding: 25px 15px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .background-div h1 {
        font-size: 1.7rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-section p {
        font-size: 1.3rem;
    }
    
    .contact-button img {
        max-width: 420px;
        min-width: 350px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .background-div h1 {
        font-size: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section p {
        font-size: 1.2rem;
    }
    
    .contact-button img {
        max-width: 380px;
        min-width: 320px;
    }
    
    .content-section {
        padding: 25px 10px;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .contact-button {
        transition: none;
    }
    
    .background-div {
        background-attachment: scroll;
    }
}

/* Alto contraste para mejor legibilidad */
@media (prefers-contrast: high) {
    .content-section p {
        color: #000;
    }
    
    .content-section h2 {
        color: #000;
    }
}