/* K STYLING — skupne barve, razmiki in pisave */
:root {
    color-scheme: light;
    --ink: #171c20;
    --paper: #f8f9fa;
    --muted: #5c626b;
    --accent: #acb0ff;
    --line: #dcdfe4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8b7dff; outline-offset: 6px; }
h1, h2, h3, p { margin-top: 0; }
h2, h3 { font-weight: 500; }
.wrap { width: min(1440px, 88%); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px; background: white; color: black; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 27px; min-height: 54px; border-radius: 100px; background: white; color: #171c20; font-weight: 600; line-height: 1.4; }
.button:hover { text-decoration: none; background: #e7e6ff; }

/* UVOD — contain ohrani celotno fotografijo; zamegljena podlaga zapolni robove. */
.hero { min-height: 900px; min-height: max(860px, 100svh); position: relative; isolation: isolate; overflow: hidden; background: #bbc9d3; color: #17212b; display: flex; flex-direction: column; }
.hero::before { content: ''; position: absolute; inset: -30px; z-index: -3; background: url('assets/bg7.jpg') center top / cover no-repeat; filter: blur(24px); opacity: .55; }
.hero-background { position: absolute; inset: 0; z-index: -2; background: url('assets/bg7.jpg') center top / contain no-repeat; animation: cinematic 5s ease-in-out forwards; transform-origin: center top; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(239,246,250,.56) 0%, rgba(239,246,250,.24) 42%, rgba(239,246,250,.02) 75%); pointer-events: none; }
@keyframes cinematic {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(.5%, 0, 0) scale(1.015); }
}
.site-header { display: flex; align-items: center; gap: 40px; padding-block: 28px; }
.brand { display: inline-flex; align-items: baseline; font-size: 42px; font-weight: 700; letter-spacing: -3px; white-space: nowrap; line-height: 1; }
.brand span { font-size: 26px; font-weight: 400; letter-spacing: -1.5px; }
.brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 5px; }
.brand:hover { text-decoration: none; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-right: auto; }
nav a { font-size: 15px; font-weight: 500; }
.header-call { white-space: nowrap; font-size: 15px; }
.hero-content { padding-block: 64px 40px; }
/* Urnik in naslov sta v isti vrstici; na telefonu se zložita drug pod drugega. */
.hero-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); align-items: center; gap: 48px; margin-bottom: 30px; }
.hero-heading h1 { margin-bottom: 0; }
.hero-heading .hours { width: min(360px, 100%); justify-self: start; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; margin-bottom: 26px; border: 1px solid #17212b50; background: #f6faff66; border-radius: 50px; padding: 8px 16px; }
h1 { font-size: clamp(64px, 6.9vw, 112px); letter-spacing: -5px; line-height: 1.03; font-weight: 400; margin-bottom: 30px; }
h1 .headline-white { color: white; }
h1 em { font-weight: 400; color: #50468d; font-style: normal; }
.salon-name { font-size: 22px; line-height: 1.5; margin-bottom: 14px; }
.salon-name span { font-size: 18px; color: #263441; }
.address { margin-bottom: 13px; }
.address span { color: #344452; font-size: 14px; }
.business-ids { font-size: 14px; color: #263441; }
.business-ids span { padding-inline: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 27px; }
.button-dark { color: white; background: #11161c; border: 1px solid #ffffff40; }
.button-dark span { font-size: 14px; font-weight: 400; color: #d1d6de; }
.button-dark:hover { color: white; background: #30313f; }
.second-phone { font-size: 16px; }
.hero-bottom { margin-top: auto; padding-block: 10px 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero-links { display: flex; align-items: center; gap: 23px; font-size: 14px; flex-wrap: wrap; }
.social-link { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #17212b70; border-radius: 50%; font-size: 24px; font-weight: bold; }
.hours { width: 360px; flex-shrink: 0; padding: 23px 28px; border: 1px solid #ffffff35; border-radius: 20px; background: #17252fe8; color: white; }
.hours h2 { font-size: 16px; margin-bottom: 12px; }
.hours dl { margin: 0; font-size: 14px; }
.hours dl div { display: flex; justify-content: space-between; gap: 20px; padding-block: 3px; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { color: #d3dbe2; }

/* OBVESTILA IN GALERIJA */
.section-label > span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; margin-bottom: 15px; color: var(--muted); }
.section-label h2 { font-size: clamp(30px, 3.5vw, 48px); letter-spacing: -1.8px; line-height: 1.15; margin-bottom: 0; }
.notices { padding-block: 72px; display: grid; grid-template-columns: 1fr 2fr; gap: 28px 70px; align-items: start; border-bottom: 1px solid var(--line); }
.notice { grid-column: 2; border-left: 3px solid #8986bd; padding-left: 30px; }
.notice-date { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin-bottom: 10px; }
.notice h3 { font-size: 23px; margin-bottom: 8px; }
.notice p:last-child { margin: 0; max-width: 760px; color: #454c55; }
.gallery-section { padding-block: 75px 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.text-link { font-size: 15px; border-bottom: 1px solid; padding-bottom: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery a { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 7px; background: #e2e4e8; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.035); }
.gallery span { position: absolute; inset: auto 0 0; padding: 36px 20px 15px; background: linear-gradient(transparent, #000b); color: white; font-size: 14px; }

/* STORITVE IN KONTAKT */
.services { background: #1a242d; color: #f8f9fb; padding-block: 75px; }
.services .section-label > span { color: #b9c0cd; }
.button-outline { border: 1px solid #ffffff60; background: transparent; color: white; font-size: 14px; }
.button-outline:hover { color: #171c20; }
.service-list { margin-bottom: 28px; }
.service-list article { display: grid; grid-template-columns: 50px 1fr 1.6fr; gap: 35px; padding-block: 30px; border-top: 1px solid #ffffff25; }
.service-number { color: #afb3d6; font-size: 14px; }
.service-list h3 { font-size: 25px; letter-spacing: -.5px; line-height: 1.35; }
.service-list p { color: #d2d8df; margin-bottom: 0; }
footer { padding-top: 75px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .6fr; gap: 45px; margin-block: 40px; }
.contact-grid h3 { font-size: 17px; font-weight: 600; }
.contact-grid a { overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* OGLED CELE FOTOGRAFIJE — Escape zapre okno. */
.lightbox { padding: 50px 18px 14px; border: 0; border-radius: 10px; background: #141a21; color: white; max-width: 94vw; max-height: 94svh; }
.lightbox::backdrop { background: #000d; }
.lightbox img { display: block; max-width: 86vw; max-height: 75svh; width: auto; height: auto; margin: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 3px; right: 10px; width: 44px; height: 44px; color: white; background: transparent; border: 0; font-size: 32px; }
.lightbox-caption { margin: 8px 0 0; text-align: center; font-size: 14px; }
body:has(.lightbox[open]) { overflow: hidden; }

/* MOBILNI PRIKAZ — meni ostane v glavi in se preuredi v vrstice. */
@media (min-width: 1800px) { .hero-content { padding-top: 95px; } }
@media (max-width: 1150px) {
    .site-header { flex-wrap: wrap; gap: 24px; }
    nav { order: 3; width: 100%; justify-content: space-between; gap: 16px; }
    .header-call { margin-left: auto; }
    .hero-content { padding-top: 38px; }
    .hero-heading { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: 24px; }
    .hero-bottom { gap: 20px; }
}
@media (max-width: 700px) {
    .wrap { width: 88%; }
    .hero { min-height: 100svh; }
    .site-header { padding-block: 23px; }
    .brand { font-size: 36px; }
    .brand span { font-size: 23px; }
    .header-call { padding: 12px 18px; gap: 10px; font-size: 14px; }
    nav { justify-content: flex-start; gap: 8px 20px; }
    nav a { font-size: 14px; padding-block: 4px; }
    .hero-content { padding-block: 35px; }
    .hero::after { background: linear-gradient(90deg, #eff6fab8, #eff6fa55); }
    .hero-background { background-position: center top; }
    .hero-heading { grid-template-columns: 1fr; gap: 25px; }
    .hero-heading .hours { width: 100%; }
    h1 { font-size: clamp(54px, 13vw, 88px); letter-spacing: -3px; }
    .eyebrow { font-size: 11px; letter-spacing: 1.4px; }
    .salon-name { font-size: 20px; }
    .business-ids span { display: block; height: 0; overflow: hidden; }
    .hero-actions { gap: 18px; }
    .hero-bottom { flex-direction: column-reverse; align-items: stretch; padding-bottom: 28px; gap: 25px; }
    .hours { width: 100%; }
    .hero-links { gap: 18px; }
    .notices { grid-template-columns: 1fr; padding-block: 45px; gap: 25px; }
    .notice { grid-column: 1; padding-left: 20px; }
    .gallery-section { padding-block: 45px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery span { padding: 30px 10px 10px; font-size: 12px; }
    .services { padding-block: 45px; }
    .service-list article { grid-template-columns: 25px 1fr; gap: 10px 15px; }
    .service-list p { grid-column: 2; }
    .service-list h3 { font-size: 23px; margin-bottom: 10px; }
    footer { padding-top: 45px; }
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 380px) { .gallery { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gallery img { transition: none; }
    .gallery a:hover img { transform: none; }
}
