/* Styles for Service Pages (Cara Pemesanan, Metode Pembayaran, Pengiriman, Retur & Garansi, FAQ) */

/* Common Styles for All Service Pages */
.page-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-container {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.service-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.section-title {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: #e74c3c;
}

/* Steps Styling */
.steps-container {
    margin: 40px 0;
}

.step-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-content {
    flex-grow: 1;
    padding-top: 10px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% - 30px);
    background-color: #e0e0e0;
    z-index: 1;
}

/* Info Box Styling */
.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.info-box h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-box p {
    margin-bottom: 0;
    color: #666;
}

/* FAQ Styling */
.faq-section {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    display: none;
    padding: 10px 0;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Card Grids for Methods/Options */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.card-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-icon {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-icon i {
    font-size: 2rem;
    color: #2c3e50;
}

.card-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 50px 0;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-description {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .step-item:not(:last-child)::after {
        display: none;
    }
    
    .service-section {
        padding: 20px;
    }
}