/* static/css/home/service_page.css */

/* ========== Custom Properties ========== */
:root {
    --fs-h1: 3.5rem;
    --fs-h2: 2.5rem;
    --fs-h3: 1.75rem;
    --fs-h4: 1.5rem;
    --fs-large: 1.25rem;
    --fs-medium: 1.125rem;
    --fs-base: 1rem;
    --fs-small: 0.875rem;
}

/* ========== Hero Sectie voor Service Pagina's ========== */
.hero-service {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 5% 80px;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
}

/* Fallback gradient als er geen hero_image_path is */
.hero-service:not([style*="background-image"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-service .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.hero-service h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-service p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
    opacity: 0.8;
}

/* Breadcrumb Navigatie */
.breadcrumb-nav {
    margin-bottom: 30px;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-block;
    margin: 0;
    backdrop-filter: blur(10px);
}

.breadcrumb-item {
    display: inline;
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumb-nav .breadcrumb-item::before {
    content: none;
    display: none;
}

.breadcrumb-nav .breadcrumb-item:not(:last-child)::after {
    content: " / ";
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: inherit;
    pointer-events: none;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== Features Sectie ========== */
.features-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

/* ========== Accordion Styling ========== */
.feature-accordion-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: none;
}

.feature-accordion-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    padding: 25px 30px;
    background: white;
    border: none;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-dark);
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(232, 78, 126, 0.05), rgba(108, 99, 255, 0.05));
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.feature-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.feature-icon-small {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.feature-title-text {
    flex: 1;
}

.accordion-body {
    padding: 0 30px 30px 100px;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.feature-description {
    margin-bottom: 20px;
}

/* Styling voor HTML content in description */
.feature-description h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.feature-description p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-description ul,
.feature-description ol {
    margin: 15px 0;
    padding-left: 25px;
}

.feature-description li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.feature-description strong,
.feature-description b {
    color: var(--text-dark);
    font-weight: 600;
}

.feature-description hr {
    margin: 30px 0;
    border: none;
    border-top: 2px solid rgba(232, 78, 126, 0.2);
}

/* ========== Call-to-Action Sectie ========== */
.cta-section {
    padding: 100px 0;
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, rgba(232, 78, 126, 0.1), rgba(108, 99, 255, 0.1));
    border-radius: 25px;
    padding: 70px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-cta.primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-cta.primary:hover {
    background: #d41f6b;
    border-color: #d41f6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 78, 126, 0.3);
}

.btn-cta.secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-cta.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 78, 126, 0.3);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .hero-service {
        min-height: 100vh;
        padding: 120px 20px 80px;
    }

    .hero-service h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 20px;
    }

    .hero-service p {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .features-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .accordion-button {
        padding: 20px;
    }

    .feature-header-content {
        flex-direction: row;
        gap: 15px;
    }

    .feature-icon-small {
        font-size: 1.5rem;
        width: 40px;
    }

    .accordion-body {
        padding: 0 20px 25px 60px;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .hero-service {
        padding: 100px 15px 60px;
    }

    .features-section {
        padding: 60px 0;
    }

    .feature-accordion-item {
        margin-bottom: 15px;
    }

    .accordion-button {
        padding: 18px;
        font-size: 1rem;
    }

    .feature-header-content {
        gap: 12px;
    }

    .feature-icon-small {
        font-size: 1.3rem;
        width: 35px;
    }

    .accordion-body {
        padding: 0 18px 20px 50px;
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-box {
        padding: 40px 25px;
    }
}