/* Ultra-Modern Marina Tech 2026 - Custom Styles */

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: #ffffff;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 180, 216, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00FFE5 0%, #00B4D8 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon Glow Effects */
.neon-glow {
    box-shadow: 0 0 20px rgba(0, 255, 229, 0.5),
                0 0 40px rgba(0, 180, 216, 0.3),
                0 0 60px rgba(0, 180, 216, 0.2);
}

.neon-text {
    text-shadow: 0 0 10px rgba(0, 255, 229, 0.8),
                 0 0 20px rgba(0, 180, 216, 0.6),
                 0 0 30px rgba(0, 180, 216, 0.4);
}

/* Advanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(0, 255, 229, 0.2),
                    0 0 20px rgba(0, 180, 216, 0.2);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 255, 229, 0.6),
                    0 0 40px rgba(0, 180, 216, 0.4),
                    0 0 60px rgba(0, 180, 216, 0.2);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 3D Card Hover Effect */
.card-3d {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00FFE5, #00B4D8);
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00B4D8, #A855F7);
}

/* Selection */
::selection {
    background-color: rgba(0, 255, 229, 0.3);
    color: #ffffff;
}

/* Smooth hover transitions */
.smooth-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #00FFE5, #00B4D8, #A855F7);
    z-index: -1;
}

/* Parallax Effect */
.parallax {
    transform-style: preserve-3d;
}

/* Loading Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    border: 3px solid rgba(0, 255, 229, 0.1);
    border-top-color: #00FFE5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #00FFE5;
    outline-offset: 2px;
}

/* Blur Effect */
.backdrop-blur-custom {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* Image Hover Effect */
.image-hover {
    overflow: hidden;
    position: relative;
}

.image-hover img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover:hover img {
    transform: scale(1.1) rotate(2deg);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
    transform: scale(1.05);
}

/* Custom Gradient Backgrounds */
.bg-gradient-1 {
    background: linear-gradient(135deg, #0A2463 0%, #2A0845 100%);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #00B4D8 0%, #A855F7 100%);
}

.bg-gradient-3 {
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 229, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* Logo Shine Effect */
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.logo-shine {
    background: linear-gradient(
        90deg,
        #00FFE5 0%,
        #00B4D8 20%,
        #ffffff 40%,
        #A855F7 60%,
        #00B4D8 80%,
        #00FFE5 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}
@media print {
    #particles-js,
    header,
    footer,
    .no-print {
        display: none;
    }
}

/* Print styles */
@media print {
    #particles-js,
    header,
    footer,
    .no-print {
        display: none;
    }
}
