/* Services Page Specific Styles */

/* Services Hero Section */
.services-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.services-hero .hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.services-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-hero .hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--dark-color);
    transform: translateY(20px);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.floating-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.floating-card p {
    margin: 0;
    color: var(--gray-color);
}

@keyframes float {
    0%, 100% { transform: translateY(20px); }
    50% { transform: translateY(0px); }
}

/* Services Navigation */
.services-nav {
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-tabs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-width: max-content;
}

.service-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.service-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.service-tab i {
    font-size: 1rem;
}

/* Services Grid */
.services-section {
    padding: 4rem 0;
}

.services-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

/* Service Cards */
.service-card {
    background-color: var(--white-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.service-card.hidden {
    display: none;
}

/* Service Header */
.service-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white-color);
}

.service-title {
    flex: 1;
}

.service-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.service-subtitle {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin: 0;
}

.service-price {
    text-align: right;
}

.service-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.service-price .price-note {
    font-size: 0.75rem;
    color: var(--gray-color);
}

/* Service Content */
.service-content {
    padding: 0 2rem 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-description p {
    color: var(--text-color);
    line-height: 1.6;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
}

.feature-list i {
    color: var(--success-color);
    font-size: 0.75rem;
}

.service-brands {
    margin-bottom: 1.5rem;
}

.service-brands h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand-tag {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.service-warranty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.875rem;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.service-warranty i {
    font-size: 1rem;
}

/* Service Actions */
.service-actions {
    padding: 1rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Service Details (Expandable) */
.service-details {
    padding: 1rem 2rem 2rem;
    background-color: var(--light-color);
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.process-list {
    padding-left: 1rem;
}

.process-list li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Emergency Service Banner */
.emergency-service {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: var(--white-color);
    position: relative;
}

.emergency-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
}

.emergency-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.emergency-icon {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.emergency-text h2 {
    color: var(--white-color);
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.emergency-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.125rem;
}

.emergency-actions {
    text-align: center;
}

.emergency-btn {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.emergency-note {
    color: rgba(255, 255, 255, 0.8);
}

.emergency-note i {
    margin-right: 0.25rem;
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.benefit-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Service Areas */
.service-areas {
    padding: 4rem 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.area-card {
    background-color: var(--white-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.area-header i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.area-header h3 {
    color: var(--dark-color);
    margin: 0;
    font-size: 1.25rem;
}

.area-list {
    list-style: none;
    margin-bottom: 1rem;
}

.area-list li {
    padding: 0.25rem 0;
    color: var(--text-color);
    font-size: 0.875rem;
    position: relative;
    padding-left: 1rem;
}

.area-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.area-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.875rem;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
}

.area-footer {
    text-align: center;
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.area-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.area-footer a:hover {
    text-decoration: underline;
}

/* Scroll Button */
.scroll-btn {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .services-hero .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-section .container {
        grid-template-columns: 1fr;
    }
    
    .service-tabs {
        justify-content: flex-start;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-price {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 80px 0 60px;
    }
    
    .services-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-card {
        margin: 0 -10px;
    }
    
    .service-header,
    .service-content,
    .service-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .emergency-text h2 {
        font-size: 1.5rem;
    }
    
    .emergency-text p {
        font-size: 1rem;
    }
}