/* ═══════════════════════════════════════════════
   New Homepage — Mollusca Group
   ═══════════════════════════════════════════════ */

.nh-root {
    --nh-bg: #111;
    --nh-surface: rgba(255,255,255,0.05);
    --nh-text: #f0f0f0;
    --nh-text-2: rgba(240,240,240,0.7);
    --nh-text-3: rgba(240,240,240,0.5);
    --nh-accent: #c8a97e;
    --nh-border: rgba(255,255,255,0.08);
    --nh-ease: cubic-bezier(.4,0,.2,1);

    color: var(--nh-text);
    font-family: 'Open Sans', sans-serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

.nh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Animations ── */
.nh-anim {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s var(--nh-ease), transform .6s var(--nh-ease);
}

.nh-anim.nh-hidden {
    opacity: 0;
    transform: translateY(24px);
}

.nh-anim.nh-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Section headers ── */
.nh-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.nh-overtitle {
    font-family: 'Cormorant', serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nh-text-3);
    margin-bottom: 10px;
}

.nh-title {
    font-family: 'Cormorant', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--nh-text);
    margin: 0;
    line-height: 1.2;
}

/* ── Button ── */
.nh-btn {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid var(--nh-accent);
    color: var(--nh-accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background .3s var(--nh-ease), color .3s var(--nh-ease);
}

.nh-btn:hover {
    background: var(--nh-accent);
    color: #111;
}

/* ═══════════════════════════════════════════════
   1. HERO SLIDER (matches original homepage)
   ═══════════════════════════════════════════════ */

.nh-hero {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
}

.nh-hero-swiper {
    width: 100%;
    height: 100%;
}

.nh-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ── Background (image + video + overlay) ── */
.nh-slide__bg {
    position: absolute;
    inset: 0;
}

.nh-slide__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.nh-slide__video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    display: none; /* hidden on desktop — image shown instead */
}

@media (max-width: 680px) {
    .nh-slide__video { display: block; }
}

.nh-slide__video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.nh-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 10.9%, rgba(0,0,0,0.96) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ── Slide content ── */
.nh-slide__content {
    position: relative;
    bottom: 56px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    z-index: 3;
}

.nh-slide__content > .row {
    margin-left: 0;
    margin-right: 0;
    padding-left: 6px;
    padding-right: 6px;
    width: 100%;
}

@media (min-width: 681px) {
    .nh-slide__content > .row {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.nh-slide__undertitle {
    position: absolute;
    bottom: 40px;
    left: 4px;
    font-family: 'Cormorant', serif;
    font-size: 256px;
    font-weight: 600;
    line-height: 0.85;
    color: #fff;
    opacity: 0.05;
    text-transform: uppercase;
    white-space: normal;
    pointer-events: none;
    z-index: -1;
}

.nh-slide__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: #fff;
    margin-bottom: 2px;
}

.nh-slide__name {
    font-family: 'Cormorant', serif;
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    margin: 8px 0 16px;
    line-height: 1.15;
    position: relative;
}

.nh-slide__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 4px;
    width: 100%;
}

@media (min-width: 681px) {
    .nh-slide__actions {
        flex-direction: row !important;
        align-items: center !important;
        gap: 24px;
        width: auto;
    }
}

.nh-slide__link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    transition: color .3s;
}

.nh-slide__link:hover { color: #fff; }

.nh-slide__link svg {
    flex-shrink: 0;
}

.nh-slide__book {
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    transition: color .25s;
    cursor: pointer;
}

.nh-slide__book:hover,
.nh-slide__book:focus-visible {
    color: #fff;
    text-decoration: none;
}

/* ── Right sidebar: dots → line → counter (vertical) ── */
.nh-hero-sidebar {
    position: absolute;
    right: 25px;
    bottom: 56px;
    top: 40%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nh-hero-pagination {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.nh-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 1;
    margin: 0;
    border-radius: 50%;
    transition: opacity .3s;
}

.nh-hero-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    opacity: 0.2;
}

.nh-hero-line {
    width: 1px;
    flex: 1;
    background: rgba(187,187,187,0.2);
    margin: 12px 0;
}

.nh-hero-counter {
    flex-shrink: 0;
    font-family: 'Cormorant', serif;
    font-size: 28px;
    font-weight: 300;
    color: #bbb;
    opacity: 0.2;
}

/* ═══════════════════════════════════════════════
   2. MOLLUSCA GROUP
   ═══════════════════════════════════════════════ */

.nh-group {
    padding: 80px 0;
    background: var(--nh-bg);
}

.nh-group__desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--nh-text-2);
    font-size: 14px;
    line-height: 1.8;
}

.nh-group__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nh-group__card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    display: block;
}

.nh-group__card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
}

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

.nh-group__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.3) 50%, rgba(17,17,17,0) 70%);
}

.nh-group__card--soon {
    background: var(--nh-surface);
    border: 1px dashed var(--nh-border);
    cursor: default;
}

.nh-group__card--soon .nh-group__card-overlay {
    background: none;
}

.nh-group__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
}

.nh-group__card-type {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nh-accent);
    margin-bottom: 4px;
}

.nh-group__card-name {
    font-family: 'Cormorant', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

.nh-group__card-desc {
    font-size: 11px;
    color: var(--nh-text-3);
    margin-top: 4px;
}

.nh-group__card--soon .nh-group__card-content {
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-group__card--soon .nh-group__card-name {
    font-size: 18px;
    color: var(--nh-text-3);
}

/* ═══════════════════════════════════════════════
   3. RESTAURANTS GRID
   ═══════════════════════════════════════════════ */

.nh-restaurants {
    padding: 80px 0;
    background: #0a0a0a;
}

.nh-rest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nh-rest-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
    display: block;
}

.nh-rest-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
}

.nh-rest-card:hover .nh-rest-card__image {
    transform: scale(1.05);
}

.nh-rest-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.4) 40%, rgba(17,17,17,0) 55%);
}

.nh-rest-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
}

.nh-rest-card__type {
    font-family: 'Cormorant', serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nh-accent);
    margin-bottom: 2px;
}

.nh-rest-card__name {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

.nh-rest-card__address {
    font-size: 10px;
    color: var(--nh-text-3);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   4. NEWS
   ═══════════════════════════════════════════════ */

.nh-news {
    padding: 80px 0;
    background: var(--nh-bg);
}

.nh-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nh-news-card {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: #fff;
    transition: opacity .3s;
}

.nh-news-card:hover { opacity: 0.92; }

.nh-news-card__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.nh-news-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.92) 100%);
    pointer-events: none;
}

.nh-news-card > .nh-news-card__date,
.nh-news-card > .nh-news-card__title,
.nh-news-card > .nh-news-card__text {
    position: relative;
    z-index: 2;
}

.nh-news-card__image--empty {
    background: var(--nh-surface);
}

.nh-news-card__date { display: none; }

.nh-news-card__title {
    font-family: 'Cormorant', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.nh-news-card__text {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.45;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nh-news-more {
    text-align: center;
    margin-top: 40px;
}

/* ═══════════════════════════════════════════════
   5. GALLERY
   ═══════════════════════════════════════════════ */

.nh-gallery {
    padding: 80px 0;
    background: #0a0a0a;
}

/* ── Gallery filter bar ── */
.nh-gallery-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.nh-gallery-filter::-webkit-scrollbar { display: none; }

.nh-gf-btn {
    flex-shrink: 0;
    padding: 8px 22px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    background: transparent;
    color: rgba(240,240,240,0.55);
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .25s, color .25s, background .25s;
    white-space: nowrap;
}
.nh-gf-btn:hover {
    border-color: rgba(255,255,255,0.35);
    color: #f0f0f0;
}
.nh-gf-btn--active {
    background: rgba(200,169,126,0.12);
    border-color: #c8a97e;
    color: #c8a97e;
}

/* Hidden gallery items */
.nh-gallery-item.nh-gal-hidden {
    display: none;
}

.nh-gallery-masonry {
    columns: 6;
    column-gap: 8px;
}

.nh-gallery-item {
    break-inside: avoid;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.nh-gallery-item img {
    width: 100%;
    display: block;
    transition: transform .5s ease, opacity .3s;
}

.nh-gallery-item:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Lightbox */
.nh-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.nh-lightbox.active { display: flex; }

.nh-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.nh-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    padding: 8px;
}

.nh-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 36px;
    cursor: pointer;
    padding: 16px;
    z-index: 2;
    transition: color .2s;
}

.nh-lightbox-nav:hover { color: #fff; }

.nh-lightbox-prev { left: 8px; }
.nh-lightbox-next { right: 8px; }

.nh-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--nh-text-3);
    font-size: 13px;
}

/* ═══════════════════════════════════════════════
   6. CONTACTS + MAP
   ═══════════════════════════════════════════════ */

.nh-contacts {
    padding: 80px 0;
    background: var(--nh-bg);
}

.nh-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
}

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

.nh-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nh-contact-card {
    display: block;
    text-decoration: none;
    background: var(--nh-surface);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--nh-border);
    transition: background .3s var(--nh-ease), border-color .3s var(--nh-ease);
}

.nh-contact-card:hover {
    background: var(--nh-surface-hover, rgba(255,255,255,0.08));
    border-color: rgba(255,255,255,0.15);
}

.nh-contact-card__type {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nh-accent);
    margin-bottom: 4px;
}

.nh-contact-card__name {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--nh-text);
    margin-bottom: 10px;
}

.nh-contact-card__detail {
    font-size: 12px;
    color: var(--nh-text-2);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
    .nh-container { padding: 0 20px; }
    .nh-title { font-size: 30px; }

    .nh-slide__undertitle { font-size: 200px; }
    .nh-slide__name { font-size: 32px; }

    .nh-group__cards { grid-template-columns: repeat(2, 1fr); }
    .nh-rest-grid { grid-template-columns: repeat(2, 1fr); }
    .nh-news-grid { grid-template-columns: repeat(2, 1fr); }
    .nh-contacts-grid { grid-template-columns: repeat(2, 1fr); }

    .nh-gallery-masonry { columns: 3; }

    .nh-group, .nh-restaurants, .nh-news, .nh-gallery, .nh-contacts { padding: 60px 0; }
}

@media (max-width: 680px) {
    .nh-container { padding: 0 16px; }
    .nh-title { font-size: 26px; }
    .nh-section-header { margin-bottom: 28px; }

    .nh-slide__undertitle { font-size: 140px; }
    .nh-slide__name { font-size: 28px; }
    .nh-slide__content { bottom: 40px; }
    .nh-slide__desc { font-size: 9px; letter-spacing: 1.8px; }

    .nh-group__desc { font-size: 13px; margin-bottom: 32px; }
    .nh-group__cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nh-group__card-name { font-size: 18px; }

    .nh-rest-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nh-rest-card__name { font-size: 16px; }
    .nh-rest-card__content { padding: 10px; }

    .nh-news-grid { grid-template-columns: 1fr; gap: 16px; }

    .nh-gallery-masonry { columns: 2; column-gap: 6px; }
    .nh-gallery-item { margin-bottom: 6px; }

    .nh-map { height: 300px; }
    .nh-contacts-grid { grid-template-columns: 1fr; }

    .nh-group, .nh-restaurants, .nh-news, .nh-gallery, .nh-contacts { padding: 48px 0; }
}
