/* ===== Custom Styles for NOC Caravan ===== */

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

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    top: 15%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-circle-2 {
    bottom: 20%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-triangle {
    top: 40%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(13, 148, 136, 0.04);
    transform: rotate(15deg);
}

.geo-dots {
    top: 60%;
    left: 8%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(13, 148, 136, 0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.6;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Styles */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .font-heading,
#navbar.scrolled .nav-link {
    color: #0f172a;
}

#navbar.scrolled .mobile-nav-link {
    color: #0f172a;
}

/* Active nav link */
.nav-link.active {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.08);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.2);
    color: #134e4a;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}

/* Apply subtle floating to hero decorative elements */
#hero .absolute.top-1\/3,
#hero .absolute.bottom-1\/3 {
    animation: float 4s ease-in-out infinite;
}

#hero .absolute.bottom-1\/3 {
    animation: float-delayed 5s ease-in-out infinite;
}

/* Button ripple effect on hover */
button, a {
    position: relative;
    overflow: visible;
}

/* Print styles */
@media print {
    #navbar, #back-to-top, .geo-shape {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
