/* Custom styles for Olhoten Apps */

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

/* Custom focus styles */
:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Button hover effects */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Form input focus animation */
input:focus, textarea:focus {
    transform: translateY(-1px);
}

/* Card hover animation */
.hover\:shadow-lg:hover {
    transform: translateY(-2px);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.show {
    display: block;
}

/* Gradient text effect (optional) */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading animation for form submission */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }

    main {
        padding: 0;
    }

    .bg-gradient-to-br {
        background: white !important;
        color: black !important;
    }
}
