@font-face {
    font-family: 'Zaslia';
    src: url('font/zaslia.regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Drystick';
    src: url('font/Drystick-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Smooth scrolling via Lenis */
html {
    scroll-behavior: auto;
}

/* Better font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global transitions */
* {
    transition-property: color, background-color, border-color,
        transform, opacity, box-shadow;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}

/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: #c9a66b;
    color: #ffffff;
}

/* Custom scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #c9a66b;
    border-radius: 9999px;
}

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

/* Navigation hover effect */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;

    width: 0;
    height: 1px;

    background-color: #c9a66b;

    transition: width 0.3s ease-in-out;
}

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

/* Card hover effect */

.hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Button hover effect */

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Image zoom effect */

.image-hover {
    overflow: hidden;
}

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

html {
    scroll-behavior: auto;
}

/* Lenis smooth scrolling compatibility rules */
html.lenis, html.lenis body {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

.sidebar-link {
    color: #ffffff;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-link.active {
    background: #3A362D;
    border-left-color: #C8A164;
    color: #C8A164;
}