/* Services Page Specific Styles */

.page-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)),
                url('../images/52412410917_e407433865_h.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

.contact-btn.whatsapp {
    background: #25d366;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.contact-btn.whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* Setup Notice Styles */
.setup-notice {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.setup-notice i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.setup-notice h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.setup-notice p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.setup-notice .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease;
}

.setup-notice .btn:hover {
    transform: translateY(-2px);
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.services-overview h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-type-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 3.5rem;
    color: #667eea;
    transition: color 0.3s ease;
}

.service-type-card:hover .service-icon i {
    color: #764ba2;
}

.service-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-type-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.service-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

.service-price .duration {
    color: #666;
    font-size: 0.9rem;
}

.service-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select {
    padding: 0.8rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* Providers Section */
.providers-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.providers-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.providers-section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.provider-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.provider-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verification-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.verification-badge i {
    color: white;
}

.provider-info {
    padding: 1.5rem;
}

.provider-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-type {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating i {
    color: #ddd;
    font-size: 0.9rem;
}

.rating i.active {
    color: #ffd700;
}

.rating-text {
    font-weight: 600;
    color: #333;
}

.reviews-count {
    color: #666;
    font-size: 0.8rem;
}

.experience {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.provider-skills {
    margin-bottom: 1rem;
}

.provider-skills p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.provider-rate {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.provider-actions {
    display: flex;
    gap: 1rem;
}

.primary-btn, .secondary-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.secondary-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e8ed;
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-2px);
}

/* No Providers Message */
.no-providers {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-providers i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-providers h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Service Details Modal */
.service-detail-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.service-detail-content p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.service-detail-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.service-detail-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
}

.service-detail-price .duration {
    color: #666;
}

.service-features {
    margin: 2rem 0;
}

.service-features h4 {
    color: #333;
    margin-bottom: 1rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Booking Form */
#bookingForm {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .service-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-group {
        width: 100%;
        max-width: 300px;
    }
    
    .filter-group select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }
    
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .service-types-grid {
        grid-template-columns: 1fr;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .provider-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-type-card {
        padding: 2rem 1.5rem;
    }
    
    .provider-info {
        padding: 1rem;
    }
    
    .provider-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .modal-content {
        padding: 1rem;
    }
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}
