/* Custom styles that complement Tailwind */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(16, 42, 67, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Gold underline effect */
.gold-underline {
    position: relative;
    display: inline-block;
}

.gold-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #d4a853, #c9a227);
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #d4a853 0%, #c9a227 100%);
    color: #102a43;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.3);
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    color: #102a43;
    border: 1px solid #102a43;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #102a43;
    color: #f8f9fa;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Contact form */
.contact-form input,
.contact-form textarea {
    border: 1px solid #d9e2ec;
    background: transparent;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4a853;
}

/* Success message */
.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

/* Map container */
.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #102a43 0%, #243b53 50%, #334e68 100%);
}

/* Gold accent */
.gold-accent {
    color: #d4a853;
}

/* Thin line */
.thin-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a853, transparent);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d4a853;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}
