/* Styles for the Ponude (Offers) page */

/* All Offers Section */
.all-offers-section {
    padding: 60px 0;
    background-color: var(--complementary-color-lighter);
}

.offers-heading {
    margin-bottom: 10px;
    color: var(--text-color);
    text-align: center;
}

.offers-subheading {
    margin-bottom: 30px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Filtering options */
.offers-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--primary-color-dark);
}

.filter-select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    color: var(--text-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Offers grid */
.all-offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.all-offer-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.all-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.all-offer-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.all-offer-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.all-offer-image {
    height: 200px;
    overflow: hidden;
}

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

.all-offer-card:hover .all-offer-image img {
    transform: scale(1.05);
}

.all-offer-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.all-offer-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color-dark);
}

.all-offer-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-item {
    font-size: 0.9rem;
    color: #555;
}

.all-offer-price {
    margin-top: auto;
    margin-bottom: 20px;
    text-align: center;
}

.all-regular-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.all-discount-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color-dark);
}

.all-offer-buttons {
    display: flex;
    justify-content: center;
}

.all-offer-cta {
    width: 100%;
    text-align: center;
}

.offer-badge {
    top: 10px;
  }

/* Benefits section */
.installation-benefits-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.benefits-heading {
    margin-bottom: 10px;
    color: var(--text-color);
}

.benefits-subheading {
    margin-bottom: 40px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 90%;
    margin: 0 auto;
}

.benefit-card {
    background-color: var(--complementary-color-lighter);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 64px;
    height: 64px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color-dark);
}

.benefit-card p {
    color: #555;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .offers-filter {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .filter-group {
        width: calc(50% - 15px);
    }
    
    .all-offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .filter-group {
        width: calc(33.333% - 20px);
    }
    
    .all-offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .all-offer-image {
        height: 220px;
    }
    
    .benefits-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

@media (min-width: 1440px) {
    .all-offer-image {
        height: 250px;
    }
    
    .all-offers-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}