*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Manrope",sans-serif;
    background:#fafafa;
    color:#222;
}

/* ===================================================
   TOP BAR
=================================================== */

.topbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:82px;

    padding:0 45px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:9999;

    transition:.35s;

    background:transparent;

}

.topbar.scrolled{

    background:#fff;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.logo{

    font-family:"Cormorant Garamond",serif;

    font-size:38px;

    font-weight:700;

    color:#fff;

    letter-spacing:-1px;

    transition:.3s;

}

.logo span{

    font-size:18px;

    opacity:.8;

    font-weight:400;

}

.galleryName{

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    font-size:22px;

    font-weight:600;

    color:white;

    opacity:0;

    transition:.35s;

}

.menu{

    display:flex;

    gap:15px;

}

.menu a{

    text-decoration:none;

    color:white;

    padding:12px 18px;

    border-radius:12px;

    transition:.25s;

}

.menu a:hover{

    background:rgba(255,255,255,.12);

}

.downloadAll{

    background:#111;

    color:white !important;

    font-weight:700;

}

.downloadAll:hover{

    background:#000;

}

/* состояние после прокрутки */

.topbar.scrolled .logo{

    color:#111;

}

.topbar.scrolled .menu a{

    color:#111;

}

.topbar.scrolled .downloadAll{

    color:white !important;

}

.topbar.scrolled .galleryName{

    color:#111;

    opacity:1;

}

/* ===================================================
   HERO
=================================================== */

.hero{

    position:relative;

    height:100vh;

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(0,0,0,.15),
        rgba(0,0,0,.35),
        rgba(0,0,0,.72)
    );

}

.title{

    position:relative;

    z-index:5;

    text-align:center;

    color:white;

    width:90%;

}

.title h1{

    font-family:"Cormorant Garamond",serif;

    font-size:92px;

    font-weight:600;

    text-shadow:0 12px 40px rgba(0,0,0,.45);

    margin-bottom:15px;

}

.title p{

    font-size:24px;

    margin-top:8px;

}

.meta{

    font-size:20px;

    opacity:.92;

}

/* ===================================================
   GALLERY
=================================================== */

.gallery{

    max-width:1700px;

    margin:-70px auto 70px;

    padding:0 30px;

    columns:4 330px;

    column-gap:22px;

    position:relative;

    z-index:20;

}

.gallery img{

    width:100%;

    display:block;

    margin-bottom:22px;

    border-radius:18px;

    cursor:pointer;

    transition:.3s;

    box-shadow:0 12px 35px rgba(0,0,0,.1);

}

.gallery img:hover{

    transform:translateY(-6px) scale(1.02);

    box-shadow:0 22px 45px rgba(0,0,0,.18);

}

/* ===================================================
   LIGHTBOX
=================================================== */

.lightbox{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.96);

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.lightbox.show{

    display:flex;

}

.lightbox img{

    max-width:92%;

    max-height:92%;

    border-radius:12px;

    box-shadow:0 25px 60px rgba(0,0,0,.55);

    position:relative;

    z-index:1;

    touch-action:none;

    user-select:none;

}

/* ===================================================
   ARROWS
=================================================== */

.nav{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:70px;

    height:70px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(12px);

    color:white;

    font-size:42px;

    cursor:pointer;

    transition:.25s;

    z-index:1000;

}

.nav:hover{

    background:rgba(255,255,255,.28);

    transform:translateY(-50%) scale(1.08);

}

.prev{

    left:35px;

    z-index:1000;

}

.next{

    right:35px;

    z-index:1000;

}

/* ===================================================
   DOWNLOAD
=================================================== */

.download{

    position:absolute;

    bottom:35px;

    right:35px;

    background:white;

    color:#111;

    text-decoration:none;

    padding:14px 22px;

    border-radius:14px;

    font-weight:700;

    transition:.25s;

}

.download:hover{

    transform:translateY(-2px);

}

/* ===================================================
   MOBILE
=================================================== */

@media(max-width:900px){

.topbar{

padding:0 20px;

}

.gallery{

columns:2 240px;

}

.title h1{

font-size:56px;

}

.galleryName{

display:none;

}

}

@media(max-width:600px){

.hero{

height:75vh;

}

.gallery{

columns:1;

padding:15px;

margin:20px auto;

}

.title h1{

font-size:38px;

}

.title p{

font-size:18px;

}

.menu{

gap:8px;

}

.menu a{

padding:8px 12px;

font-size:14px;

}

.nav{

width:56px;

height:56px;

font-size:30px;

}

.download{

left:50%;

right:auto;

transform:translateX(-50%);

}

}

/* ==========================================
   Photographer card
========================================== */

.contactButton{

    position:fixed;

    right:30px;

    bottom:30px;

    z-index:4000;

    padding:16px 28px;

    border:none;

    border-radius:18px;

    background:white;

    color:#111;

    font-weight:700;

    cursor:pointer;

    box-shadow:0 15px 40px rgba(0,0,0,.2);

    transition:.25s;

}

.contactButton:hover{

    transform:translateY(-3px);

}

.contactOverlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

    backdrop-filter:blur(8px);

}

.contactOverlay.show{

    display:flex;

}

.contactCard{

    width:430px;

    background:white;

    border-radius:30px;

    padding:45px;

    text-align:center;

    position:relative;

}

.closeCard{

    position:absolute;

    top:20px;

    right:20px;

    border:none;

    background:none;

    font-size:34px;

    cursor:pointer;

}

.avatar{

    width:120px;

    height:120px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:25px;

}

.profession{

    color:#777;

    margin:10px 0 30px;

}

.phone{

    font-size:28px;

    margin-bottom:25px;

}

.telegramButton,
.saveButton{

    display:block;

    padding:16px;

    border-radius:14px;

    text-decoration:none;

    margin-bottom:15px;

    font-weight:700;

}

.telegramButton{

    border:2px solid #111;

    color:#111;

}

.saveButton{

    background:#111;

    color:white;

}

.socials{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-top:30px;

}

.socials a{

    color:#111;

    text-decoration:none;

    font-weight:600;

}

.website{

    margin-top:25px;

}