@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Lora:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;600&display=swap');

:root {
    --hijau-ramadhan: #1b4332;
    --hijau-muda: #2d6a4f;
    --emas-gradient: linear-gradient(135deg, #C9963A 0%, #E8C37B 50%, #B07E2E 100%);
    --emas-solid: #C9963A;
    --cream-soft: #fdfaf4;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream-soft);
    color: var(--hijau-ramadhan);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background-color: var(--hijau-ramadhan);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-logo {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.5rem;
    color: var(--emas-solid);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--emas-solid);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--emas-gradient);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero-section {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relatives;
}

.hero-content h1 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    background: var(--emas-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.btn-hero {
    background: var(--emas-gradient);
    color: var(--hijau-ramadhan);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(201, 150, 58, 0.4);
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(201, 150, 58, 0.6);
}

.features-section {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(201, 150, 58, 0.2);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--emas-solid);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3.5rem;
    background: var(--emas-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.btn-card {
    display: inline-block;
    margin-top: 25px;
    color: var(--emas-solid);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.btn-card:hover {
    border-bottom: 2px solid var(--emas-solid);
    letter-spacing: 1px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: var(--emas-gradient);
    transition: width 0.4s ease;
}

.nav-links a:hover::before {
    width: 100%;
    left: 0;
}

footer {
    background-color: var(--hijau-ramadhan);
    color: white;
    text-align: center;
    padding: 20px 20px 20px 5px;
    border-top: 5px solid var(--emas-solid);
    position: relative;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

footer h3 {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--emas-solid);
    margin-bottom: 2px;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}