/* Colorful Gradient Styles for Byte Mark Labs */

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

/* Custom Typography */
h1, h2, h3 {
    letter-spacing: -0.01em;
}

/* Override default section opacity for smooth load */
body {
    overflow-x: hidden;
}

/* Gradient text animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-text-animated {
    background-size: 200% auto;
    animation: gradientShift 7s ease infinite;
}

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

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

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.5s ease;
}

/* Enhanced button effects */
a[href*="contact"] {
    position: relative;
    overflow: hidden;
}
a {
    position: relative;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[src] {
    opacity: 1;
}

.nav-logo {
    transition: filter 0.2s ease;
}

.nav-logo:hover {
    /* Force a teal tint on the transparent PNG */
    filter: brightness(0) saturate(100%) invert(61%) sepia(15%) saturate(1044%) hue-rotate(154deg) brightness(87%) contrast(91%);
}

/* Gradient overlay animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-gradient-animated {
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

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

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #BDDFCC 0%, #4391A8 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4391A8 0%, #154057 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6f6dc;
}

/* Ensure consistent box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Remove default margins */
body {
    margin: 0;
    padding: 0;
}

/* Accessibility - Focus states */
a:focus, button:focus {
    outline: 2px solid #e6f6dc;;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(189, 223, 204, 0.3);
}

/* Colorful shadows */
.shadow-colorful {
    box-shadow: 0 10px 40px rgba(67, 145, 168, 0.2),
                0 4px 12px rgba(189, 223, 204, 0.15);
}

/* Honeypot spam protection - completely hidden */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Logo Grid Styling */
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.logo-item {
    width: 150px;
    height: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Print styles */
@media print {
    nav, footer {
        display: none;
    }
}
