/* Custom styles for Professionail */

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

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #1a0a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #D4A84B, #b8860B);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f5d78e, #D4A84B);
}

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

@keyframes scrollLine {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

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

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Navbar styles */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(15, 5, 24, 0.8);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
}

#navbar.scrolled {
    background: rgba(15, 5, 24, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, #D4A84B, #f5d78e);
    transition: width 0.3s ease;
}

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

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

/* Mobile menu */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.open .mobile-link {
    animation: fadeInUp 0.5s ease-out forwards;
}

#mobileMenu.open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { animation-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(3) { animation-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(4) { animation-delay: 0.4s; }

/* Menu icon animation */
#menuBtn.active #menuIcon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active #menuIcon span:nth-child(2) {
    opacity: 0;
}

#menuBtn.active #menuIcon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Gold gradient text effect */
.bg-gradient-to-r {
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f5d78e;
}

/* Form styles */
select option {
    background: #1a0a2e;
    color: #fff;
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(212, 168, 75, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    #navbar,
    #mobileMenu {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
