@charset "utf-8";
/* CSS Document */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat Light', 'Arial', sans-serif;
    line-height: 1.6;
	color: #333;
    background-color: #ffffff;
}

header {
    background: #FFF;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.container {
    width: 70%;
	height: auto;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
    display: flex; /* Para index.html */
    flex-wrap: wrap; /* Para index.html */
    justify-content: space-around; /* Para index.html */
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;   /* Centra horizontalmente */
  align-items: center;       /* Centra verticalmente */
  padding: 20px;
}

.container {
  max-width: 1300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
/* Estilos para las tarjetas de categoría en index.html */
.category-card {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* Para que el borde redondeado afecte a la imagen */
    width: calc(33.333% - 20px); /* Tres tarjetas por fila con espacio */
    min-width: 280px; /* Ancho mínimo para tarjetas */
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(5px);
	opacity: 0.8;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px; /* Ajusta según tus imágenes */
    object-fit: cover; /* Para que la imagen cubra el espacio sin deformarse */
}

.category-title {
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
	letter-spacing: 0.3rem;
}

/* Colores de fondo de los títulos de categoría como en index.pdf */
.arquitectura-bg {
    background-color: #000; /* Gris oscuro para Arquitectura (ejemplo) */
}
.muebles-bg {
    background-color: #FF6A14; /* Naranja */
}
.portones-bg {
    background-color: #4A4A4A; /* Gris oscuro/carbón para Portones */
}

.category-card.muebles { border-bottom-left-radius: 4rem; border-top-right-radius: 4rem;  }
.category-card.arquitectura { border-top-left-radius: 4rem; border-bottom-right-radius: 4rem;  }
.category-card.portones { border-top-right-radius: 4rem; border-bottom-right-radius: 4rem;  }



/* Estilos para las páginas de contenido (arquitectura, muebles, portones) */
.page-content {
    display: block; /* Anula el flex de .container para estas páginas */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.page-banner {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.page-content h1 { /* Para títulos dentro de las páginas de contenido */
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.page-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Lista de productos en muebles.html */
.product-list {
    list-style: none;
    padding: 0;
}

.product-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list a {
    margin-left: 10px;
    text-decoration: none;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.ficha-link {
    background-color: #007bff;
    color: white;
}
.ficha-link:hover {
    background-color: #0056b3;
}

.video-link {
    background-color: #28a745;
    color: white;
}
.video-link:hover {
    background-color: #1e7e34;
}

/* Enlace de Volver */
.back-link-container {
    margin-top: 30px;
    text-align: center;
}

.back-link {
    text-decoration: none;
    color: #007bff;
    font-size: 1.1rem;
    padding: 10px 15px;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.back-link:hover {
    background-color: #007bff;
    color: #fff;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    margin-top: 30px;
	display:none;
}

footer p {
	font-size: 0.7rem
	}

/* Media Queries para responsividad básica */
@media (max-width: 992px) {
    .category-card {
        width: calc(50% - 20px); /* Dos tarjetas por fila */
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .container {
        width: 95%;
        padding: 0 10px;
    }
    .category-card {
        width: calc(100% - 20px); /* Una tarjeta por fila */
    }
    .page-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    .category-title {
        font-size: 1rem;
    }
    .product-list li {
        font-size: 1rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .product-list a {
        margin-left: 0;
        margin-top: 5px;
    }
}
.w-64 {
    width: 16rem;
}