/* Custom styles for Atkins And Medna CPA */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070f0b;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4a574, #b8864e);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #e8c9a0, #d4a574);
}

/* Pulse animation for decorative orbs */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Service card hover effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.1);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(7, 15, 11, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-scrolled .nav-link {
    color: rgba(253, 248, 240, 0.8) !important;
}

.nav-scrolled .nav-link:hover {
    color: #d4a574 !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    max-height: 400px;
}

/* Mobile link hover */
.mobile-link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: rgba(212, 165, 116, 0.3);
    color: #fdf8f0;
}

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

/* Fade-in animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Gold gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #e8c9a0, #d4a574, #b8864e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 165, 116, 0.2);
}

.glow-gold:hover {
    box-shadow: 0 0 60px rgba(212, 165, 116, 0.4);
}
