:root {
  --bg: #040308;
  --text: #f4f4f2;
  --muted: rgba(244, 244, 242, 0.65);
  --accent: #8af2d1;
  --accent-strong: #ff7ad9;
  --card: rgba(255, 255, 255, 0.05);
  --nav-height: 72px;
  font-size: 16px;
}

html {
  scroll-padding-top: var(--nav-height);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #0a0420, #010104);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
	max-width: 70%;
    margin: auto;
    display: block;
    border-radius: 1.2rem;
    filter: drop-shadow(14px 14px 20px #00000060) drop-shadow(15px 15px 18px #00000098);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(130, 82, 255, 0.6), rgba(2, 8, 12, 0.9));
  mix-blend-mode: screen;

}

.logo-container{
  box-shadow: #00000040 14px 14px 28px 19px, #00000038 0px 10px 10px, rgb(0 0 0 / 26%) 0px 30px 60px -12px inset, rgb(0 0 0 / 48%) 0px 30px 36px -18px inset;
  border-radius: 1.2rem;
  --background-color: rgb(58 41 103);
  background: radial-gradient(circle at top, rgb(122 81 229), rgb(23 0 49));
}
.DDPattern{
  background-image: url(assets/logos/dd_thin.png);
  --animation: moveBackground 50s ease-in-out infinite alternate-reverse;
  background-repeat: round;
  background-size: 100px;
  background-blend-mode: lighten;
  background-color: #0017ff00;
  width: 100%;
  position: absolute;
  height: 100%;
  opacity: 0.2;
  filter: drop-shadow(6px 6px 5px black);

  /* Other options for background-repeat include:
     - repeat-x: Repeats only horizontally
     - repeat-y: Repeats only vertically
     - no-repeat: Displays the image only once
     - round: Repeats the image as many times as possible without clipping, scaling if necessary
     - space: Repeats the image as many times as possible without clipping, distributing space evenly */
}
@keyframes moveBackground {
  0% {
    background-position-x: 0%;
    background-position-y: 0%;
  }
  50% {
    background-position-x: 50%;
    background-position-y: 50%;
  }
  100% {
    background-position-x: 0%;
    background-position-y: 100%;
  }

}



.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #030304;
  box-shadow: 0 10px 30px rgba(138, 242, 209, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
}

.primary-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  min-height: var(--nav-height);
  background: rgba(2, 2, 4, 0.85);
  backdrop-filter: blur(12px);
}

.primary-nav.nav-static {
  position: static;
  left: auto;
  right: auto;
}

.home-page .primary-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.primary-nav.is-fixed {
  position: fixed;
}

body.nav-fixed-padding {
  padding-top: calc(var(--nav-height) + 8px);
}

.brand {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.015);
}

.section-content,
.section-heading {
  max-width: 1100px;
  margin: 0 auto;
}

.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.about-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.signature {
  font-style: italic;
  color: var(--accent);
}

.gallery .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.active {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #050505;
  border-color: transparent;
}

.gallery-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.gallery-info h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.1rem;
}

.gallery-info .gallery-category {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.2rem 0 0.6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-card h3 {
  margin-top: 0;
}

.contact .section-content {
  align-items: stretch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(138, 242, 209, 0.2);
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
}

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

.form-status.is-error {
  color: #ff9ca0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .section {
    padding: 3.25rem 1.25rem;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + 2.75rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    gap: 0.6rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .page-hero .lead {
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: rgba(5, 5, 8, 0.95);
    border-radius: 1rem;
    flex-direction: column;
    padding: 1rem;
    min-width: 200px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
  }
}
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + clamp(2rem, 6vw, 3.5rem));
}

/* .hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0) contrast(1.2);
} */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(130, 82, 255, 0.6), rgba(2, 8, 12, 0.9));
  mix-blend-mode: screen;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0) contrast(1.2);
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(130, 82, 255, 0.6), rgba(2, 8, 12, 0.9));
  mix-blend-mode: screen;
}





.page-hero-video {
  opacity: 0.55;
  filter: saturate(0.5) contrast(1.2);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(130, 82, 255, 0.6), rgba(2, 8, 12, 0.9));
  mix-blend-mode: screen;
 /*  opacity: 0.15;
  filter: saturate(0) contrast(1.2); */
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(130, 82, 255, 0.6), rgba(2, 8, 12, 0.9));
  mix-blend-mode: inherit;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.page-hero > * {
  position: relative;
  z-index: 2;
  max-width: min(90vw, 760px);
  margin: 0;
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.page-hero .lead {
  max-width: 680px;
  margin: 0 auto;
}

.intro-block {
  align-items: stretch;
}

.highlight-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-card .btn {
  align-self: flex-start;
}

.process .section-content {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-step {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-card {
  cursor: pointer;
}

.collage-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 4, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.collage-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.collage-dialog {
  background: rgba(10, 10, 16, 0.95);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  width: min(100%, 900px);
  display: flex;
  flex-direction: column;
}

.collage-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.collage-images img {
  border-radius: 1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.collage-images img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

.collage-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
}

a.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Full-size image modal */
.full-size-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 4, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.full-size-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.full-size-container {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-size-image {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-full-size {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.close-full-size:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .close-full-size {
    top: -3.5rem;
    right: 0.5rem;
  }
}
