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

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

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

.geometric-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.geometric-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 5s;
}

.geometric-shape:nth-child(4) {
    animation-delay: -1s;
    animation-duration: 8s;
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 90, 61, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Button focus states */
.btn-primary:focus {
    outline: 2px solid #FF7F6B;
    outline-offset: 2px;
}

/* Input focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 90, 61, 0.2);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #2d2d2d;
}

::-webkit-scrollbar-thumb {
    background: #FF5A3D;
    border-radius: 5px;
}

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

/* Mobile menu animations */
.mobile-menu {
    backdrop-filter: blur(10px);
}

/* Image hover zoom */
.aspect-square img {
    transition: transform 0.5s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .service-icon,
    .aspect-square img {
        animation: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
