/* ========================================
   Service Page Styles
   ======================================== */

/* Service Hero Section */
.service-hero {
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    margin-top: 70px;
    overflow: hidden;
}

.service-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.service-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 36, 57, 0.6);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    font-weight: 500;
}

.back-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.service-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.service-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Service Content Section */
.service-content {
    padding: 4rem 0;
    background: var(--bg-white);
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.service-main {
    min-width: 0;
}

.service-image-section {
    margin-bottom: 3rem;
}

.service-image-placeholder {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    position: relative;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.placeholder-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-text-content {
    line-height: 1.8;
}

.service-text-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.service-text-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.service-text-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.service-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.service-cta {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 3rem;
    text-align: center;
    border: 2px solid var(--border-color);
}

.service-cta h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-cta p {
    margin-bottom: 1.5rem;
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.sidebar-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.sidebar-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-card a:hover {
    color: var(--accent-color);
}

.related-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-services li {
    margin-bottom: 0.75rem;
}

.related-services li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.related-services li a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.related-services li:last-child a {
    border-bottom: none;
}

/* Responsive Design for Service Pages */
@media (max-width: 968px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-sidebar {
        position: static;
    }

    .sidebar-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 40px;
    }

    .service-content {
        padding: 3rem 0;
    }

    .service-text-content h2 {
        font-size: 1.75rem;
    }

    .service-text-content h3 {
        font-size: 1.25rem;
    }

    .service-cta {
        padding: 2rem;
    }
}

