/* Custom Styles for WildEarth Shots */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Form Input Focus Effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Gallery Item Hover Effects */
.group:hover .group-hover\:opacity-100 {
    transition: opacity 0.3s ease-in-out;
}

/* Button Hover Effects */
button:hover,
a[class*="bg-gradient"]:hover {
    transition: all 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease-in-out;
}

/* Custom Selection Color */
::selection {
    background-color: rgba(244, 63, 94, 0.25);
    color: #ffffff;
}

/* Aspect Ratio Utilities */
.aspect-4-3 {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio for gallery cards */
}

.aspect-4-3 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur-md {
        backdrop-filter: blur(12px);
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    button {
        display: none;
    }
}

