/* ===== Variables & Reset ===== */

:root {
  --bg-dark: #0f0f10;
  --bg-darker: #070708;
  --bg-gradient: linear-gradient(135deg, #0f0f10 0%, #17181c 100%);
  --primary-gold: #d4a017;
  --primary-gold-glow: rgba(212, 160, 23, 0.4);
  --primary-gold-hover: #b88b14;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1); /* (moved here from duplicate :root) */
  --gold: #d4a017;
  --bg: #0b0c0f;
  --cardR: 22px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  position: relative;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== Utilities ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-gold {
  color: var(--primary-gold);
}
.italic {
  font-style: italic;
}
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 20px;
}
.section-line {
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 0 auto;
  border-radius: 2px;
} /* ===== Work ===== */
.work-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}
.filter-btn:hover,
.filter-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 25px;
}
.work-item {
  cursor: pointer;
}
.work-item.hidden {
  display: none;
}
.work-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 12px;
  background: #1a1a1a; /* Fallback */
}
.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}
.play-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.work-item:hover .work-img {
  transform: scale(1.05);
}
.work-item:hover .work-overlay {
  opacity: 1;
}
.work-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.work-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Animated Underline */

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.title-underline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
  100% {
    left: 100%;
  }
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--primary-gold);
  color: #000;
  box-shadow: 0 4px 20px var(--primary-gold-glow);
}
.btn--primary:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-gold-glow);
}
.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.btn--block {
  width: 100%;
  text-align: center;
}

/* ===== Navbar ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(15, 15, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}
.navbar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--primary-gold);
}
.btn-nav {
  border: 1px solid var(--primary-gold);
  padding: 8px 20px;
  border-radius: 4px;
  color: var(--primary-gold) !important;
}
.btn-nav:hover {
  background: var(--primary-gold);
  color: #000 !important;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* VIDEO BACKGROUND */

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* DARK OVERLAY */

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* CONTENT */

.hero__content {
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: 4.5rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.scroll-down {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}
.scroll-text {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--primary-gold);
}

/* ===== Capabilities (New) ===== */

.badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-gold);
}
/* section */

.servicesX {
  padding: 90px 20px;
  background:
    radial-gradient(
      1200px 600px at 20% 0%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    linear-gradient(to bottom, #0b0c0f, #101218);
}
.servicesX .section-head {
  text-align: center;
  margin-bottom: 26px;
}
.servicesX .section-head h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 44px;
}
.servicesX .section-head p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

/* rail */

.servicesX-rail {
  display: flex;
  gap: 14px;
  align-items: stretch;
  height: 420px;
  max-width: 1200px;
  margin: 34px auto 0;
} /* card base (collapsed) */
.servicesX-card {
  position: relative;
  flex: 1; /* collapsed size */
  min-width: 76px; /* so it never disappears */
  border-radius: var(--cardR);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transition:
    flex 0.6s cubic-bezier(0.22, 0.8, 0.3, 1),
    transform 0.35s ease,
    border-color 0.35s ease;
} /* expanded card */
.servicesX-card.is-active {
  flex: 5; /* EXPAND BIG */
  border-color: rgba(212, 160, 23, 0.3);
  transform: translateY(-2px);
}

/* background image */

.servicesX-media {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.servicesX-card.is-active .servicesX-media {
  transform: scale(1.08);
}

/* cinematic overlay */

.servicesX-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.2) 70%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    radial-gradient(
      800px 600px at 30% 30%,
      rgba(212, 160, 23, 0.08),
      transparent 55%
    );
  opacity: 0.95;
  transition: opacity 0.4s ease;
}
.servicesX-card.is-active .servicesX-overlay {
  opacity: 1;
}

/* UI */

.servicesX-ui {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

/* collapsed view: only show title vertically-ish */

.servicesX-kicker {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.servicesX-title {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.05;
  max-width: 520px;
  transition: opacity 0.25s ease;
}

/* details hidden until active */

.servicesX-details {
  max-width: 560px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.servicesX-card.is-active .servicesX-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.servicesX-details p {
  margin: 6px 0 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 14px;
}
.servicesX-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 7px;
}
.servicesX-details li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}
.servicesX-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}
/* CTA */

.servicesX-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 11px 16px;
  margin-top: 10px;
  border-radius: 999px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(212, 160, 23, 0.45);
  background: rgba(212, 160, 23, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.servicesX-cta:hover {
  transform: translateY(-1px);
  background: rgba(212, 160, 23, 0.16);
  box-shadow: 0 14px 30px rgba(212, 160, 23, 0.18);
} /* collapsed cards: rotate title for “stacked tabs” feel */
.servicesX-card:not(.is-active) .servicesX-ui {
  justify-content: center;
  align-items: center;
  padding: 18px 10px;
}
.servicesX-card:not(.is-active) .servicesX-kicker {
  display: none;
}
.servicesX-card:not(.is-active) .servicesX-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 22px;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.servicesX-card:not(.is-active) .servicesX-details {
  display: none;
} /* hover makes it active visually (desktop) – JS will also set active */
@media (hover: hover) {
  .servicesX-card:hover {
    border-color: rgba(212, 160, 23, 0.25);
  }
}

.servicesX-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 780px) {
  .servicesX-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .servicesX-actions .servicesX-cta {
    width: 100%;
    min-width: 0;
    padding: 11px 10px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
  }
}

/* ===== Services mobile layout ===== */

@media (max-width: 768px) {
  .servicesX {
    padding: 70px 16px;
  }

  .servicesX .section-head h2 {
    font-size: 34px;
  }

  .servicesX-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    height: auto;
    max-width: 100%;
    margin-top: 28px;
  }

  .servicesX-card,
  .servicesX-card.is-active {
    flex: unset;
    min-width: 0;
    width: 100%;
    min-height: 420px;
    border-radius: 22px;
    transform: none;
  }

  .servicesX-card:not(.is-active) .servicesX-ui,
  .servicesX-card .servicesX-ui {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
  }

  .servicesX-card:not(.is-active) .servicesX-kicker,
  .servicesX-card .servicesX-kicker {
    display: block;
  }

  .servicesX-card:not(.is-active) .servicesX-title,
  .servicesX-card .servicesX-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: normal;
    opacity: 1;
  }

  .servicesX-card:not(.is-active) .servicesX-details,
  .servicesX-card .servicesX-details {
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .servicesX-card .servicesX-media,
  .servicesX-card.is-active .servicesX-media {
    transform: scale(1.04);
  }

  .servicesX-card .servicesX-overlay,
  .servicesX-card.is-active .servicesX-overlay {
    opacity: 1;
    background:
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.86) 0%,
        rgba(0, 0, 0, 0.62) 48%,
        rgba(0, 0, 0, 0.28) 100%
      ),
      radial-gradient(
        700px 500px at 30% 30%,
        rgba(212, 160, 23, 0.1),
        transparent 60%
      );
  }

  .servicesX-details p {
    font-size: 14px;
  }

  .servicesX-details li {
    font-size: 14px;
  }
}

/* ===== Portfolio ===== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-fast);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* (scoped to avoid duplicate .play-icon selector) */

.portfolio-overlay .play-icon {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
  transform: scale(0.8);
  transition: var(--transition-fast);
}
.portfolio-item:hover .portfolio-overlay .play-icon {
  transform: scale(1);
}
.portfolio-overlay h4 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.portfolio-overlay span {
  color: var(--primary-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
} /* ===== About ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.about-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
}
.about-image img {
  border-radius: 12px;
  box-shadow: 20px 20px 0 rgba(255, 255, 255, 0.05);
  filter: grayscale(20%);
  transition: var(--transition-fast);
}
.about-image:hover img {
  filter: grayscale(0);
}

/* ===== Process ===== */

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}
.timeline-line {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--glass-border) 0,
    var(--glass-border) 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: -1;
}
.step {
  text-align: center;
  background: var(--bg-dark);
  padding: 0 10px;
}
.step-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-darker);
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: 700;
  color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(212, 160, 23, 0.2);
}
.step h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Contact ===== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}
.info-item {
  margin-bottom: 15px;
  font-size: 1.05rem;
}
.map-placeholder {
  margin-top: 30px;
  height: 200px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  background-image: url(assets/map.jpg);
}
.map-pin {
  font-size: 2rem;
}
.form {
  background: var(--glass-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.349);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
  background: rgba(0, 0, 0, 0.911);
}
.form-message {
  margin-top: 15px;
  text-align: center;
  font-size: 0.9rem;
}
.form-message.success {
  color: #4ade80;
}
.form-message.error {
  color: #f87171;
}

/* ===== Footer ===== */
/* ===== Footer ===== */
.footer {
  width: 100%;
  background: #050505;
  padding: 60px 0 20px;
  border-top: 1px solid var(--glass-border);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer__brand h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.footer__social a,
.footer__mobile-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
  color: var(--text-muted);
  text-decoration: none;
}

.footer__social a:hover,
.footer__mobile-social a:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.footer__mobile {
  display: none;
}

.footer__bottom {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;

  padding: 20px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);

  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom-left {
  text-align: left;
}

.footer__bottom-center {
  text-align: center;
}

.footer__bottom-right {
  text-align: right;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer__bottom a:hover {
  color: #ffffff;
}

/* ===== Mobil footer ===== */
@media (max-width: 768px) {
  .footer {
    padding: 28px 0 18px;
  }

  .footer__content {
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer__brand,
  .footer__links,
  .footer__social--desktop {
    display: none;
  }

  .footer__mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .footer__top-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .footer__top-link:hover {
    color: #fff;
  }

  .footer__mobile-social {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .footer__mobile-social a {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 16px 0;
    text-align: center;
  }

  .footer__bottom-left,
  .footer__bottom-center,
  .footer__bottom-right {
    text-align: center;
  }

  .footer__bottom-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Tablet ===== */
@media (min-width: 769px) and (max-width: 1023px) {
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Laptop ===== */
@media (min-width: 1024px) and (max-width: 1199px) {
  .footer__content {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .footer__content {
    flex-direction: row;
    align-items: center;
  }
}
/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (min-width: 769px) and (max-width: 992px) {
  .hero__title {
    font-size: 3.5rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: var(--transition-fast);
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 70px);
    background: #0f0f10;
    flex-direction: column;
    padding: 24px 20px 32px;
    border-bottom: 1px solid var(--glass-border);
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateY(-150%);
    transition: var(--transition-fast);
  }
  .nav-links > li,
  .nav-links a,
  .dropdown,
  .dropdown-menu {
    width: 100%;
    max-width: 100%;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .hamburger {
    display: block;
  }

  .hamburger {
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: var(--transition-fast);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    flex-direction: column;
    gap: 30px;
  }
  .timeline-line {
    display: none;
  }
  .step {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 0;
  }
  .step-icon {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 16px 0;
    text-align: center;
  }

  .footer__bottom-left,
  .footer__bottom-center,
  .footer__bottom-right {
    text-align: center;
  }

  .footer__bottom-right {
    display: none;
  }
}

/* ===== Dropdown ===== */

.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  max-width: calc(100vw - 40px);
  background: rgba(15, 15, 16, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: var(--transition-fast);
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-gold);
}

/* hover open */

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    min-width: 0;
    max-width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 10px;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

/*videós bemutatás section*/

.showreel {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 12, 0.98) 0%,
    rgba(16, 16, 20, 0.98) 100%
  );
  overflow: hidden;
}

.showreel__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.section-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d4a017;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 22px;
  color: #fff;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin-bottom: 32px;
}

.text-gold {
  color: #d4a017;
}

.showreel__features {
  display: grid;
  gap: 16px;
}

.showreel__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(212, 160, 23, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  border-radius: 16px;
}

.showreel__feature span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.14);
  color: #d4a017;
  font-weight: 700;
}

.showreel__feature p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.showreel__video-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #000;
  min-height: 540px;
}

.showreel__video {
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: block;
  object-fit: cover;
}

.showreel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.55)
  );
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.showreel__overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.showreel__play {
  width: 88px;
  height: 88px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  color: #111;
  background: linear-gradient(135deg, #d4a017, #f0c35a);
  box-shadow: 0 14px 40px rgba(212, 160, 23, 0.32);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.showreel__play:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 46px rgba(212, 160, 23, 0.45);
}

.showreel__label {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

@media (max-width: 980px) {
  .showreel__grid {
    grid-template-columns: 1fr;
  }

  .showreel__video-wrap,
  .showreel__video {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .showreel {
    padding: 80px 0;
  }

  .showreel__video-wrap,
  .showreel__video {
    min-height: 260px;
  }

  .showreel__play {
    width: 72px;
    height: 72px;
    font-size: 1.6rem;
  }
}

/* ongoing projects*/

.ongoing-projects {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(circle at top, rgba(212, 160, 23, 0.08), transparent 30%),
    linear-gradient(180deg, #08090c 0%, #0d0f14 100%);
  overflow: hidden;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 14px;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4a017;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: #fff;
}

.section-lead {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.ongoing-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  background: #121212;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.48);
  border-color: rgba(212, 160, 23, 0.28);
}

.project-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.7s ease;
  z-index: -3;
}

.project-card:hover .project-card__bg {
  transform: scale(1.07);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    to top,
    rgba(5, 6, 8, 0.92) 10%,
    rgba(5, 6, 8, 0.42) 55%,
    rgba(5, 6, 8, 0.2) 100%
  );
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card__content {
  position: relative;
  width: 100%;
  color: #fff;
}

.project-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3d48a;
  background: rgba(212, 160, 23, 0.14);
  border: 1px solid rgba(212, 160, 23, 0.22);
  backdrop-filter: blur(8px);
}

.project-card__title {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #fff;
}

.project-card__text {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 95%;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d4a017;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.project-card__link::after {
  content: "→";
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card__link {
  transform: translateX(4px);
  color: #f0c35a;
}

.project-card:hover .project-card__link::after {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .ongoing-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ongoing-projects {
    padding: 90px 0;
  }

  .ongoing-projects__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-card {
    min-height: 380px;
    padding: 24px;
  }

  .project-card__title {
    font-size: 1.5rem;
  }

  .project-card__text {
    font-size: 0.96rem;
  }
}

/* =========================
   PARTNERS
========================= */

/* =========================
   PARTNERS
========================= */

.partners {
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.partners-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: nowrap;
  width: max-content;
  margin-top: 70px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.partners-grid .partner-logo,
.partner-logo {
  flex: 0 0 auto;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo img {
  height: 220px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}
/* =========================
   LAPTOP
========================= */

@media (min-width: 1024px) and (max-width: 1200px) {
  .partners-grid {
    flex-wrap: wrap;
    gap: 35px;
  }

  .partner-logo img {
    height: 170px;
  }
}

/* =========================
   TABLET
========================= */

@media (min-width: 769px) and (max-width: 1023px) {
  .partners-grid {
    flex-wrap: wrap;
    gap: 30px;
  }

  .partner-logo img {
    height: 130px;
  }
}

/* =========================
   mobileeltero
========================= */

@media (max-width: 768px) {
  .partners-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .partner-logo img {
    height: 110px;
  }
}

/* =========================
   SMALL mobileeltero
========================= */

@media (max-width: 480px) {
  .partners-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .partner-logo img {
    height: 88px;
  }
}

/* navbar styles are shared in `styles/global.css` */
