:root {
    --gold: #D4AF37;
    --dark-brown: #3E2723;
    --light-cream: #F5F5DC;
    --medium-brown: #5D4037;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    color: #333;
    background-color: var(--light-cream);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.custom-navbar {
    background-color: var(--dark-brown);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-navbar.scrolled {
    background-color: rgba(62, 39, 35, 0.95);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold);
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(62, 39, 35, 0.7), rgba(62, 39, 35, 0.7)), 
                url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeIn 2s forwards 1s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark-brown);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-brown);
}

.page-header {
    height: 50vh;
    background: linear-gradient(rgba(62, 39, 35, 0.7), rgba(62, 39, 35, 0.7)), 
                url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-brown);
    margin-bottom: 2rem;
}

.intro-section {
    padding: 80px 0;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.kingdom-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.kingdom-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.kingdom-card {
    min-height: 200px;
}


.kingdom-title {
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.kingdom-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.kingdom-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kingdom-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.kingdom-image:hover img {
    transform: scale(1.05);
}

.kingdom-image:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.carousel-section {
    padding: 80px 0;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(62, 39, 35, 0.7);
    border-radius: 8px;
    padding: 20px;
}

.carousel-caption h3 {
    color: var(--gold);
    font-size: 2rem;
}

.carousel-caption p {
    font-size: 1.1rem;
}

.gallery-section {
    padding: 80px 0;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h4 {
    color: var(--dark-brown);
    margin-bottom: 10px;
}

.gallery-caption p {
    color: var(--medium-brown);
    font-size: 0.9rem;
}

.contact-section {
    padding: 80px 0;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: var(--dark-brown);
    font-size: 2rem;
}

.form-control {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 8px;
}

.info-section {
    padding: 60px 0;
}

.info-item {
    padding: 20px;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.info-item h3 {
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.info-item p {
    color: var(--medium-brown);
}

.footer {
    background-color: var(--dark-brown);
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f1d98d;
}

.alert-success {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.alert-success.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}
.hero-section {
    position: relative;
    height: 100vh;             /* Full tinggi layar */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Biar video menutup penuh */
    z-index: 0;                /* Paling belakang */
}

.hero-content {
    position: relative;
    z-index: 1;                 /* Di atas video */
    padding: 20px;
    background: rgba(  0, 0, 0, 0.35); /* 🔥 Transparan tipis agar teks tetap kebaca */
    border-radius: 10px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}