/* Custom Button Styles */
.btn-primary {
    background-color: #d4af37;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background-color: white;
    border: 2px solid #d4af37;
    color: #d4af37;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #d4af37;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #d1d5db;
    color: #374151;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-outline:hover {
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
}

.btn-dark {
    background-color: #111827;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-dark:hover {
    background-color: #1f2937;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-dark:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 1);
}

/* Button Size Modifiers */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.625rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.875rem;
}

/* Fade-in Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease-out forwards;
}

/* Staggered Animation Delays */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

.animate-delay-600 {
    animation-delay: 0.6s;
}

/* Initial state for animated elements */
.animate-on-scroll {
    opacity: 0;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced hover transitions for cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Smooth image transitions */
img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Enhanced form transitions */
input, textarea, select {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

input:focus, textarea:focus, select:focus {
    transform: translateY(-1px);
}

/* Additional custom styles can be added here */
.dropdown-menu {
    transform-origin: top;
}

.mobile-menu-overlay {
    backdrop-filter: blur(10px);
}

/* Enhanced JavaScript-driven animations */
.js-animate-ready {
    opacity: 0;
    will-change: transform, opacity;
}

.js-fade-in-up {
    transform: translateY(30px);
}

.js-fade-in-left {
    transform: translateX(-30px);
}

.js-fade-in-right {
    transform: translateX(30px);
}

.js-scale-in {
    transform: scale(0.9);
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-fade-in-up,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .animate-fade-in,
    .animate-scale-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Scroll indicator for navigation */
.scroll-indicator {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced header background transition */
header {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Solid Background Fix */
[x-show="mobileMenuOpen"] {
    background-color: #ffffff !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
}

.mobile-menu-content {
    background-color: #ffffff !important;
    opacity: 1 !important;
} 