/* ============================================
   Geared Up Equipment & Supply — Custom Styles
   ============================================ */

/* Base & Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: rgba(13, 148, 136, 0.2);
    color: #0f766e;
}

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

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navbar Transition */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

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

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

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    position: relative;
}

/* Service Cards */
.service-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                border-color 0.5s ease, 
                box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery Images */
.gallery-item {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in.stagger-1 { transition-delay: 0.1s; }
.fade-in.stagger-2 { transition-delay: 0.2s; }
.fade-in.stagger-3 { transition-delay: 0.3s; }
.fade-in.stagger-4 { transition-delay: 0.4s; }

/* Floating Cards Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card-1 {
    animation: float 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 6s ease-in-out infinite 3s;
}

/* Button Hover Glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.3);
}

/* Input Focus Animation */
input:focus,
textarea:focus {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Image Loading Placeholder */
img {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}

/* Print Styles */
@media print {
    nav, #contact-form, .floating-card-1, .floating-card-2 {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
