/* ============================================
   SERVICE PAGES STYLING
   ============================================ */

/* Service Listing Page */
.services-listing-page {
    background: #f8f9fa;
}

.services-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.services-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* Filters */
.services-filters {
    background: #fff;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.filter-group label i {
    color: #667eea;
    margin-right: 5px;
}

.filter-select,
.filter-input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-filter,
.btn-reset {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-filter {
    background: #667eea;
    color: #fff;
    border: none;
}

.btn-filter:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-reset {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-reset:hover {
    background: #e9ecef;
    border-color: #ccc;
}

/* Results Info */
.services-results-info {
    padding: 20px 0;
}

.services-results-info p {
    color: #666;
    font-size: 15px;
}

/* Services Grid */
.services-grid-section {
    padding: 40px 0 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card-content {
    padding: 25px;
}

.service-card-type {
    display: inline-block;
    background: #f0f3ff;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card-content h3 {
    font-size: 20px;
    color: #212121;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-view-service {
    flex: 1;
    background: #667eea;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-service:hover {
    background: #5568d3;
    transform: translateX(5px);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.1);
}

/* No Services */
.no-services {
    text-align: center;
    padding: 80px 20px;
}

.no-services i {
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.no-services h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.no-services p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn,
.pagination-link,
.pagination-current {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination-btn {
    background: #667eea;
    color: #fff;
}

.pagination-btn:hover {
    background: #5568d3;
}

.pagination-link {
    background: #fff;
    color: #667eea;
    border: 2px solid #e0e0e0;
}

.pagination-link:hover {
    background: #f0f3ff;
    border-color: #667eea;
}

.pagination-current {
    background: #667eea;
    color: #fff;
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.services-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-whatsapp {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-cta-primary {
    background: #fff;
    color: #667eea;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-cta-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-cta-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ============================================
   SINGLE SERVICE PAGE
   ============================================ */

.service-page-container {
    background: #f8f9fa;
}

/* Breadcrumb */
.breadcrumb-section {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-section a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb-section a:hover {
    text-decoration: underline;
}

.breadcrumb-section i {
    color: #ccc;
    font-size: 10px;
    margin: 0 10px;
}

.breadcrumb-section span {
    color: #666;
    font-size: 14px;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
}

.service-hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}

.service-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.service-meta i {
    font-size: 18px;
}

/* Content Layout */
.service-content-wrapper {
    padding: 60px 0;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Main Content */
.service-main-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.service-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.service-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-content {
    color: #333;
    line-height: 1.8;
}

.service-content h2 {
    font-size: 28px;
    color: #212121;
    margin: 30px 0 15px;
}

.service-content h3 {
    font-size: 22px;
    color: #333;
    margin: 25px 0 12px;
}

.service-content p {
    margin-bottom: 15px;
}

.service-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.service-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* CTA Section */
.service-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.service-cta h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin: 0 10px 10px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-whatsapp {
    background: #25d366;
    color: #fff;
}

.cta-whatsapp:hover {
    background: #20ba5a;
}

/* Related Services */
.related-services {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-services h2 {
    font-size: 28px;
    color: #212121;
    margin-bottom: 25px;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-service-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.related-service-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.related-service-card a {
    text-decoration: none;
}

.related-service-card h3 {
    font-size: 18px;
    color: #212121;
    margin-bottom: 10px;
}

.related-service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: transform 0.3s;
}

.related-service-card:hover .read-more i {
    transform: translateX(5px);
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
    font-size: 20px;
    color: #212121;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f3ff;
}

/* Contact Widget */
.contact-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.contact-widget h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    font-size: 18px;
    width: 25px;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.sidebar-button {
    display: block;
    background: #fff;
    color: #667eea;
    padding: 12px 25px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.sidebar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Service Areas List */
.service-areas-list,
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-areas-list li,
.services-list li {
    margin-bottom: 12px;
}

.service-areas-list a,
.services-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s;
}

.service-areas-list a:hover,
.services-list a:hover {
    background: #f0f3ff;
    color: #667eea;
    padding-left: 15px;
}

.service-areas-list i,
.services-list i {
    color: #667eea;
    font-size: 14px;
}

/* Custom Sidebar Content */
.custom-content {
    color: #333;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .services-header h1 {
        font-size: 32px;
    }
    
    .services-header p {
        font-size: 16px;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-filter,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero-content h1 {
        font-size: 32px;
    }
    
    .service-intro {
        font-size: 16px;
    }
    
    .service-main-content {
        padding: 25px;
    }
    
    .service-content h2 {
        font-size: 24px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cta h2 {
        font-size: 28px;
    }
    
    .services-cta p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary,
    .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-header {
        padding: 40px 0;
    }
    
    .services-header h1 {
        font-size: 26px;
    }
    
    .service-hero {
        padding: 40px 0;
    }
    
    .service-hero-content h1 {
        font-size: 26px;
    }
    
    .service-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-main-content {
        padding: 20px;
    }
    
    .service-cta {
        padding: 30px 20px;
    }
    
    .service-cta h3 {
        font-size: 22px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}
