/* Custom CSS for o2omation Landing Page */

/* Font Family */
.font-inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom Gradient Backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-services {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Custom Button Styles */
.btn-primary {
    @apply bg-amber-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-amber-700 transition-all duration-300 transform hover:scale-105;
}

.btn-secondary {
    @apply bg-white text-amber-600 px-6 py-3 rounded-lg font-semibold border-2 border-amber-600 hover:bg-amber-600 hover:text-white transition-all duration-300;
}

/* Custom Card Styles */
.service-card {
    @apply bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2;
}

.blog-card {
    @apply bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition-all duration-300 transform hover:-translate-y-1;
}

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

/* Navigation Styles */
.nav-link {
    @apply text-gray-600 hover:text-amber-600 px-3 py-2 text-sm font-medium transition-colors duration-200;
}

/* Hero Section Styles */
.hero-title {
    @apply text-4xl md:text-6xl font-bold text-gray-900 leading-tight;
}

.hero-subtitle {
    @apply text-xl md:text-2xl text-gray-600 mt-6 leading-relaxed;
}

/* Section Styles */
.section-title {
    @apply text-3xl md:text-4xl font-bold text-gray-900 text-center mb-4;
}

.section-subtitle {
    @apply text-lg text-gray-600 text-center mb-12 max-w-3xl mx-auto;
}

/* Form Styles */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-amber-500 focus:border-transparent transition-all duration-200;
}

.form-textarea {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-amber-500 focus:border-transparent transition-all duration-200 resize-vertical;
}

/* Footer Styles */
.footer-link {
    @apply text-gray-400 hover:text-white transition-colors duration-200;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-title {
        @apply text-3xl;
    }
    
    .hero-subtitle {
        @apply text-lg;
    }
    
    .section-title {
        @apply text-2xl;
    }
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.focus-visible:focus {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

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

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

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

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