/* Custom Styles for ChitoNet Website */

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

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

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

::-webkit-scrollbar-thumb {
    background: #06b6d4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

/* Ensure navbar is always on top */
nav {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.2s ease-in-out;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
}

/* Custom gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- NEW: Hero Background Filter --- */
/* This applies the blue/teal overlay to fix the "ugly" water look */
.hero-bg {
    background-image: 
        linear-gradient(
            to bottom right, 
            rgba(15, 23, 42, 0.85),  /* Dark Slate/Navy (Top Left) */
            rgba(6, 182, 212, 0.75)  /* Cyan/Teal (Bottom Right) */
        ),
        url('/static/img/homepageBackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: Creates a parallax effect */
}

/* Animation for fade-in effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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