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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

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

/* Hero Gradient */
.hero-gradient {
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 160, 23, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(193, 68, 14, 0.1) 0%, transparent 60%),
                linear-gradient(135deg, #0A1628 0%, #112240 50%, #0A1628 100%);
}

/* Floating Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-shape {
    will-change: transform;
}

.shape-1 { animation: float 6s ease-in-out infinite; }
.shape-2 { animation: float-delay 8s ease-in-out infinite; }
.shape-3 { animation: float-slow 10s ease-in-out infinite; }
.shape-4 { animation: float-delay 7s ease-in-out infinite; }
.shape-5 { animation: float 9s ease-in-out infinite; }

/* Reveal Animations */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mobile Menu */
.mobile-link {
    transition: all 0.3s ease;
}

/* Navbar Scroll State */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .menu-line {
    background: #FFF8E7;
}

/* Button Hover Effects */
a, button {
    transition: all 0.3s ease;
}

/* Image Hover */
.group:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.1;
    }
}

/* Print Styles */
@media print {
    .hero-shape, .reveal-up, .reveal-left, .reveal-right {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
