/* Custom styles to enhance Tailwind */
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: #0a0a0a;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

.mobile-menu a {
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.glass-card {
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.project:hover {
    transform: translateY(-8px);
}

.achievement:hover {
    transform: translateY(-5px);
}

.parallax-bg {
    background: url('assets/images/cyber-bg.jpg') center/cover no-repeat, linear-gradient(to bottom, #0a0a0a, #0a0a0a);
    background-attachment: fixed;
}

.neon-text {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8), 0 0 20px rgba(59, 130, 246, 0.4);
}

.neon-hover:hover {
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.4);
}

.cyber-text {
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    0% { text-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6, 0 0 30px #3b82f6; }
    50% { text-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444, 0 0 30px #ef4444; }
    100% { text-shadow: 0 0 10px #10b981, 0 0 20px #10b981, 0 0 30px #10b981; }
}

.drone-logo {
    transition: transform 0.3s ease;
}

.drone-logo:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #3b82f6);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shadow-blue-500 {
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.5);
}

.shadow-red-500 {
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.5);
}

.shadow-green-500 {
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.5);
}

input:focus, textarea:focus {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }
    .mobile-menu.active {
        display: block;
    }
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Ripple effect for buttons */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ripple-btn:hover::after {
    width: 200px;
    height: 200px;
}