/* ================== CONFIGURACIÓN GENERAL ================== */
html, body {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* ================== LOGO Y HEADER ================== */
.logo1, .logo3, .logo2 {
    width: 100%;
    max-width: 120px;
    height: auto;
    padding: 10px;
}

.tituloPag {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
    color: #0f172a;
}

.barra1, .barra3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.nav-pills .nav-link {
    color: #334155;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
    margin: 0 5px;
    border-radius: 0.5rem;
}

.nav-pills .nav-link:hover {
    background-color: #38bdf8;
    color: #ffffff;
}

.nav-pills .nav-link.active {
    background-color: #0ea5e9;
    color: #ffffff;
}

/* ================== TEXTO PRINCIPAL ================== */
.principio {
    font-size: 1.1rem;
    text-align: center;
    padding: 15px;
    color: #475569;
}

.oracion {
    font-size: 2rem;
    font-weight: 600;
    color: #0f172a;
}

.consulta {
    text-align: center;
    font-size: 1.2rem;
    color: #0ea5e9;
    cursor: pointer;
    text-decoration: none;
}

.consulta:hover {
    text-decoration: underline;
}

.tituloBanner {
    text-align: center;
    font-weight: 700;
    color: #0f172a;
}

/* ================== NOSOTROS ================== */
.textoIntroduccion {
    font-size: 1.1rem;
    color: #475569;
    padding: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.fotoDecoracion {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================== IMÁGENES DE SERVICIOS ================== */
.cambioPantalla, .reparacionMother, .cambioPiezas, .teclado, .Software {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.cambioPantalla:hover, .reparacionMother:hover, .cambioPiezas:hover, .teclado:hover, .Software:hover {
    transform: scale(1.03);
}

/* ================== JUMBOTRON ================== */
.jumbotron {
    background-color: #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    text-align: center;
}

.jumbotron .lead {
    font-size: 1.1rem;
    color: #475569;
}

/* ================== CARDS CONTACTO ================== */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    margin: 15px auto;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    width: 100%;
    height: auto;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
}

.card-text {
    color: #475569;
    font-size: 1rem;
}

.btn-primary {
    background-color: #0ea5e9;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0284c7;
}

/* ================== FOOTER ================== */
.footer1, .footer3, .footer2 {
    text-align: center;
    font-size: 1rem;
    color: #334155;
    padding: 20px;
    background-color: #e2e8f0;
    border-radius: 0.5rem;
    margin: 20px auto;
    width: 90%;
    max-width: 600px;
}

/* ================== MAPA ================== */
.mapa {
    width: 90%;
    max-width: 750px;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .oracion {
        font-size: 1.5rem;
    }
    .tituloPag {
        font-size: 1.5rem;
    }
}
