/* Custom CSS for Taman Baca Al-Kautsar */

:root {
    --primary-blue: #1B4B8C;
    --secondary-blue: #2E5BAE;
    --warning-yellow: #FFC107;
    --info-blue: #17A2B8;
    --light-gray: #F8F9FA;
    --text-muted: #6C757D;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Logo Circle */
.logo-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef6b 100%), url('attached_assets/gambar2.jpeg') center center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

/* Facility Cards */
.facility-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.facility-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

/* Service Items */
.service-item {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.service-item:last-child {
    border-bottom: none;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-yellow), #FFB300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.stat-item {
    padding: 20px;
}

/* Step Cards */
.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--warning-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

/* About Logo */
.about-logo {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid var(--primary-blue); */
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--warning-yellow);
    border-color: var(--warning-yellow);
    color: #000;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #FFB300;
    border-color: #FFB300;
    color: #000;
    transform: translateY(-2px);
}

.btn-info {
    background-color: var(--info-blue);
    border-color: var(--info-blue);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background-color: #138A9F;
    border-color: #138A9F;
    transform: translateY(-2px);
}

/* Section Spacing */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary-blue) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .facility-card,
    .step-card {
        padding: 30px 20px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-1 {
        font-size: 3rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Shadows */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.25rem;
}

/* Footer */
.footer-section {
    margin-top: auto;
}

/* Service Buttons Grid */
.services-section .btn {
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.services-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Info Section */
.info-section h5 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--warning-yellow);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* List Styling */
.list-unstyled li {
    padding: 5px 0;
    color: var(--text-muted);
}

/* Card Hover Effects */
.facility-card,
.step-card,
.hero-image-card {
    cursor: pointer;
}

/* Gradient Backgrounds */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 75, 140, 0.05) 0%, rgba(248, 249, 250, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Custom class for mobile full width */
@media (max-width: 576px) {
  .w-mobile-100 {
    width: 100% !important;
  }
}
