/* Tentang Page Specific Styles */
:root {
    --primary: #2c786c;
    --primary-dark: #1a4d44;
    --primary-light: #3d9d8f;
    --secondary: #ff9800;
    --secondary-dark: #f57c00;
    --accent: #004445;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] {
    --light: #1e293b;
    --dark: #f8fafc;
    --gray-50: #0f172a;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
}

/* Header Styles */
.page-header {
    background: linear-gradient(135deg, rgba(44, 120, 108, 0.95) 0%, rgba(0, 68, 69, 0.95) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 6rem 0 4rem;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 152, 0, 0.1), transparent 50%);
}

.breadcrumb {
    background: transparent;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.header-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.header-stats h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.header-stats small {
    color: rgba(255, 255, 255, 0.8);
}

/* Quick Info Section */
.quick-info-section {
    background: linear-gradient(135deg, var(--gray-50), white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

[data-bs-theme="dark"] .quick-info-section {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    border-color: var(--gray-700);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

[data-bs-theme="dark"] .info-card {
    background: var(--gray-800);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-size: 1.1rem;
}

[data-bs-theme="dark"] .info-content h5 {
    color: var(--gray-100);
}

.info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

[data-bs-theme="dark"] .info-content p {
    color: var(--gray-400);
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

[data-bs-theme="dark"] .section-title {
    color: var(--gray-100);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

[data-bs-theme="dark"] .section-subtitle {
    color: var(--gray-400);
}

/* About Content */
.about-image {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-5px);
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: white;
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

[data-bs-theme="dark"] .mission-card,
[data-bs-theme="dark"] .vision-card {
    background: var(--gray-800);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.mission-icon, .vision-icon {
    color: var(--primary);
}

.mission-card ul li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray-100);
}

[data-bs-theme="dark"] .mission-card ul li {
    border-color: var(--gray-700);
}

.mission-card ul li:last-child {
    border-bottom: none;
}

.vision-targets .target-item {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

[data-bs-theme="dark"] .vision-targets .target-item {
    background: var(--gray-700);
}

.vision-targets .target-item:hover {
    transform: translateX(5px);
    background: var(--gray-100);
}

[data-bs-theme="dark"] .vision-targets .target-item:hover {
    background: var(--gray-600);
}

/* Value Cards */
.value-card {
    background: white;
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

[data-bs-theme="dark"] .value-card {
    background: var(--gray-800);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    color: var(--primary);
}

/* Stat Cards */
.stat-card {
    background: white;
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

[data-bs-theme="dark"] .stat-card {
    background: var(--gray-800);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Prayer Times & Local Info Cards */
.prayer-times-card,
.local-info-card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.prayer-times-card:hover,
.local-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.prayer-times-card .card-header,
.local-info-card .card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0 !important;
}

.prayer-times-card .card-header h5,
.local-info-card .card-header h5 {
    margin: 0;
    font-weight: 700;
}

.prayer-times-card .card-body,
.local-info-card .card-body {
    padding: 2rem;
}

/* Prayer Times Grid */
.prayer-times-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prayer-time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-radius: 1rem;
    transition: var(--transition);
}

[data-bs-theme="dark"] .prayer-time-item {
    background: var(--gray-700);
}

.prayer-time-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

[data-bs-theme="dark"] .prayer-time-item:hover {
    background: var(--gray-600);
}

.prayer-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

[data-bs-theme="dark"] .prayer-name {
    color: var(--gray-100);
}

.prayer-time {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary);
    background: rgba(44, 120, 108, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    min-width: 80px;
    text-align: center;
}

/* Local Info List */
.local-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 1rem;
    transition: var(--transition);
}

[data-bs-theme="dark"] .info-item {
    background: var(--gray-700);
}

.info-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

[data-bs-theme="dark"] .info-item:hover {
    background: var(--gray-600);
}

.info-item .info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    font-size: 1rem;
}

[data-bs-theme="dark"] .info-content h6 {
    color: var(--gray-100);
}

.info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

[data-bs-theme="dark"] .info-content p {
    color: var(--gray-400);
}

/* Partner Logos */
.partner-logo {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

[data-bs-theme="dark"] .partner-logo {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.partner-logo img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    max-height: 60px;
    width: auto;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 4rem 0;
}

/* Button Styles */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Background Colors */
.bg-light {
    background: var(--gray-50) !important;
}

[data-bs-theme="dark"] .bg-light {
    background: var(--gray-900) !important;
}

/* Real Time Clock */
.real-time-clock {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--gray-600);
}

[data-bs-theme="dark"] .real-time-clock {
    color: var(--gray-400);
}

/* Alert Notification */
.alert-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    border: none;
    border-radius: 1rem;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 3rem;
        text-align: center;
        background-attachment: scroll;
    }
    
    .header-stats {
        margin-top: 2rem;
    }
    
    .header-stats h3 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .quick-info-section {
        padding: 1.5rem 0;
    }
    
    .info-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .mission-card, .vision-card {
        margin-bottom: 2rem;
    }
    
    .prayer-times-card .card-body,
    .local-info-card .card-body {
        padding: 1.5rem;
    }
    
    .prayer-time-item,
    .info-item {
        padding: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .about-image {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .partner-logo {
        padding: 1.5rem;
        height: 100px;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
    
    .stat-card h2 {
        font-size: 2rem;
    }
    
    .prayer-time-item,
    .info-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .real-time-clock {
        display: none;
    }
}