/* Custom Styles for HexaCore Landing Page */

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

/* Padding top for fixed navigation */
section {
    scroll-margin-top: 80px;
}

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

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

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

/* Dark mode transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #1d3a57;
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    a:focus,
    button:focus,
    input:focus,
    textarea:focus {
        outline: 2px solid #60a5fa;
    }
}

/* Custom scrollbar (optional, for webkit browsers) */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #1d3a57;
    border-radius: 5px;
}

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

@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #1e293b;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #60a5fa;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #3b82f6;
    }
}

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