@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* === СБРОС И СКРОЛЛБАР === */
::-webkit-scrollbar { width: 0px; background: transparent; }
html { scrollbar-width: none; }
:root { --bg-color: #ffffff; --text-main: #1a1a1a; --font-main: 'Cormorant Garamond', serif; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    font-weight: 300;
    background: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    position: relative; width: 100%; height: 100vh;
    background: #000; overflow: hidden;
}

.hero-slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; z-index: 2; }

/* КАРТИНКА (Важно!) */
.hero-slide-img {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transform: scale(1);
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.hero-slide.active .hero-slide-img { transform: scale(1.15); }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none; z-index: 3;
}

.hero-footer {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 0 60px 60px 60px; z-index: 20;
    display: flex; justify-content: space-between; align-items: flex-end;
    color: #ffffff; pointer-events: none;
}

.project-identity { max-width: 80%; pointer-events: auto; }
.p-loc { display: block; font-size: 1.6rem; font-style: italic; margin-bottom: 5px; opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.p-name { display: block; font-size: 6vw; font-weight: 300; line-height: 0.9; margin: 0; opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1); transition-delay: 0.1s; }

.project-identity.hide-text .p-loc,
.project-identity.hide-text .p-name { opacity: 0; transform: translateY(30px); }

.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 15px; opacity: 0.8; pointer-events: auto; cursor: pointer; }
.scroll-text { font-size: 1rem; font-style: italic; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: #fff; opacity: 0.5; }