/* ===== PROSES JASA PAGE STYLES ===== */

/* Header Section */
.proses-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.proses-header::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="20" cy="20" r="2" fill="%23fff" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%23fff" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    z-index: 1;
}

.header-bg-pattern {
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.proses-header .header-content {
    position: relative;
    z-index: 2;
}

.proses-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .proses-header h1 {
        font-size: 2rem;
    }
}

.proses-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.header-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.header-breadcrumb a:hover {
    color: var(--secondary-color);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Main Process Steps Container */
.proses-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.proses-steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Individual Process Step */
.proses-step {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
    scroll-margin-top: 100px;
}

.proses-step:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Step Header */
.step-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.8rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.step-title-group h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.step-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .step-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-title-group h3 {
        font-size: 1.5rem;
    }
}

/* Step Content Wrapper */
.step-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 968px) {
    .step-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Step Image Container */
.step-image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 300px;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.step-image-container:hover .step-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 20px;
    color: var(--white);
}

.image-label {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Step Details */
.step-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.step-description p {
    margin-bottom: 0;
}

/* Features List */
.step-features {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
}

.step-features h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.features-list strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.features-list span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Step Timeline */
.step-timeline {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.step-timeline h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.timeline-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-item i {
    color: var(--accent-color);
}

/* Technical Details Toggle */
.toggle-details-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
    width: fit-content;
}

.toggle-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.toggle-details-btn i {
    transition: var(--transition);
}

.toggle-details-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.technical-details {
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.tech-spec-item {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.tech-spec-item h5 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.tech-spec-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Step Connector */
.step-connector {
    display: flex;
    justify-content: center;
    margin: 30px 0 50px;
}

.connector-icon {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Process Summary */
.proses-summary {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.proses-summary h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.timeline-summary {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.timeline-progress {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.timeline-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.timeline-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: var(--transition);
    cursor: pointer;
    padding: 10px;
    border-radius: var(--border-radius);
}

.timeline-label:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.timeline-label.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.label-step {
    font-weight: 600;
    font-size: 0.95rem;
}

.label-time {
    font-size: 0.85rem;
    opacity: 0.8;
}

.timeline-total {
    font-size: 0.95rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: var(--white);
}

.comparison-section .section-title {
    color: var(--primary-color);
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

@media (max-width: 968px) {
    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.comparison-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 5px solid;
}

.comparison-card.borepile {
    border-top-color: var(--secondary-color);
}

.comparison-card.strauss {
    border-top-color: var(--accent-color);
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    padding: 25px;
    text-align: center;
}

.card-header h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.card-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.card-body {
    padding: 25px;
}

.comparison-list {
    list-style: none;
    margin-bottom: 25px;
}

.comparison-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    gap: 20px;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list .label {
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.comparison-list .value {
    color: var(--text-color);
    text-align: right;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.2rem;
}

@media (max-width: 968px) {
    .comparison-divider {
        display: none;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.faq-section .section-title {
    color: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
}

.faq-question i {
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-question.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.faq-answer.show {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 1.8rem;
    }

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

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-gray);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul li {
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .proses-step {
        padding: 25px;
        margin-bottom: 40px;
    }

    .step-content-wrapper {
        gap: 20px;
    }

    .step-image-container {
        height: 250px;
    }

    .step-details {
        gap: 15px;
    }

    .comparison-list {
        flex-direction: column;
    }

    .comparison-list .label {
        display: inline;
    }

    .comparison-list .value {
        margin-left: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proses-step {
    animation: fadeInUp 0.6s ease;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .toggle-details-btn {
        display: none;
    }

    .proses-step {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--light-gray);
    }
}
