/* Custom CSS untuk Aplikasi Donasi Online */

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    padding: 12px 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #28a745;
}

.nav-link.active {
    color: #28a745 !important;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center center;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.campaign-card .card-img-top {
    height: 180px;
}

.card-title {
    font-weight: 600;
}

/* Progress Bar */
.progress {
    height: 10px;
    border-radius: 5px;
    margin: 15px 0;
}

.progress-bar {
    background-color: #28a745;
}

/* Campaign Stats */
.campaign-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
}

/* News Card */
.news-card {
    height: 100%;
}

.news-card .card-img-top {
    height: 180px;
}

.news-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 10px;
    display: block;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

.btn-lg {
    padding: 12px 30px;
}

/* Footer */
footer {
    background-color: #212529;
    color: #fff;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #f8f9fa;
}

footer a:hover {
    color: #28a745 !important;
    text-decoration: none;
}

footer .fab {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

footer .fab:hover {
    transform: scale(1.2);
}

footer h5 {
    color: #fff;
    font-weight: 600;
}

footer p {
    color: #f8f9fa;
}

footer .text-muted {
    color: #adb5bd !important;
}

/* About Section */
.about-img {
    border-radius: 12px;
    overflow: hidden;
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
}

.contact-form textarea.form-control {
    min-height: 150px;
}

/* Dashboard */
.dashboard-stats .card {
    border-left: 4px solid #28a745;
}

.dashboard-stats .card-icon {
    font-size: 2rem;
    color: #28a745;
}

/* Profile */
.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Auth Pages */
.auth-form {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .navbar-nav {
        padding-top: 15px;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}