/* Custom CSS for Vendari Landing Page */

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

/* Grid pattern background */
.bg-grid-pattern {
    background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Custom hover effects */
.hover-lift:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Custom gradient */
.gradient-vendari {
    background: linear-gradient(135deg, #ff5a1f 0%, #ff7043 100%);
}

/* Success message animation */
.success-slide-in {
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input focus effects */
input:focus {
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #countdown {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    #countdown > div {
        min-width: 70px;
        padding: 0.75rem;
    }
    
    #countdown > div > div:first-child {
        font-size: 1.5rem;
    }
}

/* Loading state for form */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: #ff5a1f;
    border-radius: 4px;
}

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

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-vendari-gray {
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Keep light theme for now as per requirements */
} 