/* Water Purifier Page Specific Styles */
.water-purifier-page .hero {
    background-image: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 68, 148, 0.8)), url('https://images.unsplash.com/photo-1585829365291-1782bd02344a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    color: var(--white);
    padding: 100px 0;
}

.water-purifier-page .hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.water-purifier-page .hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
}

.product-category {
    margin-top: 50px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}


.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Kartın tıklanabilir olduğunu belirtir */
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlide 0.4s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: #e9ecef;
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto 20px;
}

.modal-body h3,
.modal-body h4 {
    color: var(--primary-dark);
    margin: 20px 0 10px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.modal-body th,
.modal-body td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.modal-body th {
    background: #f8f9fa;
    color: var(--primary-dark);
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 576px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .water-purifier-page .hero h1 {
        font-size: 1.8rem;
    }
}