/* 
 * Dawaac Front-End Prototype Styles
 * Using Tailwind CSS via CDN for rapid prototyping
 * 
 * For Laravel conversion: Replace CDN with compiled Tailwind CSS
 * Run: npm install -D tailwindcss && npx tailwindcss -i ./resources/css/app.css -o ./public/css/app.css --watch
 */

/* Custom animations and utilities not covered by Tailwind */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom gradient overlay for hero section */
.hero-gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
    pointer-events: none;
}

/* Fade-in animation for scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Focus visible for better keyboard navigation */
*:focus-visible {
    outline: 2px solid #1facbd;
    outline-offset: 2px;
}

/* Mobile menu slide-in animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-menu-enter {
    animation: slideInRight 0.3s ease-out;
}

/* Table cell hover effect */
.table-cell-hover {
    transition: all 0.2s ease;
}

.table-cell-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Modal backdrop animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-backdrop {
    animation: fadeIn 0.2s ease-out;
}

/* Print styles for export */
@media print {
    .no-print {
        display: none !important;
    }
}