/* Estilos generales para la página de Acabados */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}


.container {
    padding: 0px;
    max-width: fit-content;
    margin: 20px auto;
}


h1,
h2,
h3 {
    color: #004a99;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

.alert-info {
    background-color: #e7f3ff;
    border-color: #b8daff;
    color: #0c5460;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}


/* Estilos para la cuadrícula de tarjetas de categoría */
.row.row-cols-1.row-cols-md-3.g-4.mb-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}



.col {
    flex: 0 1 200px;         /* No crece, permite reducir hasta 200px */
    max-width: 300px;        /* No sobrepasa los 300px */
    display: flex;
    flex-direction: column;
}




.acabado-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures equal height */
}

.acabado-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.acabado-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.acabado-card .card-body {
    padding: 1.25rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.acabado-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: bold;
}

.acabado-card .card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.acabado-card .btn {
    margin-top: 1rem;
}


/* Estilos para las secciones de texto generales */
.mt-5>.row>.col-md-12>h3 {
    font-size: 2.2rem;
    margin-top: 2rem;
}

.mt-5>.row>.col-md-12>p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 2rem;
}

.mt-5>.row>.col-md-12>p>a {
    color: #007bff;
    text-decoration: none;
}

.mt-5>.row>.col-md-12>p>a:hover {
    text-decoration: underline;
}


/* === Estilos para las tarjetas de detalle de acabados === */
.detalle-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 10px;
    transition: box-shadow 0.3s ease-in-out;
    border: 1px solid #e0e0e0;
}

.detalle-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.detalle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #004a99;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    text-align: left;
}

.detalle-card h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #0056b3;
    font-weight: bold;
}

.detalle-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #454545;
    text-align: left;
}

.detalle-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.detalle-card li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #505050;
    margin-bottom: 0.4rem;
}

.detalle-card strong {
    color: #004a99;
    font-weight: bold;
}

.detalle-card em {
    color: #007bff;
    font-style: italic;
}

.full-width-section {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.full-width-section .container-fluid{
    padding-left: 0;
    padding-right: 0;
}

.full-width-section .row {
    margin-left: 0;
    margin-right: 0;
}

/* Ajuste para ocupar todo el ancho */
.row.row-cols-1.row-cols-md-3.g-4.mb-5 {
    margin-left: 0;
    margin-right: 0;
}

.col {
    padding-left: 0;
    padding-right: 0;
}

.h-100 {
    height: 100%;


}

.fondo-detalle {
    background-image: url('/images/fondos/white_brick_wall-800x600.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 20px;
}



@media (max-width: 768px) {
    .col {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .col {
        flex-basis: 100%;
        max-width: 100%;
    }
}

