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

:root {
    --accent: #ff3b30;
    --accent-dark: #d92a1f;
    --bg-dark: #0b0b0c;
    --bg-card: #17171a;
    --text-muted: #b8b8be;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-dark);
    color: white;
    overflow-x: hidden;
}

h2, h3, .logo {
    font-family: 'Poppins', Arial, sans-serif;
}

/* NAVIGACIJA */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 50px;
    background: rgba(11, 11, 12, 0.75);
    backdrop-filter: blur(10px);
    z-index: 200;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}

.logo-rotator {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 20px;
}

.rotator-divider {
    color: rgba(255,255,255,0.25);
    font-weight: 300;
    font-size: 16px;
}

.rotator-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 15px;
    color: var(--accent);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.rotator-cursor {
    color: var(--accent);
    font-weight: 300;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: #e8e8ea;
    text-decoration: none;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 6px;
}

.nav-links a:not(.nav-btn)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:not(.nav-btn):hover {
    color: var(--accent);
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-links a.active-link {
    color: var(--accent);
}

.nav-links a.active-link::after {
    width: 100%;
}

.nav-links a.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding-top: 11px;
    padding-bottom: 11px;
    padding-left: 28px;
    padding-right: 28px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    background: transparent;
    transition: all 0.25s ease;
}

.nav-btn::after {
    display: none !important;
}

.nav-links a.nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white !important;
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.35);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 300;
}

.burger span {
    width: 26px;
    height: 2px;
    background: white;
    transition: 0.3s ease;
}

/* HERO */
.hero {
    width: 100%;
    min-height: 100vh;
    max-width: none;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/static/dj.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: brightness(1.18) contrast(1.15) saturate(1.08);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11,11,12,0.78) 0%, rgba(11,11,12,0.5) 35%, rgba(11,11,12,0.08) 65%, rgba(11,11,12,0.3) 100%);
    z-index: 1;
}

.hero-flash {
    position: absolute;
    inset: 0;
    background: white;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    animation: heroFlash 0.6s ease-out forwards;
}

@keyframes heroFlash {
    0%   { opacity: 0; }
    10%  { opacity: 0.8; }
    100% { opacity: 0; }
}

.hero-beams {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.beam {
    position: absolute;
    top: -15%;
    width: 70px;
    height: 145%;
    filter: blur(7px);
    transform-origin: top center;
    opacity: 0;
    animation: beamSweep 1.5s ease-out forwards;
}

@keyframes beamSweep {
    0%   { opacity: 0;    transform: scaleY(0) rotate(var(--rot)); }
    30%  { opacity: 0.85; }
    65%  { opacity: 0.45; }
    100% { opacity: 0;    transform: scaleY(1) rotate(var(--rot)); }
}

.beam-1 { left: 4%;  --rot: -22deg; background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0)); animation-delay: 0.05s; }
.beam-2 { left: 20%; --rot: -10deg; background: linear-gradient(180deg, rgba(255,59,48,0.6),  rgba(255,59,48,0));   animation-delay: 0.15s; }
.beam-3 { left: 38%; --rot: -2deg;  background: linear-gradient(180deg, rgba(120,150,255,0.5), rgba(120,150,255,0)); animation-delay: 0.25s; }
.beam-4 { left: 56%; --rot: 6deg;   background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0)); animation-delay: 0.35s; }
.beam-5 { left: 74%; --rot: 14deg;  background: linear-gradient(180deg, rgba(255,59,48,0.6),  rgba(255,59,48,0));   animation-delay: 0.45s; }
.beam-6 { left: 90%; --rot: 22deg;  background: linear-gradient(180deg, rgba(120,150,255,0.5), rgba(120,150,255,0)); animation-delay: 0.55s; }

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 30vw 26vh at 56% 82%,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 42%,
        rgba(0,0,0,0.5) 100%);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    animation: vignetteIn 1.1s ease-out forwards;
    animation-delay: 0.85s;
}

@keyframes vignetteIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

.hero-spotlight {
    position: absolute;
    left: 56%;
    top: 82%;
    width: 32vw;
    height: 28vh;
    max-width: 480px;
    max-height: 260px;
    transform: translate(-50%, -50%) scale(0.7);
    background: radial-gradient(ellipse at center,
        rgba(255,255,255,0.05) 0%,
        rgba(255, 210, 150, 0.16) 55%,
        rgba(255,255,255,0) 75%);
    mix-blend-mode: screen;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    animation: spotlightIn 1.1s ease-out forwards;
    animation-delay: 0.85s;
}

@keyframes spotlightIn {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    55%  { opacity: 1; }
    100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
}

.hero .fade-in {
    transition-delay: 0.95s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 140px 6vw 100px 6vw;
    text-align: left;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 4px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.eyebrow .line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    margin-bottom: 26px;
    color: #f5f5f3;
}

.hero h1 .script {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
    margin-top: 6px;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.6;
    color: #ecebe8;
    margin-bottom: 48px;
    max-width: 520px;
    padding-left: 22px;
    border-left: 2px solid var(--accent);
    text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 17px 34px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
}

.btn-filled {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
}

.btn-filled:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(255, 59, 48, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: white;
    transform: translateY(-3px);
}

.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 6vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 3px;
    color: #ccc;
    opacity: 0.75;
}

.scroll-hint span {
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* SEKCIJE */
section:not(.hero) {
    padding: 110px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.section-heading .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin-bottom: 16px;
}

.section-lead {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* O MENI */
.about {
    max-width: 1200px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 2;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%) contrast(1.05);
    transition: filter 0.4s ease;
}

.about-image-frame:hover img {
    filter: grayscale(0%) contrast(1.05);
}

.about-image-accent {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(calc(-50% + 34px));
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border: 2px solid var(--accent);
    border-radius: 18px;
    z-index: 1;
}

.about-text {
    text-align: left;
}

.about-text .eyebrow {
    justify-content: flex-start;
}

.about-heading {
    text-align: left;
    font-size: 44px;
    margin-bottom: 22px;
}

.about-lead {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.55;
    color: #f0efec;
    margin-bottom: 28px;
}

.about-text-body {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 560px;
}

.about-text-body strong {
    color: white;
    font-weight: 600;
}

.about-signature {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.signature-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.signature-role {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

/* USLUGE */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 34px;
}

@media (max-width: 1000px) and (min-width: 901px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    position: relative;
    padding-top: 18px;
    padding-right: 18px;
}

.service-card-accent {
    display: none;
}

.service-card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    background: var(--bg-card);
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-card-inner {
    transform: translate(-4px, -4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.service-card-draw {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.service-card-draw rect {
    x: 1px;
    y: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    rx: 13px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.4s ease;
}

.service-card-draw rect.draw-active {
    stroke-dashoffset: 0;
}

.service-body {
    padding: 34px 34px 40px 34px;
}

.service-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0f0f11;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.08) brightness(0.92);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-photo img {
    filter: grayscale(0%) contrast(1.08) brightness(1);
    transform: scale(1.04);
}

.service-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(23,23,26,0.9) 100%);
    pointer-events: none;
}

.service-icon-box {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    color: #d8d8dc;
    margin-bottom: 26px;
    transition: all 0.35s ease;
}

.service-icon-box svg {
    width: 32px;
    height: 32px;
}

.service-card:hover .service-icon-box {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 59, 48, 0.08);
}

.service-card-inner h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-inner h3 {
    color: var(--accent);
}

.service-card-inner p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

/* OPREMA */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 34px;
}

@media (max-width: 1000px) and (min-width: 901px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.equipment-card {
    position: relative;
    padding-top: 18px;
    padding-right: 18px;
}

.equipment-card-accent {
    display: none;
}

.equipment-card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    background: var(--bg-card);
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.equipment-card:hover .equipment-card-inner {
    transform: translate(-4px, -4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.equipment-card-draw {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.equipment-card-draw rect {
    x: 1px;
    y: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    rx: 13px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.6s ease;
}

.equipment-card:hover .equipment-card-draw rect {
    stroke-dashoffset: 0;
}

.equipment-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0f0f11;
}

.equipment-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.08) brightness(0.92);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.equipment-card:hover .equipment-photo img {
    filter: grayscale(0%) contrast(1.08) brightness(1);
    transform: scale(1.04);
}

.equipment-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(23,23,26,0.9) 100%);
    pointer-events: none;
}

.equipment-body {
    padding: 30px 30px 34px 30px;
}

.equipment-body h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.equipment-card:hover .equipment-body h3 {
    color: var(--accent);
}

.equipment-body p {
    font-size: 14.5px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.equipment-body p strong {
    color: white;
    font-weight: 600;
}

/* GALERIJA */
.gallery {
    max-width: 1200px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 1000px) and (min-width: 651px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.media-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.35);
    cursor: pointer;
    background: #0f0f11;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.media-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%) contrast(1.05) brightness(0.85);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.media-item:hover img,
.media-item:hover video {
    filter: grayscale(0%) contrast(1.05) brightness(1);
    transform: scale(1.06);
}

.media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(11,11,12,0) 40%, rgba(11,11,12,0.55) 100%);
}

.media-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,11,12,0.55);
    border: 1.5px solid rgba(255,255,255,0.6);
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.35s ease;
    backdrop-filter: blur(3px);
}

.media-item:hover .media-icon {
    opacity: 1;
    transform: scale(1);
}

.media-icon svg {
    width: 22px;
    height: 22px;
}

.media-overlay-video .media-icon-play {
    opacity: 1;
    background: rgba(255, 59, 48, 0.85);
    border-color: rgba(255, 59, 48, 0.85);
}

.media-item:hover .media-overlay-video .media-icon-play {
    transform: scale(1.1);
    background: var(--accent);
    border-color: var(--accent);
}

.media-icon-play svg {
    margin-left: 3px;
}

/* LIGHTBOX */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    z-index: 2001;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* KONTAKT */
.contact {
    text-align: center;
}

.contact p {
    font-size: 20px;
    font-weight: 300;
    margin: 12px 0;
    color: var(--text-muted);
}

/* FOOTER */
footer {
    background: black;
    text-align: center;
    padding: 50px 30px 30px 30px;
}

.footer-logo {
    display: block;
    height: 90px;
    width: auto;
    margin: 0 auto 22px auto;
    opacity: 0.95;
}

footer p {
    font-size: 13px;
    color: #666;
}

/* WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 250;
    transition: transform 0.2s ease;
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* FADE-IN */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* MODAL - KONTAKT FORMA */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 45px 40px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: modalIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: white;
}

.modal-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 26px;
    font-weight: 300;
}

#upitForma {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#upitForma input,
#upitForma textarea {
    background: #0f0f11;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 13px 16px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', Arial, sans-serif;
    resize: none;
    outline: none;
    transition: border-color 0.2s ease;
}

#upitForma input:focus,
#upitForma textarea:focus {
    border-color: var(--accent);
}

#upitForma input::placeholder,
#upitForma textarea::placeholder {
    color: #777;
}

/* PADAJUĆI IZBORNIK - Vrsta događaja.
   Wrapper s custom strelicom (SVG kao background-image) jer
   nativna strelica <select>-a izgleda različito na svakom OS-u/
   pregledniku i ne može se pouzdano stilizirati samo sa 'color'. */
.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 11px;
    height: 7px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7'><path d='M1 1L5.5 5.5L10 1' stroke='%23ff3b30' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.select-wrap:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

#upitForma select {
    width: 100%;
    background: #0f0f11;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 13px 40px 13px 16px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', Arial, sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
    cursor: pointer;

    /* Ukloni nativnu strelicu preglednika - koristimo svoju (iznad) */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#upitForma select:focus {
    border-color: var(--accent);
}

/* Boja teksta za "placeholder" opciju (disabled, hidden nakon
   odabira) treba biti ista siva kao i ostali placeholderi. */
#upitForma select:invalid,
#upitForma select option[value=""] {
    color: #777;
}

#upitForma select option {
    background: #17171a;
    color: white;
}

#upitForma button {
    margin-top: 6px;
    width: 100%;
    text-align: center;
}

#upitForma button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.form-status.success {
    color: #4caf50;
}

.form-status.error {
    color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .logo-rotator {
        display: none;
    }

    .logo-icon {
        height: 38px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: rgba(11,11,12,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        transition: right 0.35s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .burger {
        display: flex;
    }

    .hero-content {
        padding: 120px 6vw 80px 6vw;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .subtitle {
        font-size: 18px;
        padding-left: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    h2 {
        font-size: 32px;
    }

    section:not(.hero) {
        padding: 80px 20px;
    }

    .modal-box {
        padding: 35px 25px;
    }

    .section-lead {
        font-size: 17px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        max-width: 420px;
        margin: 0 auto;
    }

    .service-card {
        padding-top: 10px;
        padding-right: 10px;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        max-width: 420px;
        margin: 0 auto;
    }

    .equipment-card {
        padding-top: 10px;
        padding-right: 10px;
    }

    .equipment-body {
        padding: 26px 24px 30px 24px;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 420px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-accent {
        transform: translateX(calc(-50% + 18px));
        top: 16px;
    }

    .about-text,
    .about-text .eyebrow,
    .about-heading {
        text-align: center;
    }

    .about-text .eyebrow {
        justify-content: center;
    }

    .about-lead,
    .about-text-body {
        max-width: 100%;
    }

    .about-signature {
        align-items: center;
    }

    .footer-logo {
        height: 70px;
    }

    .hero-vignette {
        background: radial-gradient(ellipse 60vw 22vh at 50% 78%,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0) 42%,
            rgba(0,0,0,0.5) 100%);
    }

    .hero-spotlight {
        left: 50%;
        top: 78%;
        width: 70vw;
        height: 22vh;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .rotator-text {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-flash,
    .beam,
    .hero-vignette,
    .hero-spotlight {
        animation: none !important;
    }
    .hero-vignette,
    .hero-spotlight {
        opacity: 1;
    }
    .hero-flash {
        opacity: 0;
    }
    .hero .fade-in {
        transition-delay: 0s;
    }
}
