/**
 * Single Service Styles
 *
 * Minimal and modern styling for single service pages
 *
 * @package Nila
 * @since 1.0.0
 */

/* ============================================
   Main Container
   ============================================ */
.service-single .container {
    padding: 40px 15px;
}

.service-single .row {
    margin: 0;
}

.nila-single-service-wrapper {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* ============================================
   Hero Section
   ============================================ */
.nila-service-hero {
    position: relative;
    background: transparent;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    overflow: visible;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 50px;
}

.nila-service-hero.has-image {
    background: transparent;
}

.nila-service-hero.has-image::before {
    display: none;
}

.nila-service-hero-image {
    display: none;
}

.nila-service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0;
    max-width: 800px;
    width: 100%;
}

.nila-service-icon-wrapper {
    margin-bottom: 25px;
}

.nila-service-icon-wrapper .service-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.nila-service-icon-wrapper .service-icon:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.nila-service-icon-wrapper .service-icon i {
    font-size: 28px;
    color: #667eea;
    transition: color 0.2s ease;
}

.nila-service-icon-wrapper .service-icon:hover i {
    color: #fff;
}

.nila-service-hero-title {
    font-size: 42px;
    font-weight: 300;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.nila-service-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.nila-service-price {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nila-service-price::before {
    display: none;
}

.nila-service-duration {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    color: #666;
}

.nila-service-duration i {
    font-size: 14px;
    color: #999;
}

/* ============================================
   Content Section
   ============================================ */
.nila-service-content {
    padding: 0;
}

.nila-service-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

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

.nila-service-description h2,
.nila-service-description h3,
.nila-service-description h4 {
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ============================================
   Features Section
   ============================================ */
.nila-service-features {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 40px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 40px 0;
}

.nila-service-features-title {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.nila-service-features-title::after {
    display: none;
}

.nila-service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.nila-service-features-list li {
    background: transparent;
    padding: 15px 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: none;
    transition: transform 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.nila-service-features-list li:last-child {
    border-bottom: none;
}

.nila-service-features-list li:hover {
    transform: translateX(5px);
    border-bottom-color: #e5e5e5;
}

.nila-service-features-list li i {
    font-size: 16px;
    color: #667eea;
    min-width: 20px;
    text-align: center;
}

.nila-service-features-list li span {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Call to Action Button
   ============================================ */
.nila-service-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.nila-service-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #1a1a1a;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.nila-service-button::before {
    display: none;
}

.nila-service-button:hover {
    background: #667eea;
    color: #fff;
    transform: none;
    box-shadow: none;
}

.nila-service-button:active {
    transform: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .service-single .container {
        padding: 20px 10px;
    }
    
    .nila-service-hero {
        padding: 40px 0 30px;
        margin-bottom: 40px;
    }
    
    .nila-service-hero-title {
        font-size: 32px;
    }
    
    .nila-service-hero-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .nila-service-price {
        font-size: 18px;
    }
    
    .nila-service-content {
        padding: 0;
    }
    
    .nila-service-features {
        padding: 30px 0;
    }
    
    .nila-service-features-list {
        grid-template-columns: 1fr;
    }
    
    .nila-service-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }
    
    .nila-service-icon-wrapper .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .nila-service-icon-wrapper .service-icon i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .nila-service-hero-title {
        font-size: 28px;
    }
    
    .nila-service-description {
        font-size: 15px;
    }
    
    .nila-service-features-title {
        font-size: 11px;
    }
}

/* ============================================
   Remove Animations
   ============================================ */
.nila-service-icon-wrapper,
.nila-service-hero-title,
.nila-service-hero-meta {
    animation: none;
}

/* ============================================
   RTL Support
   ============================================ */
.rtl .nila-service-features-list li:hover {
    transform: translateX(-5px);
}

