/* Custom Styles for Oso Group Campground */

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

/* Custom Button Styles */
.btn-primary {
    @apply inline-flex items-center px-8 py-4 bg-teal-600 hover:bg-teal-700 text-white font-semibold rounded-lg transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-0.5;
}

.btn-secondary {
    @apply inline-flex items-center px-8 py-4 bg-transparent hover:bg-slate-800 text-white font-semibold rounded-lg border-2 border-white/30 hover:border-white/60 transition-all duration-300;
}

/* Navigation Link Styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Card Hover Effects */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Animation Delays */
[style*="transition-delay: 100ms"] {
    transition-delay: 100ms;
}

[style*="transition-delay: 200ms"] {
    transition-delay: 200ms;
}

[style*="transition-delay: 300ms"] {
    transition-delay: 300ms;
}

[style*="transition-delay: 400ms"] {
    transition-delay: 400ms;
}

[style*="transition-delay: 500ms"] {
    transition-delay: 500ms;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .pt-8 {
        padding-top: 2rem;
    }
}

/* Reduced Motion */
@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;
    }
}
