/* SmartMekeme Landing Page Styles */

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

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

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

@keyframes glow {
    from { 
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.3); 
    }
    to { 
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.6); 
    }
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #4A90E2 0%, #5BA3E8 50%, #6BA8F0 100%) !important;
}

/* Tech grid pattern */
.tech-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Glass effect */
.glass-effect {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text shadow */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Typography */
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.logo-text {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Card shadows */
.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(74, 144, 226, 0.1), 0 2px 4px -1px rgba(74, 144, 226, 0.06);
}

.card-shadow:hover {
    box-shadow: 0 20px 25px -5px rgba(74, 144, 226, 0.1), 0 10px 10px -5px rgba(74, 144, 226, 0.04);
}

/* Navigation styles */
.navbar-transparent {
    background: rgba(74, 144, 226, 0.2) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-white {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Carousel styles */
.carousel-container {
    position: relative;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.carousel-btn {
    transition: all 0.3s ease;
    z-index: 10;
}


.carousel-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

/* Team section styles */
.team-member {
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Feature cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

/* Button styles */
.btn-primary-custom {
    background: linear-gradient(135deg, #4A90E2, #5BA3E8);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #5BA3E8, #6BA8F0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* Form styles */
.form-control-custom {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #6BA8F0;
    box-shadow: 0 0 0 0.2rem rgba(107, 168, 240, 0.25);
    color: white;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero section enhancements */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-slide img {
        max-height: 300px;
    }
    
    .glass-effect {
        backdrop-filter: blur(8px);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4A90E2, #5BA3E8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5BA3E8, #6BA8F0);
}

/* Loading animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hover effects for social links */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Enhanced focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #6BA8F0;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .carousel-btn,
    .social-link {
        display: none !important;
    }
    
    .gradient-bg {
        background: #4A90E2 !important;
        -webkit-print-color-adjust: exact;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bg-white {
        background-color: #1a1a1a;
    }
    
    .text-gray-900 {
        color: #f1f1f1;
    }
    
    .text-gray-600 {
        color: #a1a1aa;
    }
    
    .bg-smart-gray {
        background-color: #262626;
    }
}

/* Animation delays for staggered effects */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

/* Custom utility classes */
.backdrop-blur-custom {
    backdrop-filter: blur(20px);
}

.text-shadow-custom {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #4A90E2, #6BA8F0) border-box;
}

/* Enhanced mobile responsiveness */
@media (max-width: 640px) {
    .text-4xl {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    
    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .py-4 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .space-x-8 > * + * {
        margin-left: 1rem;
    }
    
    .gap-12 {
        gap: 2rem;
    }
    
    .mb-16 {
        margin-bottom: 2rem;
    }
    
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Team member card enhancements */
.team-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(74, 144, 226, 0.1),
        0 10px 10px -5px rgba(74, 144, 226, 0.04),
        0 0 0 1px rgba(74, 144, 226, 0.05);
}

/* Enhanced carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(156, 163, 175, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-indicator.active {
    background-color: #4A90E2;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background-color: #5BA3E8;
    transform: scale(1.1);
}

/* Feature icon animations */
.feature-icon {
    transition: all 0.3s ease;
}

.feature-icon:hover {
    animation: pulse 1s infinite;
}

/* Contact form enhancements */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #6BA8F0;
    box-shadow: 0 0 0 3px rgba(107, 168, 240, 0.1);
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    animation: slideIn 0.5s ease-out;
}

/* Loading state for buttons */
.btn-loading {
    position: relative;
    color: transparent;
}

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

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

/* Smooth reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced gradient text */
.gradient-text {
    background: linear-gradient(135deg, #4A90E2, #6BA8F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom container for better spacing */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding: 0 2rem;
    }
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* 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-visible:focus {
    outline: 2px solid #6BA8F0;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gradient-bg {
        background: #1e40af !important;
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .card-shadow {
        border: 2px solid #4A90E2;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .carousel-track {
        transition: none;
    }
    
    .animate-fade-in-up,
    .animate-float,
    .animate-pulse-slow,
    .animate-slide-in,
    .animate-glow {
        animation: none;
    }
}