:root {
    --gold: #9c7b16;
    /* dark golden accent */
    --gold-600: #8a6d13;
    --gold-300: #c9ad54;
    --ink: #0f0f0f;
    --paper: #ffffff;
    --muted: #6c757d;

    --primary-color: #b8860b;
    --secondary-color: #daa520;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gold-light: #fcf6e9;
}

html,
body {
    scroll-behavior: smooth;
    background: var(--paper);
    color: var(--ink);
    font-family: "Raleway", sans-serif;
    overflow-x: hidden;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background: var(--gold) !important;
}

.btn-gold {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-bg: var(--gold-600);
    --bs-btn-hover-border-color: var(--gold-600);
    --bs-btn-focus-shadow-rgb: 156, 123, 22;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
}

.bg-gold {
    background-color: var(--gold-light);
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.link-gold:hover {
    color: var(--gold-600);
}

#navbar {
    padding: 40px 20px;
    background: transparent;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: #fff;
    padding: 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

#navbar a.nav-link {
    font-weight: 500;
    color: #f8f9fa;
}

#navbar.scrolled a.nav-link {
    font-weight: 500;
    color: var(--primary-color);
}

#navbar #logo-link {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--light-color);
}

#navbar.scrolled #logo-link {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

#navbar #logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

#navbar.scrolled #logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero-section {
    
    background-size: cover !important;
    padding: 300px 0 100px;
    height: 100vh;
    background-attachment: fixed !important;
}

.hero {
    background: radial-gradient(
            1200px 400px at 80% -10%,
            rgba(156, 123, 22, 0.08),
            transparent 60%
        ),
        radial-gradient(
            900px 300px at 10% 0%,
            rgba(156, 123, 22, 0.06),
            transparent 60%
        ),
        #fff;
}

.hero-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-300));
    color: #fff;
    border-radius: 9999px;
    padding: 0.35rem 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 14px rgba(156, 123, 22, 0.25);
}

#about {
    padding: 30px 10px;
}

.section-title .bar {
    width: 72px;
    height: 3px;
    background: var(--gold);
    border-radius: 9999px;
    margin: 0.75rem auto 0;
}

.card-service {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 20px;
}

.card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.card-service .title {
    color: white;
    font-size: 25px;
}

.card-service ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white !important;
    margin-top: 15px;
}

.card-service ul li {
    margin-bottom: 10px;
}

.icon-pill {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 123, 22, 0.08);
    color: var(--gold);
}

/* Floating WhatsApp */
.fab-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #128c7e;
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.fab-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: grid;
    place-items: center;
    z-index: 2000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(156, 123, 22, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Multi-level dropdown fix */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
}
