/* Custom CSS for Savia Tunik Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Delays */
.animation-delay-100 {
    animation-delay: 100ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

.animation-delay-600 {
    animation-delay: 600ms;
}

.animation-delay-900 {
    animation-delay: 900ms;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #003366, #0066cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0066cc, #87ceeb);
}

/* OrderOnline Form Custom Styling */
.ooef {
    position: relative;
}

.orderonline-embed-form {
    font-family: 'Inter', sans-serif !important;
}

/* Override OrderOnline default styles */
.orderonline-embed-form input,
.orderonline-embed-form select,
.orderonline-embed-form textarea {
    font-family: 'Inter', sans-serif !important;
    border-radius: 12px !important;
    border: 1px solid #87ceeb !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
}

.orderonline-embed-form input:focus,
.orderonline-embed-form select:focus,
.orderonline-embed-form textarea:focus {
    outline: none !important;
    border-color: #0066cc !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
}

/* Custom button styling for OrderOnline */
.orderonline-embed-form button[type="submit"] {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e) !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
}

.orderonline-embed-form button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3) !important;
}

/* Glassmorphism effect for form elements */
.orderonline-embed-form .form-group {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Loading state improvements */
.ooef-loader div {
    border-left-color: #ff6b6b !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .orderonline-embed-form {
        padding: 16px !important;
    }
    
    .orderonline-embed-form input,
    .orderonline-embed-form select,
    .orderonline-embed-form textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gradient-to-br {
        background: #003366 !important;
    }
}

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

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, #003366, #0066cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Custom focus styles for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* Image optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Performance optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}
