/* Service Page Styles */

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, rgba(26, 58, 89, 0.9) 0%, rgba(14, 93, 168, 0.85) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.service-tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.service-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.service-hero-buttons .btn-outline {
    background-color: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.service-hero-buttons .btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Service Content */
.service-content {
    padding: 60px 0;
}

.service-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
}

.service-description h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary);
}

.service-description h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin: 30px 0 10px;
}

.service-description p {
    margin-bottom: 15px;
}

.service-description ul,
.service-description ol {
    margin: 15px 0 15px 25px;
}

.service-description li {
    margin-bottom: 8px;
}

.service-description img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

/* Related Products */
.service-products {
    background-color: var(--light);
    padding: 60px 0;
}

.service-products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-products .product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-products .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-products .product-card .product-image {
    height: 220px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-products .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-products .product-card .product-details {
    padding: 20px;
}

.service-products .product-card .product-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-products .product-card .product-details h3 a {
    text-decoration: none;
    color: var(--secondary);
}

.service-products .product-card .product-details h3 a:hover {
    color: var(--primary);
}

.service-products .product-card .product-details p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.5;
}

.service-products .product-card .price {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 8px 0 12px;
}

.service-products .product-card .product-footer {
    margin-top: 12px;
}

.service-products .product-card .product-footer .btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-products-more {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.service-faq {
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-icon {
    fill: var(--secondary);
    flex-shrink: 0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    line-height: 1.7;
    color: var(--dark);
}

/* CTA Section */
.service-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content h2:after {
    background-color: var(--secondary);
}

.cta-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cta-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
}

.cta-method:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-method svg {
    fill: var(--secondary);
}

.cta-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.cta-address svg {
    fill: var(--secondary);
}

.cta-hours {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-hero {
        padding: 50px 0;
    }

    .service-hero h1 {
        font-size: 2rem;
    }

    .service-tagline {
        font-size: 1.1rem;
    }

    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-content {
        padding: 40px 0;
    }

    .service-products {
        padding: 40px 0;
    }

    .service-products .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .service-faq {
        padding: 40px 0;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 15px 18px;
    }

    .cta-methods {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 1.7rem;
    }

    .service-products .product-grid {
        grid-template-columns: 1fr;
    }
}
