/* Custom styles for K.Ks Corner */

/* Smooth scroll padding for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5ed;
}
::-webkit-scrollbar-thumb {
    background: #548237;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f662a;
}

/* Selection color */
::selection {
    background: #548237;
    color: #fafaf5;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #548237;
    outline-offset: 2px;
}

/* Subtle entrance animation for hero elements */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero > div > div > div > div:first-child {
    animation: fadeUp 0.6s ease forwards;
}

#hero > div > div > div > h1 {
    animation: fadeUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

#hero > div > div > div > p {
    animation: fadeUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

#hero > div > div > div > div:nth-child(4) {
    animation: fadeUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

#hero > div > div > div > div:nth-child(5) {
    animation: fadeUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* Print styles */
@media print {
    header, #contactForm, button, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
