/* Detail Cabang Styles */

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FEA405;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

/* Loading State */
.loading-container {
    text-align: center;
    padding: 100px 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #666;
    font-size: 16px;
}

/* Error State */
.error-container {
    text-align: center;
    padding: 80px 20px;
}

.error-icon {
    font-size: 80px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-container h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
}

.error-container p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Hero Section */
.cabang-hero {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cabang-hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.cabang-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 30px;
    color: white;
}

.cabang-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cabang-subtitle {
    font-size: 18px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Info Cards */
.info-cards-section {
    margin-bottom: 40px;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: #4CAF50;
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.info-icon {
    font-size: 40px;
    opacity: 0.9;
}

.info-content h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

.info-content p {
    font-size: 24px;
    font-weight: bold;
}

/* Section Styles */
.deskripsi-section,
.kegiatan-section,
.lokasi-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4CAF50;
}

.section-header i {
    font-size: 28px;
    color: #4CAF50;
}

.section-header h2 {
    font-size: 26px;
    color: #333;
    font-weight: 600;
}

.section-content {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

/* Deskripsi */
.deskripsi-section .section-content p {
    text-align: justify;
}

/* Kegiatan List */
.kegiatan-list {
    display: grid;
    gap: 15px;
}

.kegiatan-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.kegiatan-item:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.kegiatan-item h4 {
    color: #4CAF50;
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kegiatan-item h4 i {
    font-size: 16px;
}

.kegiatan-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Lokasi Section */
.alamat-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alamat-info i {
    font-size: 24px;
    color: #e74c3c;
    margin-top: 3px;
}

.alamat-info p {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Action Buttons */
.action-buttons {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-back:hover {
    background: #FEA405;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-back i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cabang-hero-image {
        height: 300px;
    }

    .hero-overlay {
        padding: 25px 20px;
    }

    .cabang-title {
        font-size: 28px;
    }

    .cabang-subtitle {
        font-size: 16px;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header i {
        font-size: 24px;
    }

    .deskripsi-section,
    .kegiatan-section,
    .lokasi-section {
        padding: 20px;
    }

    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
    }

    .cabang-hero-image {
        height: 250px;
    }

    .cabang-title {
        font-size: 24px;
    }

    .cabang-subtitle {
        font-size: 14px;
    }

    .info-content p {
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .kegiatan-item h4 {
        font-size: 16px;
    }

    .btn-back {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Back Button Styles */
.back-button-container {
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #4CAF50;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.back-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.back-button:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.back-button:hover i {
    transform: translateX(-5px);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .back-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}








