*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cream: #F5E8D1;
    --dark:  #252525;
    --font-display: 'Pirata One', cursive;
    --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--dark); font-family: var(--font-body); }

/* ── HELPERS ── */
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #c8b89a;   /* placeholder tint – viditelné, dokud nedosadíš obrázky */
}
/* ═══════════════════════════════════════════
    0. GLOBAL 
═══════════════════════════════════════════ */
section.sec {
    max-width: 1755px;
    margin: 0 auto;
    padding: 100px 40px;
}
body {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
h2 {
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h3 {
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h4 {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h5 {
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
/* ═══════════════════════════════════════════
    1. HERO
═══════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
}
/* floating photo grid */
.hero__photos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero__photo {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(245,232,209,.35);
    overflow: hidden;
    opacity: .75;
}
/* scatter positions – mimic Figma layout */
.hero__photo:nth-child(1)  { top:  6%; left: 22%; width:38px; height:38px; }
.hero__photo:nth-child(2)  { top:  9%; left: 35%; }
.hero__photo:nth-child(3)  { top: 14%; left: 48%; width:36px; height:36px; }
.hero__photo:nth-child(4)  { top:  5%; left: 58%; width:32px; height:32px; }
.hero__photo:nth-child(5)  { top: 18%; left: 65%; width:40px; height:40px; }
.hero__photo:nth-child(6)  { top: 22%; left: 30%; width:34px; height:34px; }
.hero__photo:nth-child(7)  { top: 28%; left: 54%; width:42px; height:42px; }
.hero__photo:nth-child(8)  { top: 10%; left: 72%; width:36px; height:36px; }
.hero__photo:nth-child(9)  { top: 32%; left: 78%; width:38px; height:38px; }
.hero__photo:nth-child(10) { top: 20%; left: 42%; width:32px; height:32px; }
.hero__photo:nth-child(11) { top: 38%; left: 62%; width:36px; height:36px; }
.hero__photo:nth-child(12) { top: 15%; left: 82%; width:34px; height:34px; }

/* nav */
.nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    z-index: 10;
}
.nav__logo { height: 32px; width: auto; }
.nav__logo img { width: 120px; height: 32px; object-fit: contain; background: transparent; }
.nav__lang {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}

/* title */
.hero__title {
    position: absolute;
    bottom: 80px;
    left: 48px;
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 96px);
    color: var(--cream);
    line-height: 1;
    z-index: 10;
}

/* scroll arrow */
.hero__arrow {
    position: absolute;
    bottom: 28px;
    right: 48px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

/* wave divider */
.wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave svg { display: block; width: 100%; }

/* ═══════════════════════════════════════════
    2. INTRO / LOREM
═══════════════════════════════════════════ */
.intro {
    background: var(--cream);
    padding: 64px 48px 48px;
    max-width: 900px;
}
.intro h2 {
    color: var(--dark);
    max-width: 826px;
}

/* ═══════════════════════════════════════════
    3. TEAM
═══════════════════════════════════════════ */
.team {
    background: var(--cream);
    padding: 16px 48px 64px;
}
.team__label {
    color: var(--dark);
    margin-bottom: 20px;
}
.team__photos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.team__photo {
    width: 153px;
    height: 153px;
    overflow: hidden;
    flex-shrink: 0;
}

/* wavy separator */
.separator {
    width: 100%;
    height: 28px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}
.separator::after {
    content: '';
    position: absolute;
    bottom: 0; left: -10px; right: -10px;
    height: 28px;
    background: var(--cream);
    border-top: 2px solid rgba(37,37,37,.18);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.04);
}

/* ═══════════════════════════════════════════
    4. GALLERY / OD MYŠLENKY
═══════════════════════════════════════════ */
.gallery-section {
    background: var(--cream);
    padding: 64px 48px 80px;
}
.section-title {
    color: var(--dark);
    margin-bottom: 12px;
}
.section-subtitle {
    color: var(--dark);
    max-width: 820px;
    margin-bottom: 107px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-item {}
.gallery-item__img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.gallery-item__caption {
    color: var(--dark);
    margin-top: 24px;
}

/* carousel nav */
.carousel-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 36px;
}
.carousel-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--dark);
    background: transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.carousel-btn svg { fill: none; stroke: var(--dark); stroke-width: 2; }

/* wavy bottom border on gallery */
.wavy-border {
    width: 100%;
    height: 36px;
    position: relative;
    background: var(--cream);
    overflow: hidden;
}
.wavy-border::before {
    content: '';
    position: absolute;
    bottom: 0; left: -20px; right: -20px; height: 36px;
    border-bottom: 2.5px solid rgba(37,37,37,.2);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: scaleX(1.06);
}

/* ═══════════════════════════════════════════
    5. MOSAIC / KOSTNICE
═══════════════════════════════════════════ */
:root { 
    --mosiac__gap: 32px;
} 
.mosiac__img {
    width: 100%;
}
.mosaic__left, .mosaic__right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: var(--mosiac__gap);
}
.mosiac1 {
    max-height: 543px;
}
.mosaic__feature {
    max-height: 543px;
}
.mosaic__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--mosiac__gap);
}
.mosaic {
    display: flex;
    gap: var(--mosiac__gap);
    height: auto;
}
.mosaic__big {
    grid-row: 1 / 3;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
}
.mosaic__sm {
    aspect-ratio: 3/2;
    overflow: hidden;
}
.mosaic__feature {
    position: relative;
    overflow: hidden;
}
.mosaic__feature img {
    filter: brightness(.55);
}
.mosaic__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
}
.mosaic__overlay-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--cream);
    margin-bottom: 14px;
}
.mosaic__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--cream);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    text-decoration: none;
    background: transparent;
    width: fit-content;
    cursor: pointer;
}
.mosaic__btn svg { fill: none; stroke: var(--cream); stroke-width: 2; }

/* ═══════════════════════════════════════════
    6. VIDEO SECTION
═══════════════════════════════════════════ */
.video-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16/8;
    overflow: hidden;
    background: var(--dark);
}
.video-section__bg {
    position: absolute;
    inset: 0;
}
.video-section__bg img { filter: brightness(.45); }
.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.video-play__btn {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 2px solid var(--cream);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.video-play__btn svg { fill: var(--cream); margin-left: 4px; }

/* ═══════════════════════════════════════════
    7. FOOTER
═══════════════════════════════════════════ */
footer {
    background: var(--dark);
    color: var(--cream);
    padding: 60px 48px 36px;
}
.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(245,232,209,.15);
}
.footer__logo img { width: 120px; height: 32px; object-fit: contain; background: transparent; }
.footer__info p, .footer__address p {
    font-size: 12px;
    line-height: 1.8;
    opacity: .7;
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 11px;
    opacity: .5;
}
.footer__bottom a { color: var(--cream); text-decoration: none; }
.footer__bottom a:hover { opacity: .8; }
.workaholic { opacity: 1 !important; }
.workaholic a { font-weight: 700; text-decoration: underline; }

/* ═══════════════════════════════════════════
    RESPONSIVE – basic
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav { padding: 20px 24px; }
    .hero__title { left: 24px; bottom: 60px; }
    .intro, .team, .gallery-section { padding-left: 24px; padding-right: 24px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr 1fr; }
    .mosaic__big { grid-row: auto; }
    .footer__top { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}