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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #000000;
    color: #f5f1eb;

    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

/* блокируем прокрутку страницы, когда открыто моб. меню */
body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-load {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-load.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-on-load.scale {
    animation: fadeInScale 0.8s ease-out forwards;
}

/* staggered delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade {
    transform: none;
    transition: opacity 1s ease-out;
}

.reveal.scale {
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Parallax-like subtle movement */
.parallax-slow {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-load,
    .reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 25px;
    opacity: 0.7;
}

h1 {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 300;
    letter-spacing: -5px;
}

h1 span {
    font-style: italic;
}

.description {
    margin-top: 25px;
    margin-bottom: 40px;
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.button {
    display: inline-block;
    padding: 16px 35px;
    border: 1px solid #f5f1eb;
    color: #f5f1eb;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    transition: 0.3s;
}

.button:hover {
    background: #f5f1eb;
    color: #000000;
}

/* Чёрная кнопка — инвертированная */
.button--dark {
    background: #000000;
    color: #f5f1eb;
    border-color: #f5f1eb;
}

.button--dark:hover {
    background: #f5f1eb;
    color: #000000;
}

/* ABOUT */

.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px;
}

.about-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.6;
    margin-bottom: 35px;
}

.about h2 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 60px;
}

.about-intro {
    max-width: 700px;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.35;
    font-weight: 300;
    margin-bottom: 35px;
}

.about-text {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.7;
    margin-bottom: 50px;
}

.about-accent {
    font-size: 18px;
    line-height: 2;
    letter-spacing: 1px;
}

.about-quote {
    margin-top: 70px;
    font-size: 24px;
    letter-spacing: 3px;
    font-style: italic;
    opacity: 0.5;
}

/* SERVICES */

.services {
    min-height: 100vh;
    padding: 120px 20px;
    display: flex;
    align-items: center;
}

.services-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.services h2 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 70px;
}

.service-list {
    border-top: 1px solid rgba(245, 241, 235, 0.2);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;

    padding: 35px 0;

    border-bottom: 1px solid rgba(245, 241, 235, 0.2);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 400;
}

.service-item p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.6;
    margin-top: 10px;
}

/* SERVICES — MOBILE */

@media (max-width: 700px) {

    .services {
        padding: 90px 20px;
    }

    .services h2 {
        margin-bottom: 50px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 30px 0;
    }

}

/* PORTFOLIO */

.portfolio {
    min-height: 100vh;
    padding: 120px 20px;
}

.portfolio-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio h2 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.portfolio-intro {
    max-width: 550px;
    margin-bottom: 70px;

    font-size: 16px;
    line-height: 1.8;
    opacity: 0.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.portfolio-item {
    aspect-ratio: 3 / 4;

    border: 1px solid rgba(245, 241, 235, 0.15);

    overflow: hidden;

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

    transition: 0.4s;
}

.portfolio-item:hover {
    border-color: rgba(245, 241, 235, 0.5);
    transform: translateY(-3px);
}

/* фото заполняет плитку целиком, без искажений */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s;
    cursor: zoom-in;
}

.portfolio-item:hover img {
    transform: scale(1.04);
}

.portfolio-item span {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.3;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;

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

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;

    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox__content {
    transform: scale(1);
}

.lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;

    border: 1px solid rgba(245, 241, 235, 0.2);
    border-radius: 2px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
    position: absolute;
    top: -50px;
    right: 0;

    width: 44px;
    height: 44px;

    background: transparent;
    border: none;

    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.lightbox__close:hover {
    opacity: 1;
}

.lightbox__close::before,
.lightbox__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 28px;
    height: 2px;

    background: #f5f1eb;
}

.lightbox__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 56px;
    height: 56px;

    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(245, 241, 235, 0.15);
    border-radius: 50%;

    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;

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

.lightbox__nav:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox__nav svg {
    width: 24px;
    height: 24px;
    stroke: #f5f1eb;
    fill: none;
}

.lightbox__nav--prev {
    left: -78px;
}

.lightbox__nav--next {
    right: -78px;
}

@media (max-width: 700px) {
    .lightbox__nav {
        display: none;
    }

    .lightbox__close {
        top: -48px;
        right: 0;
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lightbox,
    .lightbox__content {
        transition: none;
    }
}

/* PORTFOLIO — MOBILE */

@media (max-width: 700px) {

    .portfolio {
        padding: 90px 20px;
    }

    /* по одному фото в ряд, автоподгон под ширину экрана */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}

/* BOOKING */

.booking {
    min-height: 100vh;
    padding: 120px 20px;

    display: flex;
    align-items: center;
}

.booking-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.booking h2 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.booking-text {
    max-width: 500px;

    margin-bottom: 60px;

    font-size: 16px;
    line-height: 1.8;
    opacity: 0.6;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
}

.form-group input,
.form-group select {
    width: 100%;

    padding: 16px 0;

    border: none;
    border-bottom: 1px solid rgba(245, 241, 235, 0.3);

    background: transparent;

    color: #f5f1eb;

    font-family: inherit;
    font-size: 16px;

    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: #f5f1eb;
}

.form-group input::placeholder {
    color: #f5f1eb;
    opacity: 0.3;
}

.form-group select option {
    background: #000000;
    color: #f5f1eb;
}

.booking-form .button {
    margin-top: 20px;
    align-self: flex-start;
}


/* BOOKING — MOBILE */

@media (max-width: 700px) {

    .booking {
        padding: 90px 20px;
    }

    .booking h2 {
        font-size: 34px;
    }

    .booking-form {
        gap: 25px;
    }

}

/* NAVIGATION */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

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

    padding: 25px 50px;

    z-index: 100;

    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    color: #f5f1eb;
    text-decoration: none;

    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.logo-mark {
    width: 96px;
    height: 96px;

    display: block;
    flex-shrink: 0;

    color: inherit;
}

.logo-text {
    display: block;
    line-height: 1;
}

/* Фиксированная кнопка записи — скрыта на десктопе */
.mobile-book-btn {
    display: none;
}


/* MOBILE — ONLY LOGO */

@media (max-width: 700px) {

    .logo {
        gap: 0;
    }

    .logo-mark {
        width: 72px;
        height: 72px;
    }

    .logo-text {
        display: none;
    }
}


/* VERY SMALL SCREENS */

@media (max-width: 360px) {

    .logo-mark {
        width: 56px;
        height: 56px;
    }

    .mobile-book-btn {
        padding: 8px 14px;
        font-size: 9px;
    }

}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #f5f1eb;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;

    opacity: 0.65;

    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

/* кнопка-бургер — по умолчанию скрыта, показываем только на мобилке */
.nav-toggle {
    display: none;

    width: 40px;
    height: 40px;

    padding: 0;

    background: transparent;
    border: none;

    cursor: pointer;

    position: relative;
    z-index: 110;
}

.nav-toggle span {
    display: block;

    width: 24px;
    height: 1px;

    margin: 6px auto;

    background: #f5f1eb;

    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* NAVIGATION — MOBILE */

@media (max-width: 700px) {

    .navbar {
        padding: 18px 20px;
    }

    .logo {
        font-size: 16px;
    }

    .nav-toggle {
        display: block;
    }

    /* Фиксированная кнопка записи на мобильном */
    .mobile-book-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 10px 18px;

        background: #f5f1eb;
        color: #000000;

        font-size: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 600;

        border-radius: 100px;

        transition: background 0.2s, color 0.2s, transform 0.2s;
        white-space: nowrap;

        z-index: 110;
    }

    .mobile-book-btn:active {
        transform: scale(0.96);
    }

    /* полноэкранное меню */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;

        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.3s ease;

        z-index: 105;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 16px;
        letter-spacing: 3px;
        opacity: 0.85;
    }

}

/* FOOTER */

.footer {
    padding: 80px 20px 40px;

    border-top: 1px solid rgba(245, 241, 235, 0.15);

    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -1px;
}

.footer-logo span {
    font-style: italic;
}

.footer-location {
    margin-top: 10px;

    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;

    opacity: 0.4;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;

    margin-top: 50px;
}

.footer-links a {
    color: #f5f1eb;
    text-decoration: none;

    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;

    opacity: 0.5;

    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    margin-top: 60px;

    font-size: 10px;
    letter-spacing: 2px;

    opacity: 0.25;
}


/* FOOTER — MOBILE */

@media (max-width: 700px) {

    .footer-links {
        flex-wrap: wrap;
        gap: 18px;
    }

}

/* LOCATION */

.location {
    padding: 120px 20px;
}

.location-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.location h2 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.location-address {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 1px;
    opacity: 0.7;

    margin-bottom: 50px;
}

.location-map {
    width: 100%;
    height: 450px;

    border: 1px solid rgba(245, 241, 235, 0.15);

    overflow: hidden;

    /* карта Яндекса светлая — слегка приглушаем под тёмную тему */
    filter: grayscale(0.2);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* LOCATION — MOBILE */

@media (max-width: 700px) {

    .location {
        padding: 90px 20px;
    }

    .location-address {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .location-map {
        height: 320px;
    }

}


/* BOOKING SUCCESS */

.booking-success {
    display: none;

    margin-top: 40px;

    font-size: 18px;
    line-height: 1.8;

    letter-spacing: 1px;
}


/* HERO — MOBILE */

@media (max-width: 700px) {

    .hero {
        padding: 100px 20px 60px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .subtitle {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .description {
        font-size: 15px;
        letter-spacing: 1px;
        margin-top: 20px;
        margin-bottom: 35px;
    }

    .button {
        padding: 14px 30px;
        font-size: 11px;
        letter-spacing: 2px;
    }

}


/* ABOUT — MOBILE */

@media (max-width: 700px) {

    .about {
        padding: 90px 20px;
        min-height: auto;
    }

    .about-subtitle {
        margin-bottom: 40px;
    }

    .about-intro {
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 40px;
    }

    .about-accent {
        font-size: 16px;
        line-height: 1.9;
    }

    .about-quote {
        margin-top: 50px;
        font-size: 20px;
    }

}


/* FOOTER — MOBILE (доп.) */

@media (max-width: 700px) {

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-logo {
    font-size: 28px;
}

    .footer-links {
        margin-top: 40px;
    }

    .footer-copy {
        margin-top: 45px;
    }

}