/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Geometric shapes animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.floating-shape {
    animation: float 6s ease-in-out infinite;
}

/* Gradient animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Button hover effects */
.cta-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}

.cta-button:active {
    transform: translateY(0);
}

/* Service card hover */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

.service-card:hover .w-16 {
    transform: scale(1.1) rotate(5deg);
}

/* Image frame effects */
.image-frame {
    transition: all 0.4s ease;
}

.image-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.image-frame::before {
    transition: all 0.4s ease;
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Form focus states */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Scroll indicator */
.scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Pulse animation for CTA */
.pulse-gold {
    animation: pulseGold 2s ease-in-out infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Text shadow for hero */
.text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

/* Geometric border effect */
.geometric-border {
    position: relative;
    display: inline-block;
}

.geometric-border::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .geometric-shape {
        opacity: 0.8;
    }
}

/* Print styles */
@media print {
    .floating-shape,
    .scroll-indicator,
    .pulse-gold {
        display: none;
    }
    
    .hero-pattern {
        background: #102a43 !important;
    }
}

/* Accessibility improvements */
:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}
