/* ============================================
   A CLOSER LOOK — Design System (from Template)
   ============================================ */

/* === Design Tokens === */
:root {
  --bg-color: #050505;
  --text-color: #e0e0e0;
  --accent-color: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Outfit", sans-serif;
}

/* === Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: difference;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 300;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
}

/* Mobile nav — hidden on desktop */
.mobile-nav {
  display: none;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-color);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  pointer-events: none;
  mix-blend-mode: difference;
}

h1 {
  font-size: 8vw;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.7;
  font-weight: 300;
}

/* === Content Section === */
.content-section {
  padding: 8rem 2rem;
  background: var(--bg-color);
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-block {
  margin-bottom: 6rem;
  max-width: 800px;
}

.text-block:last-child {
  margin-bottom: 0;
}

.text-block h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: -1px;
}

.text-block p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #aaa;
  font-weight: 300;
}

/* === Gallery Section === */
.gallery-section {
  padding: 0rem 2rem 8rem;
  background: var(--bg-color);
}

.gallery-section h2 {
  font-size: 3rem;
  margin-bottom: 4rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: -1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  z-index: 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
  filter: grayscale(20%);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* === Footer === */
.footer {
  padding: 6rem 2rem 2rem;
  background: #000;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #666;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.social-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
}

.social-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s;
}

.social-link:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  color: #444;
  font-size: 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #aaa;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  padding: 20px;
  z-index: 1001;
  transition: color 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #aaa;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* === Glass Card (utility) === */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-section {
    height: 75vh;
  }

  h1 {
    font-size: 12vw;
  }

  .logo {
    font-size: 0.6rem;
  }

  /* Show hamburger, hide desktop nav */
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 200;
  }

  .hamburger span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 150;
  }

  .mobile-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Responsive gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .text-block h2 {
    font-size: 2rem;
  }

  .content-section {
    padding: 4rem 1.5rem;
  }
}