/* Custom styles */
html {
    scroll-behavior: smooth;
}

/* Logo adjustments */
.logo-container img {
    max-height: 100%;
    width: auto;
}

/* Mobile Menu Styles */
#mobile-menu {
    visibility: hidden;
    opacity: 0;
}

#mobile-menu.translate-x-0 {
    visibility: visible;
    opacity: 1;
        height: fit-content;
        padding-bottom: 10%;
        
}

#mobile-menu.translate-x-full {
    visibility: hidden;
    opacity: 0;
}

/* Mobile menu animation enhancement */
#mobile-menu {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu a {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;
}

#mobile-menu.translate-x-0 a {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu a:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu a:nth-child(3) { transition-delay: 0.3s; }

/* Mobile menu button animation */
#mobile-menu-button {
    transition: all 0.3s ease;
}

#mobile-menu-button:hover {
    transform: scale(1.1);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* Modern Animations */
.floating {
    animation: floating 3s ease-in-out infinite;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Animation Keyframes */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Hover Effects */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Gradient Backgrounds */
.gradient-border {
    position: relative;
    background: linear-gradient(to right, #3B82F6, #8B5CF6);
    padding: 1px;
    border-radius: 0.5rem;
}

.gradient-border > * {
    background: white;
    border-radius: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Smooth scroll padding */
@media screen and (min-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
}

/* Mobile menu improvements */
@media screen and (max-width: 767px) {
    .mobile-menu {
        display: none;
    }
    .mobile-menu.active {
        display: block;
    }
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
