/* Services Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 6rem 0 3rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Overview */
.services-overview {
    padding: 4rem 0;
    background: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    color: #d32f2f;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.overview-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
}

.stat h3 {
    color: #d32f2f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 600;
    margin: 0;
}

.overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Featured Services */
.featured-services {
    padding: 4rem 0;
    background: #f8f9fa;
}

.featured-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card.featured {
    border: 3px solid #d32f2f;
    transform: scale(1.02);
}

.service-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-icon-img {
    height: 180px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.service-icon-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.service-card:hover .service-icon-img img {
    transform: scale(1.05) translateY(-5px);
}

.service-content h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: #555;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.service-features li i {
    color: #d32f2f;
    margin-right: 0.8rem;
    width: 16px;
}

.service-testimonial {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #d32f2f;
}

.service-testimonial .stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.service-testimonial p {
    color: #555;
    font-style: italic;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.testimonial-author {
    color: #d32f2f;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d32f2f;
}

/* Additional Services */
.additional-services {
    padding: 4rem 0;
    background: white;
}

.additional-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-list {
    display: grid;
    gap: 1.5rem;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
    transition: all 0.3s;
}

.service-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.service-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.service-info h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-info p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.service-item .service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d32f2f;
    text-align: center;
}

/* Service Process */
.service-process {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #d32f2f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Service Guarantee */
.service-guarantee {
    padding: 4rem 0;
    background: white;
}

.guarantee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.guarantee-text h2 {
    color: #d32f2f;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.guarantee-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.guarantee-features {
    display: grid;
    gap: 1.5rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
}

.guarantee-item i {
    font-size: 2rem;
    color: #d32f2f;
    width: 50px;
    text-align: center;
}

.guarantee-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.guarantee-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.guarantee-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Service CTA */
.service-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    text-align: center;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta .btn-primary {
    background: white;
    color: #d32f2f;
}

.service-cta .btn-primary:hover {
    background: #f8f9fa;
}

.service-cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.service-cta .btn-secondary:hover {
    background: white;
    color: #d32f2f;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    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: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #d32f2f;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #d32f2f;
}

.service-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d32f2f;
}

.form-group input[readonly] {
    background: #f8f9fa;
    color: #666;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-content,
    .guarantee-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .overview-text h2,
    .guarantee-text h2,
    .featured-services h2,
    .additional-services h2,
    .service-process h2,
    .service-cta h2 {
        font-size: 2rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .service-actions {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service-card,
    .step,
    .service-item {
        padding: 1.5rem;
    }
    
    .overview-image img,
    .guarantee-image img {
        height: 250px;
    }
    
    .service-form {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #d32f2f;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Book Now Section */
.book-now-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #32cd32 0%, #28a745 100%);
    color: white;
}

.book-now-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.book-now-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.book-now-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.book-now-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
    color: #ff0000;
}

.book-now-action {
    text-align: center;
}

.book-now-btn {
    background: #ff0000;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.book-now-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    color: white;
}

.book-now-note {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

.book-now-note a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.book-now-note a:hover {
    text-decoration: underline;
}

/* Responsive Book Now Section */
@media (max-width: 768px) {
    .book-now-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .book-now-text h2 {
        font-size: 2rem;
    }
    
    .book-now-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .book-now-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .book-now-section {
        padding: 3rem 0;
    }
    
    .book-now-text h2 {
        font-size: 1.8rem;
    }
    
    .book-now-text p {
        font-size: 1rem;
    }
    
    .book-now-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
