/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #0a1628;
    background: #fdf9f3;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1a2d4a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #233d62;
}

/* Selection */
::selection {
    background: #d4a855;
    color: #0a1628;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navigation */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a855;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #c8973e, #d4a855);
    color: #0a1628;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 151, 62, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: #d4a855;
    color: #d4a855;
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    border: 1px solid rgba(10, 22, 40, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #111f36, #233d62);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Stats */
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #c8973e;
    line-height: 1;
}

/* Testimonial */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(10, 22, 40, 0.06);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: #e0c070;
    line-height: 1;
    opacity: 0.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
}

/* Contact Form */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(10, 22, 40, 0.1);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #c8973e;
    box-shadow: 0 0 0 3px rgba(200, 151, 62, 0.15);
}

/* Footer */
.footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image overlay */
.img-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.3), transparent);
    border-radius: 8px;
}

/* Gold accent bar */
.gold-bar {
    height: 4px;
    background: linear-gradient(90deg, #c8973e, #e0c070, #c8973e);
}

/* Back to Top */
#backToTop {
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#backToTop.visible {
    opacity: 1;
    pointer-events: all;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 32px 24px;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 16px;
        left: 20px;
    }
}
