/* ============================================================
   Eleonora Tepla Photography
   Editorial, minimalist, cinematic.
   Palette: ivory / charcoal / warm beige-brown accent
   Type:    Playfair Display (headings) + Inter (body)
   Mobile-first
   ============================================================ */

:root {
    --bg: #f7f3eb;
    --bg-alt: #efe7d8;
    --surface: #fffdf9;
    --ink: #1e1c19;
    --ink-soft: #58524a;
    --ink-faint: #948c80;
    --line: #e2d9c8;
    --accent: #8a6f52;
    --accent-dark: #6b5640;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

.section { padding: 88px 0; }

.section--alt { background: var(--bg-alt); }

.section__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    font-weight: 600;
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 28px;
    max-width: 16ch;
    letter-spacing: -0.01em;
}

.section__head {
    margin-bottom: 56px;
}

.section__lead {
    color: var(--ink-soft);
    max-width: 52ch;
    font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.35s var(--ease), color 0.35s var(--ease),
                border-color 0.35s var(--ease), transform 0.2s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: var(--surface); }
.btn--primary:hover { background: transparent; color: var(--ink); }

.btn--ghost:hover { background: var(--ink); color: var(--surface); }

.btn--on-dark {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}
.btn--on-dark:hover { background: #fff; color: var(--ink); }

.btn--on-dark.btn--primary { background: #fff; color: var(--ink); }
.btn--on-dark.btn--primary:hover { background: transparent; color: #fff; }

.btn--full { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease),
                box-shadow 0.4s var(--ease);
}

.site-header--scrolled {
    background: rgba(247, 243, 235, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-serif);
    color: #fff;
    transition: color 0.4s var(--ease);
    z-index: 2;
}

.nav__logo-main {
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav__logo-sub {
    font-family: var(--font-sans);
    font-size: 0.56rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
}

.site-header--scrolled .nav__logo { color: var(--ink); }
.site-header--scrolled .nav__logo-sub { color: var(--ink-faint); }

.nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    z-index: 2;
}

.nav__burger span {
    width: 24px;
    height: 1px;
    background: #fff;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease),
                background 0.4s var(--ease);
}

.site-header--scrolled .nav__burger span,
.nav__burger--open span { background: var(--ink); }

.nav__burger--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Language switch ---------- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 2;
}

.lang-switch__btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 5px 9px;
    cursor: pointer;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lang-switch__btn:hover { color: #fff; }

.lang-switch__btn--active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.site-header--scrolled .lang-switch__btn { color: var(--ink-faint); }
.site-header--scrolled .lang-switch__btn:hover { color: var(--ink); }

.site-header--scrolled .lang-switch__btn--active {
    color: var(--ink);
    border-color: var(--ink);
}

.nav__menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.nav__menu--open { opacity: 1; visibility: visible; }
.nav__menu--open .nav__link { color: var(--ink); }
.nav__menu--open .nav__link:hover { color: var(--accent); }
.nav__menu--open .nav__link::after { background: var(--accent); }

.nav__link {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.4s var(--ease);
    position: relative;
}

.site-header--scrolled .nav__link { color: var(--ink); }
.nav__link:hover { color: #fff; }
.site-header--scrolled .nav__link:hover { color: var(--accent); }

.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.85);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.site-header--scrolled .nav__link::after { background: var(--accent); }
.nav__link:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background: #3a352e url('../img/hero.jpg') center 38%/cover no-repeat;
    color: #fff;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 15, 0.28);
}

.hero__content {
    position: relative;
    padding-top: 140px;
    padding-bottom: 96px;
    max-width: 720px;
}

.hero__mark {
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 1.05rem;
    margin-bottom: 28px;
    text-shadow: 0 1px 12px rgba(15, 12, 10, 0.5);
}

.hero__mark-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 6px;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 7vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 36px;
    max-width: 14ch;
    text-shadow: 0 2px 20px rgba(15, 12, 10, 0.45);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__scroll {
    position: absolute;
    bottom: 28px;
    right: 24px;
    width: 1px;
    height: 52px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.25);
}

.hero__scroll-line {
    position: absolute;
    top: -52px;
    left: 0;
    width: 100%;
    height: 52px;
    background: #fff;
    animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(0); }
    60%, 100% { transform: translateY(104px); }
}

/* ---------- Intro / manifesto ---------- */
.intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 72px;
}

.intro__photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-alt);
}

.intro__photo img { width: 100%; height: 100%; object-fit: cover; }

.intro__text .section__title { max-width: 12ch; }

.intro__text p {
    color: var(--ink-soft);
    max-width: 48ch;
    margin-bottom: 18px;
}

.intro__cta { margin-top: 40px; text-align: center; }

/* ---------- Portfolio: filters ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 44px;
}

.filters__btn {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: var(--ink-faint);
    cursor: pointer;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.filters__btn:hover { color: var(--ink); }

.filters__btn--active {
    color: var(--ink);
    border-color: var(--accent);
}

/* ---------- Editorial gallery grid ---------- */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

.gallery__item--wide { aspect-ratio: 3 / 2; }

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s var(--ease);
}

.gallery__item:hover img { transform: scale(1.035); }

.gallery__item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.gallery__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 32px 20px 18px;
    background: linear-gradient(to top, rgba(20, 18, 15, 0.62), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery__name { font-family: var(--font-serif); font-size: 1.05rem; }

.gallery__cat {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.gallery__item--hidden { display: none !important; }

.gallery__item--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 560px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery__item--wide { grid-column: span 2; }
}

/* ---------- About ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
}

.about__photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    max-width: 460px;
    background: var(--bg-alt);
}

.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__text p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    max-width: 52ch;
}

/* ---------- Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 28px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    padding: 44px 34px;
}

.price-card--featured { background: var(--bg-alt); }

.price-card__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.price-card__price {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    color: var(--ink);
    margin-bottom: 4px;
}

.price-card__duration {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.price-card__list {
    flex: 1;
    margin-bottom: 30px;
}

.price-card__list li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
}

.price-card__list li:first-child { border-top: 0; }

.price-card__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.price-card .btn { align-self: flex-start; }

.pricing-note {
    color: var(--ink-soft);
    max-width: 62ch;
    margin-bottom: 8px;
}

.pricing-note--muted {
    color: var(--ink-faint);
    font-size: 0.9rem;
    max-width: 62ch;
    margin-bottom: 56px;
}

/* ---------- Accordion (Booking & Conditions / FAQ) ---------- */
.accordion__item {
    border-top: 1px solid var(--line);
}

.accordion__item:last-child { border-bottom: 1px solid var(--line); }

.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--ink);
    cursor: pointer;
}

.accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    background: var(--ink);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.accordion__icon::before { width: 16px; height: 1px; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 1px; height: 16px; transform: translate(-50%, -50%); }

.accordion__item--open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
}

.accordion__item--open .accordion__panel { grid-template-rows: 1fr; }

.accordion__panel-inner {
    overflow: hidden;
}

.accordion__panel p {
    color: var(--ink-soft);
    max-width: 62ch;
    padding-bottom: 24px;
}

/* ---------- Contact ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.contact__intro .section__title { max-width: 13ch; }

.contact__lead {
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 36px;
}

.contact__direct {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact__direct-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 6px;
}

.contact__direct-link {
    font-size: 0.95rem;
    color: var(--ink);
    transition: color 0.3s var(--ease);
    width: fit-content;
}

.contact__direct-link:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }

.form__row { display: grid; gap: 22px; }

@media (min-width: 560px) {
    .form__row--split { grid-template-columns: 1fr 1fr; }
}

.form__field { display: flex; flex-direction: column; gap: 8px; }

.form__field label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.form__field input,
.form__field select,
.form__field textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 2px;
    transition: border-color 0.3s var(--ease);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.form__field textarea { resize: vertical; min-height: 96px; }

.form__submit { margin-top: 8px; }

.form__note {
    font-size: 0.82rem;
    color: var(--ink-faint);
    margin-top: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 52px 0;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.site-footer__logo {
    font-family: var(--font-serif);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #fff;
}

.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }

.site-footer__nav a {
    font-size: 0.82rem;
    transition: color 0.3s var(--ease);
}

.site-footer__nav a:hover { color: #fff; }

.site-footer__copy { font-size: 0.76rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
    .contact__grid { gap: 72px; }
}

@media (min-width: 900px) {
    .section { padding: 132px 0; }

    .section__head { margin-bottom: 72px; }

    .hero__content { margin-left: 5%; margin-right: auto; }

    /* inline nav */
    .nav__burger { display: none; }

    .nav__menu {
        position: static;
        inset: auto;
        background: none;
        flex-direction: row;
        gap: 36px;
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-family: var(--font-sans);
        font-size: 0.8rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        color: rgba(255, 255, 255, 0.85);
        transition: color 0.3s var(--ease);
    }

    .site-header--scrolled .nav__link { color: var(--ink-soft); }
    .nav__link:hover { color: #fff; }
    .site-header--scrolled .nav__link:hover { color: var(--accent); }

    .nav__menu--open { visibility: visible; }

    /* intro */
    .intro__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 88px;
    }

    /* about */
    .about__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 88px;
    }

    /* pricing */
    .pricing { grid-template-columns: repeat(3, 1fr); }

    /* contact */
    .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Album — fullscreen overlay
   ============================================================ */
.album {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 16, 14, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.album--open {
    opacity: 1;
    visibility: visible;
}

.album__stage {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 92vw;
    padding: 0 8px;
}

.album__img {
    max-width: min(84vw, 1100px);
    max-height: 76vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: var(--bg-alt);
}

.album__caption {
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: #f7f3eb;
}

.album__name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.album__count {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: rgba(247, 243, 235, 0.6);
}

.album__close {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(18, 16, 14, 0.5);
    border: 1px solid rgba(247, 243, 235, 0.25);
    border-radius: 50%;
    color: #f7f3eb;
    cursor: pointer;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.album__close:hover { background: var(--accent); transform: rotate(90deg); }

.album__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(18, 16, 14, 0.45);
    border: 1px solid rgba(247, 243, 235, 0.25);
    border-radius: 50%;
    color: #f7f3eb;
    cursor: pointer;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.album__nav:hover { background: var(--accent); }
.album__nav--prev { left: 22px; }
.album__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.album__nav--next { right: 22px; }
.album__nav--next:hover { transform: translateY(-50%) translateX(3px); }

@media (max-width: 640px) {
    .album__img { max-width: 92vw; max-height: 66vh; }

    .album__nav { width: 42px; height: 42px; }
    .album__nav svg { width: 26px; height: 26px; }
    .album__nav--prev { left: 10px; }
    .album__nav--next { right: 10px; }

    .album__close { top: 12px; right: 12px; width: 40px; height: 40px; }

    .album__name { font-size: 1rem; }
}

/* generated: responsive WebP hero */
.hero { background-image: url('../img/hero-1280.webp'); }
@media (min-width: 1100px) { .hero { background-image: url('../img/hero-2048.webp'); } }
