/* ─── TOKENS ─── */
:root {
    --bg:        #FDFAF5;   /* warm near-white */
    --linen:     #F2E9DA;   /* warm linen sections */
    --dark:      #1E1208;   /* deep warm brown-black */
    --dark-2:    #2E1E0E;   /* slightly lighter */
    --ink:       #1C1208;   /* headings on light */
    --text:      #4A3828;   /* body text */
    --muted:     #9A826C;   /* labels/captions */
    --border:    #E4D5C0;   /* warm border */
    --terra:     #B84219;   /* terracotta accent */
    --terra-lt:  #FAF0EA;   /* light terracotta bg */
    --rose:      #D4896B;   /* warm rose */
    --wolt:      #009de0;   /* Wolt blue */
    --cream:     #F2E9DA;   /* alias for linen */

    --serif: 'Playfair Display', Georgia, serif;
    --sans:  'Inter', system-ui, sans-serif;
    --r:    4px;
    --r-lg: 12px;
    --ease: cubic-bezier(.25,.46,.45,.94);
    --shadow:    0 2px 20px rgba(0,0,0,.07);
    --shadow-lg: 0 10px 48px rgba(0,0,0,.18);
}

/* ─── DARK MODE ─── */
@media (prefers-color-scheme: dark) {
    :root {
        --bg:        #1A1009;
        --linen:     #251610;
        /* --dark (#1E1208) in --dark-2 (#2E1E0E) ostaneta temna — footer ozadje */
        --ink:       #F2E9DA;
        --text:      #C8A898;
        --muted:     #8A7060;
        --border:    #3A2818;
        --terra:     #D4622A;
        --terra-lt:  #2A1A0F;
        --rose:      #E09A7A;
        --cream:     #251610;
        --shadow:    0 2px 20px rgba(0,0,0,.35);
        --shadow-lg: 0 10px 48px rgba(0,0,0,.55);
    }
    .nav.solid {
        background: rgba(26,16,9,.96) !important;
    }
}

/* ─── RESET ─── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ─── BASE ─── */
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 108px 0; }

/* ─── TYPOGRAPHY ─── */
.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 14px;
}
.label--light { color: rgba(242,233,218,.45); }

.section__title {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 18px;
}
.section__title--light { color: #F2E9DA; }

.section__sub {
    font-size: 17px;
    color: var(--text);
    max-width: 500px;
}
.section__sub--light { color: rgba(242,233,218,.65); }

.section__head {
    text-align: center;
    margin-bottom: 64px;
}
.section__head .section__sub { margin: 0 auto; }

/* ─── REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .03em;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
}

.btn--terra {
    background: var(--terra);
    color: #fff;
}
.btn--terra:hover {
    background: #9A3614;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(184,66,25,.3);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 2px;
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
}

.btn--nav {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.6);
    padding: 9px 22px;
    font-size: 13px;
    border-radius: 2px;
    transition: all .25s var(--ease);
}
.btn--nav:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}
.nav.solid .btn--nav {
    background: transparent;
    color: var(--ink) !important;
    border-color: var(--ink);
}
.nav.solid .btn--nav:hover {
    background: var(--ink);
    color: #fff !important;
}

.btn--wolt {
    background: var(--wolt);
    color: #fff;
    border-radius: 2px;
    font-weight: 500;
    padding: 14px 28px;
}
.btn--wolt:hover {
    background: #007ab5;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,157,224,.35);
}

/* ─── WOLT ORDER CARD (contact) ─── */
.wolt-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0081b8 0%, #009de0 100%);
    border-radius: var(--r-lg);
    color: #fff;
    margin-bottom: 40px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wolt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,157,224,.4);
}
.wolt-card__title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 3px;
}
.wolt-card__sub {
    font-size: 12.5px;
    opacity: .75;
}
.wolt-card__right {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.18);
    padding: 10px 18px;
    border-radius: 8px;
    flex-shrink: 0;
}
.wolt-card__brand {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.5px;
}
.wolt-card__arrow { font-size: 16px; opacity: .8; }

/* ─── NAV ─── */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 200;
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.solid {
    background: rgba(253,250,245,.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    transition: color .35s;
}
.nav.solid .nav__logo { color: var(--ink); }

.nav__logo-flower {
    font-size: 16px;
    color: rgba(255,255,255,.5);
    transition: color .35s;
}
.nav.solid .nav__logo-flower { color: var(--terra); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav__links li a {
    font-size: 13.5px;
    color: rgba(255,255,255,.75);
    letter-spacing: .04em;
    transition: color .2s;
}
.nav__links li a:hover { color: #fff; }
.nav.solid .nav__links li a { color: var(--text); }
.nav.solid .nav__links li a:hover { color: var(--terra); }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all .25s;
}
.nav.solid .nav__toggle span { background: var(--ink); }

/* ─── HERO (full-bleed background photo) ─── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    background: url('../images/primula_001.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(18,10,4,.86) 0%,
        rgba(18,10,4,.60) 50%,
        rgba(18,10,4,.18) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 80px 72px 0;
}

.hero__eyebrow {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(242,233,218,.4);
    margin-bottom: 32px;
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(56px, 6.5vw, 96px);
    font-weight: 400;
    line-height: .97;
    color: #F2E9DA;
    margin-bottom: 28px;
    animation: fadeUp .9s .2s var(--ease) both;
}
.hero__title em {
    font-style: italic;
    color: var(--terra);
}

.hero__sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(242,233,218,.55);
    margin-bottom: 52px;
    max-width: 300px;
    line-height: 1.8;
    animation: fadeUp .9s .35s var(--ease) both;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    animation: fadeUp .9s .5s var(--ease) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── ABOUT (warm bg) ─── */
.about { background: var(--bg); }

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

.about__img { position: relative; }
.about__img img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center;
}
.about__badge {
    position: absolute;
    bottom: -22px;
    right: -22px;
    width: 112px;
    height: 112px;
    background: var(--terra);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about__badge-num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}
.about__badge-txt { font-size: 11px; line-height: 1.3; opacity: .85; }

.about__text .section__title { color: var(--ink); }
.about__text p {
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.85;
}

.about__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}
.about__chips span {
    display: inline-block;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .04em;
}

/* ─── SERVICES (linen, clean cards) ─── */
.services { background: var(--linen); }

.services .section__head .label { color: var(--terra); }
.services .section__head .section__title { color: var(--ink); }
.services .section__head .section__sub { color: var(--text); }

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 52px 56px;
}

.service-card {
    border-top: 2px solid var(--terra);
    padding-top: 36px;
    background: transparent;
}

.service-card__num { display: none; }

.service-card__icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.25;
}
.service-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.78;
}

/* ─── GALLERY (white) ─── */
.gallery { background: var(--bg); }

.gallery__masonry {
    columns: 3 260px;
    gap: 8px;
}

.gallery__masonry img {
    width: 100%;
    display: block;
    margin-bottom: 8px;
    break-inside: avoid;
    transition: opacity .35s;
}
.gallery__masonry img:hover { opacity: .88; }

.gallery__more {
    text-align: center;
    margin-top: 48px;
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--muted);
    letter-spacing: .02em;
}

/* ─── CONTACT (linen) ─── */
.contact { background: var(--linen); }

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact__lead {
    color: var(--text);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.75;
    max-width: 380px;
}

.contact__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact__row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.contact__row:first-child { border-top: 1px solid var(--border); }

.contact__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--terra);
}

.contact__row strong {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
}
.contact__row p { font-size: 15px; color: var(--text); line-height: 1.6; }
.contact__row a { color: var(--terra); transition: opacity .2s; }
.contact__row a:hover { opacity: .7; }

.contact__map {
    height: 500px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ─── FOOTER ─── */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 52px 0;
    border-top: 3px solid var(--terra);
}

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

.footer__logo {
    font-family: var(--serif);
    font-size: 22px;
    color: #F2E9DA;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer p { font-size: 14px; color: rgba(242,233,218,.38); }
.footer p a { color: rgba(242,233,218,.55); transition: color .2s; }
.footer p a:hover { color: #F2E9DA; }
.footer__copy { font-size: 12.5px !important; margin-top: 4px; color: rgba(242,233,218,.22) !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    .hero__content { padding: 0 40px 72px; }

    .about__grid,
    .contact__grid { grid-template-columns: 1fr; gap: 52px; }

    .about__img img { height: 420px; }
    .about__badge { bottom: -14px; right: -14px; width: 92px; height: 92px; }
    .about__badge-num { font-size: 22px; }

    .services__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 40px; }

    .gallery__masonry { columns: 2 200px; }

    .contact__map { height: 360px; }
}

@media (max-width: 640px) {
    .section { padding: 76px 0; }
    .nav__inner { padding: 0 20px; }

    .hero__content { padding: 0 24px 56px; }
    .hero__title { font-size: clamp(40px, 9vw, 60px); }
    .hero__sub { max-width: 100%; }

    .nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }
    .nav__links.open { display: flex; }
    .nav__links li a  { color: var(--text); font-size: 16px; }
    .nav__links li a:hover { color: var(--terra); }
    .nav__toggle { display: flex; }

    .services__grid { grid-template-columns: 1fr; gap: 36px; }

    .gallery__masonry { columns: 2 120px; }

    .contact__map { height: 280px; }

    .wolt-card { flex-direction: column; align-items: flex-start; gap: 16px; }
    .wolt-card__right { align-self: flex-end; }
}
