@charset "utf-8";
/* CSS Document – Studio Art

   REDOSLIJED (mobile first):
   1. osnovni stilovi = MOBITEL
   2. @media (max-width: 619px)  = SAMO MOBITEL
   3. @media (min-width: 620px)  = TABLET
   4. @media (min-width: 980px)  = DESKTOP (puni izbornik, hero preko slike)
   5. @media (min-width: 1500px) = VELIKI ZASLONI

   HERO SLIKA: u :root upišite --hero-ratio = širina ÷ visina slike
   (npr. slika 1920 × 800 px → 2.4). Hero će tada točno pratiti omjer
   slike pa se vidi cijela slika.

   BOJE: akcent mijenjate u varijablama u :root.
*/

:root {
    --background: #111214;
    --background-light: #191a1c;
    --text: #f4f1eb;
    --muted: #b4b2ac;
    --line: rgba(255, 255, 255, 0.14);
    --max-width: 1160px;

    /* Akcent iz logotipa */
    --red: #F4080C;             /* crte, okviri */
    --red-strong: #d10508;      /* pozadina gumba pri prijelazu (bijeli tekst) */
    --accent-text: #ff4d50;     /* sitni tekst i naslovi na tamnoj podlozi */
    --accent-on-light: #c40609; /* akcent na svijetlim sekcijama */

    /* Hero slike: širina ÷ visina (PROMIJENITE prema svojim slikama)
       desktop 2400 × 1000 → 2.4 | tablet 1400 × 700 → 2 | mobitel 800 × 600 → 1.33 */
    --hero-ratio: 2.4;
    --hero-ratio-tablet: 2;
    --hero-ratio-mobile: 1.33;

    /* Hero: jačina zatamnjenja slike (0 = bez filtera, 1 = skoro crno) */
    --hero-dark: 0.65;
}


/* =========================================================
   1. OSNOVNI STILOVI (MOBITEL)
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 3px;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    width: calc(100% - 36px);
    margin: 0 auto;
}

.section {
    padding: 75px 0;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: clamp(40px, 11vw, 58px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 700;
    margin-bottom: 28px;
}

h2 {
    font-size: 35px;
    line-height: 1.16;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

h3 {
    font-size: 17px;
    line-height: 1.4;
}

h1 span,
h2 span {
    color: var(--accent-text);
}

/* ZAGLAVLJE I NAVIGACIJA */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 18, 20, 0.97);
    border-bottom: 3px solid var(--red);
}

.nav-container {
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol {
    display: block;
    width: 52px;
    flex-shrink: 0;
}

.logo-symbol img {
    width: 100%;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-text strong {
    font-size: 18px;
    letter-spacing: 1.5px;
}

.logo-text small {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-top: 2px;
}

/* Gumb za izbornik (vidljiv na mobitelu i tabletu) */

.menu-button {
    display: block;
    cursor: pointer;
    border: 0;
    background: none;
    padding: 8px;
    margin-top: 60px;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

/* Izbornik: na mobitelu i tabletu je padajući */

.navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 24px 20px;
    background: #151618;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
}

.navigation.is-open {
    display: flex;
}

.navigation a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.navigation a:hover {
    color: var(--accent-text);
}

.navigation .nav-contact {
    border: 0;
    color: #fff;
}


/* UVODNA SEKCIJA (mobitel: slika gore, tekst ispod) */

.hero {
    position: relative;
    overflow: hidden;
    background: #111214;
}

/* Slike: u punom omjeru, bez izrezivanja, izmjenjuju se prelijevanjem */
.hero-slides {
    position: relative;
    aspect-ratio: var(--hero-ratio-mobile);
    min-height: 190px; /* da na mobitelu slika ne bude premalena */
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zatamnjenje: na mobitelu samo prijelaz u pozadinu ispod slike */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    aspect-ratio: var(--hero-ratio-mobile);
    min-height: 190px;
    pointer-events: none;
    background: linear-gradient(0deg, #111214 0%, rgba(17, 18, 20, 0) 45%);
}

/* Točkice (crtice) za ručnu promjenu slike */
.hero-dots {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.hero-dot {
    position: relative;
    width: 38px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.hero-dot::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    height: 3px;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.3s;
}

.hero-dot:hover::after {
    background: rgba(255, 255, 255, 0.8);
}

.hero-dot.is-active::after {
    background: var(--red);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 90px;
}
.hero-content h1,
.hero-content p {
    text-shadow: 0 2px 4px rgba(0,0,0,1), 0 3px 12px rgba(0,0,0,.95), 0 0 28px rgba(0,0,0,.85);
}
.hero .eyebrow {
    font-size: clamp(0.75rem, 3vw, 1rem);       /* raste i smanjuje se s ekranom */
    letter-spacing: clamp(0.06em, 0.8vw, 0.2em); /* razmak među slovima se smanjuje na mobitelu */
    line-height: 1.4;
    white-space: normal;                         /* dopušta prelamanje u novi red */
    overflow-wrap: anywhere;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,1), 0 2px 8px rgba(0,0,0,.7);
}
.hero-description {
    max-width: 560px;
    color: #d0cfca;
    font-size: 15px;
    line-height: 1.9;
}
.hero-buttons {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
}
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after {            /* tamni sloj da tekst ostane čitljiv */
  content: ""; position: absolute; inset: 0;
 background: linear-gradient(90deg, rgba(17,17,19,.5) 0%, rgba(17,17,19,0) 100%);
}
.hero-bg__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-bg__slide.is-active { opacity: 1; }
.hero-bg__slide img { width: 100%; height: 100%; object-fit: cover; 
}
.button {
    min-height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.button-light {
    background: var(--text);
    color: #171819;
}
.button-light:hover {
    background: var(--red-strong);
    color: #fff;
}
.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.button-outline:hover {
    border-color: var(--red);
    color: var(--accent-text);
     background: rgba(0, 0, 0, 0.35);
}
.hero-bottom {
    position: absolute;
    right: 18px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #d2c8b6;
}
.hero-bottom span {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--red);
}


/* UVOD O STUDIJU */
.intro {
    background: #efede7;
    color: #191a1c;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
.intro .eyebrow,
.intro h2 span {
    color: var(--accent-on-light);
}
.intro-text {
    color: #575650;
    font-size: 16px;
    line-height: 1.95;
}
.intro-text p:last-child {
    margin-bottom: 0;
}

/* PORTFOLIO */
.portfolio {
    background: #151618;
}
.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 42px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.section-heading > p {
    max-width: 310px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.project-image {
    height: 245px;
    display: block;
    position: relative;
    overflow: hidden;
    background: #292a2b;
}
.project-image img {
    transition: transform 0.5s;
}
.project-image:hover img {
    transform: scale(1.045);
}
.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #fff;
    pointer-events: none;
    z-index: 2;
}
.project-play {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: white;
    background: rgba(0, 0, 0, 0.25);
}
.project-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 17px;
}
.project-info h3 {
    margin-bottom: 0;
}
.project-category {
    color: var(--accent-text);
    font-size: 11px;
    letter-spacing: 1.7px;
    margin-bottom: 7px;
}
.project-number {
    color: var(--accent-text);
    font-size: 12px;
}


/* DOKUMENTARNI FILM */

.film {
    background: var(--background-light);
    border-top: 1px solid var(--line);
}
.film-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.film-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 2px solid #fff;
}
.film-video iframe,
.film-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}
.film-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.film-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}
.film .button {
    margin-top: 12px;
}
.film-video a {
    position: absolute;
    inset: 0;
    display: block;
}
.film-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* DIZAJN I TISAK */

.print {
    background: #151618;
    border-top: 1px solid var(--line);
}
.print-intro {
    max-width: 620px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 0;
}
.print-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px 22px;
    margin-top: 42px;
}
.print-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #292a2b;
}
.print-image img {
    transition: transform 0.5s;
}
.print-item:hover .print-image img {
    transform: scale(1.045);
}
.print-category {
    color: var(--accent-text);
    font-size: 11px;
    letter-spacing: 1.7px;
    margin: 17px 0 7px;
}
.print-item h3 {
    margin-bottom: 0;
}


/* USLUGE */

.services {
    background: #efede7;
    color: #191a1c;
}
.services .eyebrow,
.services h2 span {
    color: var(--accent-on-light);
}
.service-list {
    border-top: 1px solid rgba(0, 0, 0, 0.17);
    margin-top: 42px;
}
.service {
    display: grid;
    grid-template-columns: 30px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.17);
}
.service-number,
.service-arrow {
    color: var(--accent-on-light);
}
.service-number {
    font-size: 12px;
}
.service h3 {
    font-size: 15px;
    margin-bottom: 5px;
}
.service p {
    max-width: 680px;
    color: #65635e;
    font-size: 13px;
    margin-bottom: 0;
}
.service-arrow {
    font-size: 19px;
    justify-self: end;
}


/* KONTAKT */

.contact {
    background:
        radial-gradient(
        ellipse at 85% 20%,
        rgba(244, 8, 12, 0.10),
        transparent 40%),#1c1b1b;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 25px;
}
.contact-description {
    max-width: 440px;
    color: #c1bdb4;
    font-size: 15px;
}
.contact-card {
    border-left: 2px solid var(--red);
    padding: 15px 0 15px 20px;
}
.contact-label {
    color: var(--accent-text);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.contact-address {
    color: #c1bdb4;
    font-size: 15px;
    margin-bottom: 20px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    overflow-wrap: anywhere;
}
.contact-list a:hover {
    color: var(--accent-text);
}
.contact-list small {
    color: var(--muted);
    font-size: 13px;
}

/* ikone: bijele, WhatsApp zelena */
.contact-list svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-list .icon-whatsapp {
    stroke: #25D366;
}


/* PODNOŽJE */
.footer {
    border-top: 1px solid var(--line);
    background: #101113;
}
.footer-content {
    min-height: 100px;
    padding-top: 22px;
    padding-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-content > p {
    order: 3;
    width: 100%;
    color: #96958f;
    font-size: 12px;
    margin: 0;
}
.footer-logo .logo-symbol {
    width: 44px;
}
.footer-logo .logo-text strong {
    font-size: 14px;
}
.footer-logo .logo-text small {
    font-size: 10px;
}
.zastita-privatnosti {
    color: #fff;
    font-size: 14px;
}
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(209, 5, 8, 0.92);
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s;
}

.scroll-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: #F4080C;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* KONTAKT OBRAZAC (prozor) */

html.dialog-open {
    overflow: hidden;
}
.contact-dialog {
    width: min(660px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    padding: 0;
    border: 0;
    border-top: 3px solid var(--red);
    background: #1c1b1b;
    color: var(--text);
}
.contact-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}
.contact-dialog-inner {
    position: relative;
    padding: 30px 20px 26px;
}
.contact-dialog h2 {
    font-size: 30px;
    margin-bottom: 22px;
}
.dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    color: var(--text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.dialog-close:hover {
    color: var(--accent-text);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-dialog label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-dialog input[type="text"],
.contact-dialog input[type="email"],
.contact-dialog input[type="tel"],
.contact-dialog select,
.contact-dialog textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #111214;
    color: var(--text);
    font-family: inherit;
    font-size: 16px; /* 16 px sprječava automatsko zumiranje na iPhoneu */
    letter-spacing: 0;
    text-transform: none;
    font-weight: normal;
}
.contact-dialog textarea {
    resize: vertical;
    min-height: 130px;
}
.contact-dialog input:focus,
.contact-dialog select:focus,
.contact-dialog textarea:focus {
    outline: 2px solid var(--accent-text);
    outline-offset: 0;
}
.contact-dialog .form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 4px 0 20px;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
}

.form-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

/* zamka za robote: izvan ekrana */
.form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-dialog .button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.contact-dialog .button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.form-status {
    margin: 16px 0 0;
    font-size: 14px;
}
.form-status.is-ok {
    color: #8fdc9a;
}
.form-status.is-error {
    color: var(--accent-text);
}
.form-check a {
    color: var(--accent-text);
    text-decoration: underline;
}

/* =========================================================
   2. SAMO ZA MOBITEL (DO 619 px)
   ========================================================= */

@media (max-width: 619px) {
     .hero {
        min-height: calc(80svh - 100px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
     .hero-content {
        padding-top: 20px;
        padding-bottom: 36px;
    }
    .hero-description {
        font-size: 14px;
        line-height: 1.65;
    }
    .hero-buttons {
        margin-top: 24px;
    }
    .intro {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .intro-grid {
        gap: 6px;
    }
    .intro h2 {
        margin-bottom: 10px;
    }
    .intro-text {
        line-height: 1.7;
    }
    .portfolio,
    .print {
        padding-top: 36px;
    }
    
 /* zaglavlje na mobitelu */
    .nav-container {
        min-height: 48px;
        padding-top: 2px;
        padding-bottom: 5px;
    }
    html {
        scroll-padding-top: 66px;
    }
    .logo-symbol {
        width: 38px;
    }
    
/* naslovi sekcija na mobitelu */
    h2 {
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: -0.8px;
        margin-bottom: 16px;
    }
    .eyebrow {
        font-size: 12px;
        letter-spacing: 1.6px;
    }
    
    /* tekst "O nama" */
    .intro-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .intro-text p {
        margin-bottom: 12px;
    }
    
/* dokumentarni film */
    .film {
        padding-top: 36px;
        padding-bottom: 48px;
    }
    .film-grid {
        gap: 20px;
    }
    .film-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    .film .button {
        margin-top: 6px;
    }
}

/* =========================================================
   3. TABLET (od 620 px)
   ========================================================= */

@media (min-width: 620px) {

    html {
        scroll-padding-top: 110px;
    }
    .container {
        width: min(var(--max-width), calc(100% - 48px));
    }
    h1 {
        font-size: clamp(43px, 6.5vw, 80px);
        letter-spacing: -3px;
    }
    h2 {
        font-size: clamp(32px, 4vw, 50px);
        letter-spacing: -1.8px;
    }
    .eyebrow {
        font-size: 15px;
    }
    /* zaglavlje */

    .nav-container {
        min-height: 82px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .logo {
        gap: 14px;
    }
    .logo-symbol {
        width: 76px;
    }
    .logo-text strong {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .logo-text small {
        font-size: 15px;
        letter-spacing: 2px;
    }

    /* hero */

    .hero-slides,
    .hero-overlay {
        aspect-ratio: var(--hero-ratio-tablet);
        min-height: 0;
    }
    .hero .eyebrow {
        font-size: 18px;
    }
    .hero-dots {
        left: max(24px, calc((100% - var(--max-width)) / 2));
        bottom: 18px;
    }
    .hero-content {
        padding-top: 40px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .hero-bottom {
        right: max(24px, calc((100% - var(--max-width)) / 2));
        bottom: 30px;
        font-size: 11px;
    }
    /* portfolio */

    .section-heading {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 35px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 22px;
    }

    .project-large {
        grid-column: 1 / -1;
    }

    .project-large .project-image {
        height: 340px;
    }

    /* dizajn i tisak */

    .print-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* usluge */

    .service {
        grid-template-columns: 55px 1fr 25px;
        gap: 20px;
    }

    .service h3 {
        font-size: 17px;
    }

    .service p {
        font-size: 14px;
    }

    /* kontakt */

    .contact-card {
        padding-left: 30px;
    }

    /* kontakt obrazac */

    .contact-dialog-inner {
        padding: 38px 36px 34px;
    }

    .contact-dialog h2 {
        font-size: 38px;
    }

    .form-row-two {
        grid-template-columns: 1fr 1fr;
    }

    /* podnožje */

    .footer-content {
        flex-wrap: nowrap;
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-content > p {
        order: 0;
        width: auto;
    }
}


/* =========================================================
   4. DESKTOP (od 980 px)
   ========================================================= */

@media (min-width: 980px) {

    .section {
        padding: 100px 0;
    }

    /* puni izbornik umjesto hamburgera */

    .menu-button {
        display: none;
    }

    .navigation {
        display: flex;
        position: static;
        padding: 0;
        background: none;
        border: 0;
        flex-direction: row;
        align-items: center;
        gap: 30px;
        font-size: 13px;
    }

    .navigation a {
        padding: 0;
        border: 0;
    }

    .navigation .nav-contact {
        border: 1px solid var(--red);
        color: #fff;
        padding: 10px 17px;
    }

    .navigation .nav-contact:hover {
        background: var(--red-strong);
        color: #fff;
    }

    /* hero: tekst preko slike, visina prati omjer slike */

    .hero {
        display: flex;
        align-items: center;
        aspect-ratio: var(--hero-ratio);
        min-height: 560px;
        max-height: 860px;
        background: #202124;
    }

    /* slike iza teksta, preko cijelog heroa */
    .hero-slides {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
    }

    /* zatamnjenje samo uz lijevi rub (gdje je tekst) + blago pri dnu */
    .hero-overlay {
        inset: 0;
        aspect-ratio: auto;
        background:
            linear-gradient(
                90deg,
                rgba(10, 11, 12, var(--hero-dark)) 0%,
                rgba(10, 11, 12, calc(var(--hero-dark) * 0.65)) 40%,
                rgba(10, 11, 12, 0) 65%
            ),
            linear-gradient(
                0deg,
                rgba(17, 18, 20, 0.30),
                transparent 40%
            );
    }

    .hero-dots {
        bottom: 22px;
    }

    .hero .eyebrow {
        font-size: clamp(0.75rem, 3vw, 1rem);       /* raste i smanjuje se s ekranom */
        letter-spacing: clamp(0.06em, 0.8vw, 0.2em); /* razmak među slovima se smanjuje na mobitelu */
        line-height: 1.4;
        white-space: normal;                         /* dopušta prelamanje u novi red */
        overflow-wrap: anywhere;
        color: white;
        text-shadow: 0 1px 2px rgba(0,0,0,1), 0 2px 8px rgba(0,0,0,.7);
}

    .hero-content {
        padding-top: 85px;
        padding-bottom: 100px;
    }

    /* mekana sjena iza teksta da ostane čitljiv i na svijetlijoj slici */
    .hero h1,
    .hero-description,
    .hero .eyebrow {
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    }

    /* uvod */

    .intro-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 75px;
    }

    /* portfolio */

    .portfolio-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .project-large {
        grid-row: span 2;
        grid-column: auto;
    }

    .project-large .project-image {
        height: 420px;
    }

    /* dokumentarac */

    .film-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 55px;
    }

    /* dizajn i tisak */

    .print-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* kontakt */

    .contact-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 70px;
    }
}


/* =========================================================
   5. VELIKI ZASLONI (od 1500 px)
   ========================================================= */

@media (min-width: 1500px) {

    :root {
        --max-width: 1280px;
    }
}


/* Poštuje postavku "smanji pokret" u sustavu */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
