/* Custom styles and animations */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

/* Hero overlay gradient */
.hero-overlay {
    background: linear-gradient(135deg, rgba(92, 39, 56, 0.85) 0%, rgba(165, 61, 96, 0.7) 50%, rgba(251, 191, 36, 0.3) 100%);
}

/* Pattern background */
.pattern-bg {
    background-color: #fdf4f6;
    background-image: radial-gradient(#fae8eb 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(92, 39, 56, 0.15);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.btn-shine:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(92, 39, 56, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    animation: fadeIn 0.3s ease-out;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #86314d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(92, 39, 56, 0.9) 0%, rgba(165, 61, 96, 0.8) 100%);
    }
}
