/* === Base & Utilities === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #c8a45e;
    color: #091e36;
}

/* === Navbar === */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(9, 30, 54, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(200, 164, 94, 0.15);
}

#navbar.scrolled .font-serif,
#navbar.scrolled span.font-serif {
    color: #ffffff;
}

/* === Mobile Menu === */
#mobile-menu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

.mobile-link {
    display: block;
}

/* === Service Cards === */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 43, 76, 0.1);
}

/* === Fade-in Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* === Testimonial Cards === */
.bg-gray-50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-gray-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 43, 76, 0.08);
}

/* === Form Inputs === */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

/* === Gold CTA Section === */
section.bg-gold-500 a:hover {
    transform: translateY(-1px);
}

/* === Gallery Items === */
.relative.overflow-hidden.rounded-sm {
    cursor: pointer;
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
}
