/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f5f5;
  background: #050509;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
  position: relative;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 55%),
              radial-gradient(circle at bottom right, rgba(124, 77, 255, 0.08), transparent 55%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header.align-left {
  text-align: left;
}

.section-header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 560px;
  margin-inline: auto;
  color: #d0d0d5;
  font-size: 0.98rem;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(90deg, rgba(5,5,9,0.92), rgba(5,5,9,0.82));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 999px;
  background: #0e0e15;
  padding: 3px;
}

.logo span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-main {
  font-size: 0.95rem;
}

.logo-sub {
  font-size: 0.75rem;
  opacity: 0.75;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  opacity: 0.85;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7a18, #af002d 71%, #319197);
  border-radius: 999px;
  transition: width 0.22s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #f5f5f5;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: min(640px, 95vh);
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: #fdfdfd;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(124, 77, 255, 0.35), transparent 65%),
              linear-gradient(120deg, rgba(0,0,0,0.45), rgba(0,0,0,0.75));
  z-index: -1;
}

.hero-content {
  position: relative;
  padding: 6rem 0 4rem;
  max-width: 640px;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #f9c87d;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #f8e8ff;
}

.hero-subtitle {
  color: #e0e0e6;
  max-width: 34rem;
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #d3d3dd;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out, border-color 0.15s ease-out;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background-image: linear-gradient(120deg, #ff7a18, #af002d 60%, #319197);
  color: #050509;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
}

.btn.ghost {
  background: rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.14);
  color: #f5f5f5;
}

.btn.ghost:hover {
  background: rgba(0,0,0,0.72);
}

.btn.full-width {
  width: 100%;
}

/* === GRID === */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* === CARDS === */
.card {
  background: rgba(10,10,18,0.92);
  border-radius: 1.2rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.service-card h3,
.gear-card h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card p,
.gear-card p {
  font-size: 0.9rem;
  color: #d4d4dd;
  margin-bottom: 0.75rem;
}

.service-price {
  font-size: 0.88rem;
  color: #f5f5ff;
  margin-top: 0.25rem;
}

.service-card ul li,
.gear-card ul li {
  font-size: 0.88rem;
  color: #e1e1e8;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.service-card ul li::before,
.gear-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffb86c;
}

/* === SHOWREEL / AUDIO === */
.showreel {
  max-width: 880px;
}

.showreel-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 1.75rem;
  align-items: center;
}

.showreel-text h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.showreel-text p {
  font-size: 0.9rem;
  color: #d6d6e0;
  margin-bottom: 0.3rem;
}

.showreel-text .hint {
  font-size: 0.8rem;
  color: #b7b7c6;
}

.showreel-player audio {
  width: 100%;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease-out, filter 0.25s ease-out;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* === PRICING === */
.pricing-card-full {
  text-align: left;
}

.pricing-table-wrapper {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.price-table th {
  text-align: left;
  font-weight: 600;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #c4c4d2;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.25rem;
  align-items: start;
}

.contact-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.contact-list a {
  color: #f5f5ff;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
}

.contact-form {
  background: rgba(5,5,12,0.96);
  border-radius: 1.3rem;
  padding: 1.9rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 45px rgba(0,0,0,0.55);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field-row:nth-of-type(2) {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.field {
  margin-bottom: 0.4rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #cfcfe0;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(4,4,12,0.95);
  color: #f5f5f7;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #ffb86c;
  box-shadow: 0 0 0 1px rgba(255,184,108,0.4);
  background: rgba(8,8,18,0.98);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #b0b0c0;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.3rem 0 1.8rem;
  background: #050509;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #a3a3b3;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
}

.dot {
  opacity: 0.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showreel-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 5rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .main-nav {
    position: fixed;
    inset-inline: 0;
    top: 56px;
    background: rgba(5,5,9,0.98);
    flex-direction: column;
    padding: 0.9rem 1.5rem 1.4rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease-out, opacity 0.22s ease-out, visibility 0.22s ease-out;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 4.5rem 0 3rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem 1.3rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row:nth-of-type(2) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.8rem, 540px);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-meta span {
    width: 100%;
  }

  .showreel-inner {
    padding: 1.4rem 1.2rem;
  }

  .card {
    padding: 1.4rem 1.2rem;
  }
}

/* === UPLOAD FORM === */
.upload-card {
  margin-top: 1rem;
}

.upload-form {
  display: grid;
  gap: 1rem;
}

.upload-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .upload-row {
    grid-template-columns: 1fr;
  }
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(960px, 100% - 2rem);
  max-height: min(80vh, 100% - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #ffffff;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: -3rem;
}

.lightbox-next {
  right: -3rem;
}

@media (max-width: 720px) {
  .lightbox-inner {
    max-width: 100%;
    max-height: 80vh;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.75rem;
  }
}

.hero-subline {
  font-size: 0.75em;
  opacity: 0.9;
}

.nowrap {
  white-space: nowrap;
}


/* Hero layout tweaks v7 */
.hero-content {
  max-width: 780px;
}

.hero-subtitle {
  max-width: 42rem;
}


#hero .container {
  width: min(1200px, 100% - 2.5rem);
}
/* === FIX: Lightbox clickability === */
.gallery-item {
  position: relative;
}

.gallery-item img {
  position: relative;
  z-index: 2;
  cursor: zoom-in;
  pointer-events: auto;
}

.gallery-item::after {
  z-index: 1;
}


/* === SUBTLE PURPLE BACKGROUNDS (VARIANT A) === */
.section { background:#0D0A12 !important; }
.section-alt { background:#110E18 !important; }
#galerija.section-alt { background:#15121E !important; }
#audio.section { background:#1A1625 !important; }

/* === PRICING TABLE LINES === */
.price-table th, .price-table td {
    border-bottom: 1px solid rgba(200,150,255,0.15);
}
