/* Custom Styles for In Depth Excavation */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #944d82;
}

/* Selection color */
::selection {
    background: #ffcc33;
    color: #2d1526;
}

/* Hero floating card animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 5s ease-in-out infinite 0.5s;
}

.floating-card-3 {
    animation: float 4.5s ease-in-out infinite 1s;
}

/* Image hover zoom effect */
.group img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

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

/* Card hover lift effect */
.group {
    transition: transform 0.3s ease, box-shadow 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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

/* Print styles */
@media print {
    nav,
    .fixed {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
