:root {
    --soft-blue: #a0c1d1;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --gold-accent: #d4af37;
}

body {
    font-family: 'Merriweather', serif;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    padding-top: 76px; /* Height of fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #e0f0ff 100%);
    padding: 120px 0 100px;
    text-align: center;
}

.quote-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--gold-accent);
    padding: 20px;
    margin: 30px 0;
    max-width: 600px;
}

.gold-accent {
    color: var(--gold-accent);
}

.btn-primary {
    background-color: var(--soft-blue);
    border-color: var(--soft-blue);
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #8aaec1;
    border-color: #8aaec1;
}

/* Tentang Section */
.tentang-section {
    background-color: white;
}

.feature-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.feature-item i {
    color: var(--gold-accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ulama Slider */
.ulama-slider {
    background-color: #f8f9fa;
}

.ulama-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

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

.ulama-img {
    height: 250px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Reflective Question */
.reflective-question {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #8aaec1 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.reflective-question p {
    font-size: 1.5rem;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Karya Section */
.karya-section {
    background-color: white;
}

.karya-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.karya-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.karya-card .card-body {
    padding: 25px;
}

.karya-card .badge {
    font-size: 0.7rem;
    padding: 6px 12px;
}

/* Login Section */
.login-section {
    background-color: #f8f9fa;
}

.login-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.login-features {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #8aaec1 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.login-features h5 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.login-features ul {
    list-style: none;
    padding: 0;
}

.login-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.login-features i {
    margin-right: 10px;
    color: var(--gold-accent);
}

/* Footer */
footer {
    margin-top: 0 !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--soft-blue) !important;
}

footer .list-unstyled li {
    margin-bottom: 8px;
}

footer .list-unstyled a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: var(--soft-blue) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .quote-container {
        margin: 20px 0;
        padding: 15px;
    }
    
    .reflective-question p {
        font-size: 1.2rem;
        padding: 0 15px;
    }
    
    .login-card .card-body {
        padding: 30px 20px;
    }
    
    .login-features {
        margin-top: 30px;
        padding: 20px;
    }
    
    .ulama-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section,
.tentang-section,
.ulama-slider,
.reflective-question,
.karya-section,
.login-section {
    animation: fadeIn 1s ease-out;
}

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