/* 
 * Modern Menswear Gallery - Global Styles 
 * Style: Minimalist, High-Fidelity, Sans-Serif Focus
 */

/* Import Inter for body text if system fonts fail, but rely mostly on system sans-serif */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --color-bg: #FFFFFF;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #4A4A4A;
    --color-accent-earth: #8C7B75; /* 陶土色 */
    --color-accent-olive: #556B2F; /* 橄榄绿 */
    --color-accent-wine: #4A0404; /* 深酒红 */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* Global Reset & Typography */
body {
    font-family: "SF Pro Display", "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selection Style */
::selection {
    background-color: rgba(26, 26, 26, 0.1);
    color: #000;
}

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

/* Custom Scrollbar (Minimalist) */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #E5E5E5;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #A0A0A0;
}

/* Navigation Hover Effects */
.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.4s var(--ease-out-expo);
}

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

/* Animation Utilities */
.fade-in-up {
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }

/* Image Hover Zoom Effect */
.img-zoom-wrapper {
    overflow: hidden;
}

.img-zoom {
    transition: transform 1.2s var(--ease-out-expo);
    will-change: transform;
}

.img-zoom-wrapper:hover .img-zoom {
    transform: scale(1.05);
}

/* Hide Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Loader / Skeleton */
.skeleton-bg {
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Layout Utilities */
.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Text Utilities */
.text-balance {
    text-wrap: balance;
}