* {
    --bs-navbar-padding-x: 0.0!important;
    --bs-navbar-padding-y: 0.0!important;
}

body {
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: rgb(240, 230, 221);
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.foto-artesano {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
}

.imagenes img, 
.trabajos img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.trabajos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.carrusel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.carrusel-container {
    display: flex;
    overflow: hidden;
    width: 660px;
}

.carrusel img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    display: none;
    border-radius: 4px;
}

.carrusel img.active {
    display: block;
}

.carrusel button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
    transition: background-color 0.3s;
}

.carrusel button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

section {
    padding: 40px 20px;
    margin: 20px 0;
}

header {
    margin-bottom: 20px;
}

#mapa iframe {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(201, 11, 11, 0.596);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


/* Cambia el color y agrega transparencia a la navbar */
nav.navbar {
    background-color: rgba(9, 143, 65, 0.555) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    backdrop-filter: blur(6px);
}

/* Opcional: Cambia el color de los enlaces */
.navbar .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #fae677 !important; /* Amarillo al pasar el mouse */
}


.form-group {
    margin-bottom: 1rem;
}

.bg-light-section {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.btn-ver-mas {
    margin-top: 20px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1em;
}

/* Galería de trabajos */
.trabajos-gallery {
    margin: 30px 0;
}

.gallery-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-volver {
    margin: 30px 0;
    padding: 10px 25px;
    font-size: 1.1em;
}

@media (max-width: 767px) {
    .gallery-img {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .gallery-img {
        height: 150px;
    }
}

.imagen-index {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card img {
    max-height: 250px; /* o el alto máximo que quieras */
    object-fit: cover;
}

body, main, #banner-sillas {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#banner-sillas {
    background: url('/img/banner-sillas.jpg') no-repeat center center;
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.trabajos-gallery .col-md-4 {
    display: flex;
    flex-direction: column;
}

.trabajos-gallery a {
    display: block;
    width: 100%;
    height: 300px; /* Altura fija para cada recuadro */
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.trabajos-gallery .gallery-img {
    width: 100%;
    height: 300px; /* Alto fijo */
    object-fit: cover; /* Recorta sin distorsionar */
}

#modal-img {
    max-width: 300px; /* Ancho máximo en el modal */
    max-height: 500px; /* Alto máximo */
    width: 100%; /* Escala según contenedor */
    height: auto; /* Mantiene proporción */
    object-fit: contain; /* Ajuste sin recorte */
}

.estilo
{
font-size: 2.5rem;
  color: #5b3c11; /* marrón artesanal */
text-align: center;
}

.contact-box {
  background-color: #fffaf3; /* tono cálido */
border: 2px solid #e0cfa9;
border-radius: 15px;
box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
padding: 25px;
max-width: 700px;
}


.btn {
    background-color: #5b3c11; /* marrón artesanal */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #af703c; /* marrón más claro al pasar el mouse */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn:active {
    background-color: #4a7a1c; /* marrón aún más oscuro al hacer clic */
}

.btn-cancel {
    background-color: #5b1111; /* marrón artesanal */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-cancel:hover {
    background-color: #af3c3c; /* marrón más claro al pasar el mouse */
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-cancel:active {
    background-color: #7a611c; /* marrón aún más oscuro al hacer clic */
}

/* Cambia el color de los enlaces del GridView a verde */
.table a,
.table .glyphicon,
.table .bi,
.table .fa {
    color: #198754 !important;
}

/* Cambia el color de los enlaces de paginación a verde */
.pagination .page-link {
    color: #198754 !important;
}

/* Cambia el color de los íconos de acción a verde */
.yii-action-column a {
    color: #198754 !important;
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}
.timeline-step {
    flex: 1 1 200px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.timeline-icon {
    margin-bottom: 10px;
}
.timeline-content h5 {
    color: #7b4b2a;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.timeline-content p {
    font-size: 0.95rem;
    color: #5a4636;
}

.card-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}