/* Styling voor de zwembadmodellen grid */
.zwembadmodellen-grid {
    padding: 50px 0;
}

.zwembadmodellen-grid .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zwembadmodellen-grid h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #00053e;
}

.zwembadmodellen-grid .excerpt {
    text-align: center;
    margin-bottom: 10px;
    color: #666;
}

/* Grid layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Grid items */
.grid-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.grid-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.grid-item-image {
    height: 250px;
    overflow: hidden;
}

.grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-item-image img {
    transform: scale(1.05);
}

.grid-item-content {
    padding: 20px;
}

/* Title container met prijsopgave knop */
.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.model-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #00053e;
    text-transform: uppercase;
}

.prijsopgave-button {
    display: inline-block;
    background-color: #00053e;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.prijsopgave-button:hover {
    background-color: #001166;
}

.model-specs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.spec {
    font-weight: 500;
}

.spec-divider {
    margin: 0 8px;
    color: #ccc;
}

/* Filter buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.filter strong {
    display: block;
    margin-bottom: 5px;
}

.filter.current {
    background-color: #00053e;
    color: white;
}

.filter:hover:not(.current) {
    background-color: #e0e0e0;
}

/* Contact button */
.contact-button-container {
    text-align: center;
    margin-top: 30px;
}

.contact-button-container .button {
    display: inline-block;
    background-color: #00053e;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-button-container .button:hover {
    background-color: #001166;
}

/* Responsive aanpassingen */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter {
        width: 100%;
        max-width: 250px;
    }
}
