/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Navigation */
.nav-link {
    position: relative;
}

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

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

#navbar.scrolled {
    background: rgba(46, 3, 22, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-nav-link {
    transition: all 0.2s ease;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #f59e0b;
    border-radius: 50%;
    top: 10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 50%;
    top: 40%;
    left: 15%;
    animation: float 10s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.2);
    top: 25%;
    left: 10%;
    transform: rotate(45deg);
    animation: rotate 20s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(245, 158, 11, 0.4);
    bottom: 30%;
    right: 15%;
    transform: rotate(30deg);
    animation: rotate 15s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(245, 158, 11, 0.15);
    top: 60%;
    right: 25%;
    animation: float 7s ease-in-out infinite;
}

.geo-ring-1 {
    width: 150px;
    height: 150px;
    border: 4px solid rgba(244, 166, 160, 0.3);
    border-radius: 50%;
    top: 15%;
    left: 25%;
    animation: pulse 4s ease-in-out infinite;
}

.geo-dots-1 {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, #f59e0b 2px, transparent 2px);
    background-size: 12px 12px;
    bottom: 40%;
    left: 30%;
    opacity: 0.4;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Scroll reveal */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be185d, #d97706);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d174d, #f59e0b);
}

/* 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;
    }
    
    .geo-shape {
        animation: none;
    }
}
