/* Custom styles for TNT Services */

/* Smooth scrolling is handled in HTML */

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Geometric shape animations */
.geometric-shape {
    animation: float 8s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.geometric-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 12s;
}

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: #00E5C7;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B89E;
}

/* Selection color */
::selection {
    background: #00E5C7;
    color: #0A1628;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #00E5C7;
    box-shadow: 0 0 0 3px rgba(0, 229, 199, 0.2);
}

/* Mobile menu animation */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background-color: #00E5C7;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Service card hover effect */
.service-card {
    transition: all 0.2s ease;
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #00E5C7;
}

/* Button hover effects */
button:hover, a:hover {
    transition: all 0.2s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav, button, form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-midnight, .bg-gray-50 {
        background: white !important;
    }
}
