/* === CUSTOM STYLES === */

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

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fff;
}

/* === FLOATING CARD ANIMATIONS === */
@keyframes float-main {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-8px) translateX(5px); }
}

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

@keyframes float-3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

.card-float-main {
    animation: float-main 5s ease-in-out infinite;
}

.card-float-1 {
    animation: float-1 4s ease-in-out infinite;
}

.card-float-2 {
    animation: float-2 4.5s ease-in-out infinite;
}

.card-float-3 {
    animation: float-3 3.5s ease-in-out infinite;
}

/* === SCROLL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    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; }

/* === NAV SCROLL STATE === */
nav.scrolled {
    background: rgba(59, 7, 100, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled .bg-white\/10 {
    background: rgba(255, 255, 255, 0.1);
}

/* === MOBILE MENU === */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* === GEOMETRIC DECORATIONS === */
.geo-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(251, 191, 36, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
}

/* === BUTTON HOVER EFFECTS === */
a:hover {
    transition: all 0.3s ease;
}

/* === IMAGE HOVER ZOOM === */
img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === FORM FOCUS STATES === */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

/* === ACCESSIBILITY === */
@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;
    }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}
