/* Custom styles for Mount Fuji Besteigen Website */

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

/* Card shadow utility */
.card-shadow {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Hero background styling */
.hero-bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
}

/* Smooth hover transitions */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Image hover effects */
img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid #e11d48;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    /* Ensure text is readable on mobile */
    body {
        font-size: 16px;
    }
    
    /* Better spacing on mobile */
    section {
        margin-top: 2rem;
    }
    
    /* Card padding adjustments */
    .card-shadow {
        padding: 1rem;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
}

/* Print styles */
@media print {
    nav,
    footer,
    button {
        display: none;
    }
}

/* Loading state for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

