/* Custom styles — overrides and additions beyond Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(15, 29, 54, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

/* Hero image parallax feel */
#hero img {
    transition: transform 0.6s ease;
}

#hero:hover img {
    transform: scale(1.02);
}

/* Service card hover */
.group:hover .group-hover\:bg-gold-500 {
    transition: background-color 0.3s ease;
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gold accent underline */
.text-gold-600::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #c8a44e;
    margin-top: 8px;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 164, 78, 0.15);
}

/* Subtle gradient on gold CTA */
.bg-gold-500 {
    background: linear-gradient(135deg, #d4ab52 0%, #c8a44e 100%) !important;
}

.bg-gold-500:hover {
    background: linear-gradient(135deg, #e0bc62 0%, #d4ab52 100%) !important;
}

/* Map hover */
iframe:hover {
    filter: grayscale(0) !important;
    transition: filter 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a2b4a;
}
::-webkit-scrollbar-thumb {
    background: #c8a44e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4ab52;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.75rem;
    }
}
