/* Service Detail Page Styles */
.service-detail {
    padding: 2rem 0;
    background-color: #f9f9f9;
    margin-top: 80px; /* Account for fixed header */
}

.service-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.service-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    text-align: left;
}

.service-hero .service-header,
.service-hero .lead {
    text-align: left;
    max-width: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    background-color: #8B4513;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 2rem;
}

.service-hero h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.service-hero .lead {
    font-size: 1.25rem;
    color: #555;
    max-width: 800px;
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-main {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.service-section {
    margin-bottom: 2.5rem;
}

.service-section h2 {
    color: #2c3e50;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.service-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #444;
    line-height: 1.6;
}

.feature-list li:before {
    content: '✓';
    color: #8B4513;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.related-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-services li {
    margin-bottom: 0.75rem;
}

.related-services a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

.related-services a:hover {
    color: #8B4513;
    text-decoration: none;
}

.cta-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
    border: 1px dashed #ddd;
}

.cta-section h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #8B4513;
    color: white;
}

.btn-primary:hover {
    background-color: #6d3609;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
}

.btn-outline:hover {
    background-color: #8B4513;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1.5rem;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-main {
        padding: 1.5rem;
    }
}

/* Animation for service sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-section {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-section:nth-child(1) { animation-delay: 0.1s; }
.service-section:nth-child(2) { animation-delay: 0.2s; }
.service-section:nth-child(3) { animation-delay: 0.3s; }
.service-section:nth-child(4) { animation-delay: 0.4s; }
