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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5A1F2A;
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

/* Button Press Effect */
button:active,
a:active {
    transform: scale(0.98);
}

/* Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

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

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

/* Section Transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Hover */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Geometric Decorations */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-heading {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    .animate-float {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
