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

html{
    scroll-behavior:smooth;
}

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

/* ===================================================
   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{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;

    min-width:180px;

    font-family:"Cormorant Garamond",serif;
    font-size:38px;
    font-weight:700;
    color:#fff;
    letter-spacing:-1px;

    transition:.3s;
}

.logo img,
.siteLogo{
    display:block;
    max-height:60px;
    max-width:220px;
    width:auto;
    height:auto;
    object-fit:contain;
}

.logo span{
    font-family:"Cormorant Garamond", serif;
    font-size:38px;
    font-weight:700;
    color:#fff;
    letter-spacing:-1px;
}

.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{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    white-space:nowrap;
    height:52px;
    padding:0 28px;

    background:#111;
    color:#fff !important;

    border:none;
    border-radius:999px;

    font-size:17px;
    font-weight:600;
    text-decoration:none;

    box-shadow:0 10px 25px rgba(0,0,0,.18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

    -webkit-tap-highlight-color:transparent;
}

.downloadAll::before{
    content:"↓";
    font-size:18px;
    font-weight:700;
}

.downloadAll:hover{

    background:#222;

    transform:translateY(-2px);

    box-shadow:0 16px 35px rgba(0,0,0,.28);

}

.downloadAll:active{

    background:#111;

    transform:translateY(0) scale(.97);

    box-shadow:0 6px 14px rgba(0,0,0,.22);

}

.downloadAll:visited{
    color:#fff !important;
}


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

.topbar.scrolled .logo{

    color:#111;

}

.topbar.scrolled .menu a:not(.downloadAll){

    color:#111;

}

.topbar.scrolled .downloadAll{

    background:#111 !important;
    color:#fff !important;
    border:none !important;

}

.topbar.scrolled .galleryName{

    color:#111;

    opacity:1;

}

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

.hero{

    position:relative;

    min-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%;

    transform:translateY(180px);

}

.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;

    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);

}

/* ===================================================
   LIGHTBOX
=================================================== */
.lightbox{

    display:none;

    position:fixed;
    inset:0;

    padding:25px;
    box-sizing:border-box;

    overflow:hidden;

    justify-content:center;
    align-items:center;

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

    z-index:99999;
  
    cursor:zoom-out;

}

.lightbox.show{

    display:flex;

}
.lightbox img{
  
    display:block;
    transition: transform .25s ease, opacity .25s ease;
    max-width:calc(100vw - 50px);
    max-height:calc(100vh - 50px);

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:12px;

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

    position:relative;

    z-index:1;

}

/* ===================================================
   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; 
  
    user-select:none;
  
    -webkit-user-select:none;

}

.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 BUTTON
=================================================== */

.download{

    position:absolute;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    min-width:190px;
    height:58px;
    padding:0 34px;

    color:#111;
    text-decoration:none;
    font-size:19px;
    font-weight:600;

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

    border:1px solid rgba(255,255,255,.28);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-radius:999px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.45);

    transition:.25s;

    z-index:3000;
}

.download::before{

    content:"↓";

    display:block;

    font-size:22px;

    font-weight:700;

    line-height:1;

}

.download:hover{

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

    transform:translateX(-50%) scale(1.03);

}

.download:active{

    transform:translateX(-50%) scale(.97);

}

/* ===================================================
   CLOSE BUTTON
=================================================== */

.closeLightbox{

    position:absolute;

    top:26px;
    right:26px;

    width:52px;
    height:52px;

    border:none;
    border-radius:50%;

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

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    color:white;

    font-size:28px;

    cursor:pointer;

    transition:.25s;

    z-index:4000;

}

.closeLightbox:hover{

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

    transform:scale(1.08);

}

.closeLightbox:active{

    transform:scale(.95);

}



/* ===================================================
   TABLET
=================================================== */

@media (max-width:900px){

    .topbar{
        padding:0 20px;
    }

   .gallery{

    gap:18px;

}

    .title h1{
        font-size:56px;
    }

    .galleryName{
        display:none;
    }

}



/* ===================================================
   MOBILE
=================================================== */
@media (max-width:600px){

    .hero{
        min-height:75vh;
    }


    .lightbox img{
        max-width:95vw;
        max-height:88vh;
    }

    .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{
        bottom:22px;
        min-width:175px;
        height:54px;
        padding:0 30px;
        font-size:18px;
    }

    .closeLightbox{
        width:46px;
        height:46px;
        top:18px;
        right:18px;
        font-size:24px;
    }

}

/* ==========================================
   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:min(430px,92vw);

    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;

}

#videoPreview{

    display:none;

    width:100%;
    max-width:1100px;

    height:auto;
    max-height:85vh;

    object-fit:contain;

    background:#000;
    border-radius:18px;

}

/* ===== Социальные сети ===== */

.socials{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:30px;
}

.social{
    width:54px;
    height:54px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:2px solid #111;
    border-radius:50%;

    color:#111;
    text-decoration:none;

    transition:.25s ease;
}

.social svg{

    width:24px;

    height:24px;

}

.siteLogo{

    height:42px;

    width:auto;

    display:block;

    object-fit:contain;

}
  @media (max-width:700px){



}

/* ==========================================
   MASONRY
========================================== */

.gallery.masonry{

    display:flex;

    align-items:flex-start;

    gap:22px;

}

.gallery.masonry .column{

    flex:1;

    display:flex;

    flex-direction:column;

    gap:22px;

}

.gallery.masonry .column img{

    width:100%;

    margin:0;

}
