/* Фотогалерия – тъмен, фокус върху снимките */
:root {
    --bg: #0c0e12;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #f59e0b;
    --border: rgba(255,255,255,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "Segoe UI", system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 6vw; border-bottom: 1px solid var(--border); }
.brand { font-weight: 800; font-size: 1.25em; }
.brand span { color: var(--accent); }
.nav nav { display: flex; gap: 24px; align-items: center; font-size: .92em; }
.nav nav a:not(.btn) { color: var(--muted); transition: .2s; }
.nav nav a:not(.btn):hover { color: #fff; }
.btn { padding: 9px 18px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .9em; transition: .2s; }
.btn:hover { border-color: var(--accent); color: var(--accent); }

.hero { text-align: center; padding: 70px 20px 50px; }
.kicker { text-transform: uppercase; letter-spacing: .25em; font-size: .72em; color: var(--accent); font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 12px 0 14px; letter-spacing: -.02em; }
.hero p { color: var(--muted); max-width: 460px; margin: 0 auto; }

.gallery { max-width: 1080px; margin: 0 auto; padding: 20px 4vw 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.item { cursor: pointer; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.03); border: 1px solid var(--border); transition: .25s; }
.item:hover { transform: translateY(-4px); border-color: rgba(245,158,11,.5); }
.tile { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 4em; }
.t1 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.t2 { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.t3 { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.t4 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.t5 { background: linear-gradient(135deg, #059669, #10b981); }
.t6 { background: linear-gradient(135deg, #1e1b4b, #4c1d95); }
.item figcaption { padding: 10px 14px; font-size: .85em; color: var(--muted); }

.about, .contact { max-width: 720px; margin: 0 auto; padding: 50px 6vw; text-align: center; }
.about h2, .contact h2 { font-size: 1.5em; margin-bottom: 12px; }
.about p { color: var(--muted); }
.contact .btn { display: inline-block; margin-top: 8px; }

footer { text-align: center; padding: 26px; color: var(--muted); font-size: .88em; border-top: 1px solid var(--border); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.lb-body { text-align: center; max-width: 90vw; }
.lb-image { font-size: clamp(4rem, 20vw, 10rem); margin-bottom: 12px; }
.lb-caption { color: var(--muted); }
.close, .prev, .next {
    position: fixed; z-index: 51; border: none; background: rgba(255,255,255,.08);
    color: #fff; font-size: 1.4em; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; transition: .2s;
}
.close:hover, .prev:hover, .next:hover { background: var(--accent); color: #000; }
.close { top: 20px; right: 20px; }
.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
    .nav { flex-direction: column; gap: 10px; padding: 14px 16px; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
