/* Estilos Generales */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: #fdfaf7;
    color: #4A4A4A;
    line-height: 1.6;
}

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

/* Header del Catálogo */
.catalog-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1500x400/D4B4AC/FFFFFF?text=Bodas') no-repeat center center/cover;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.catalog-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.catalog-header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 10px;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    background-color: rgba(0,0,0,0.3);
    padding: 8px 15px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: rgba(0,0,0,0.6);
}

/* Sección de Filtros */
.filter-section {
    padding: 40px 0;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.filter-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 10px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #9370DB; /* Color principal de tu marca */
    color: #fff;
    border-color: #9370DB;
}

/* Galería de Tarjetas */
.catalog-gallery {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.invitation-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.invitation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.invitation-card img {
    width: 100%;
    height: auto;
    display: block;
}

.invitation-card .card-info {
    padding: 20px;
    text-align: center;
}

.invitation-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.invitation-card .tag {
    display: inline-block;
    background-color: #EAEAF2;
    color: #9370DB;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.btn-cotizar {
    display: inline-block;
    background-color: #9370DB;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-cotizar:hover {
    background-color: #7a5fb2;
    transform: scale(1.05);
}

/* Footer */
.catalog-footer {
    text-align: center;
    padding: 20px;
    background-color: #4A4A4A;
    color: #fff;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .catalog-header h1 {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}