* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #050505;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  cursor: url('assets/vinyl.png') 24 24, auto;
}


/* TYPOGRAPHY */
.title {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

iframe {
  display: block;
}

.hero-video {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  top: -150px;  /* 👈 adjust this value */

  border: none;
  pointer-events: none;
}

.hero-title {
  background: #000;
  text-align: center;
  padding: 20px 20px 20px;
  position: relative;
  margin-top: -310px;  /* same value */
  z-index: 5;
}

.hero-title::before {
  content: "";
  position: absolute;
  top: -120px;   /* controls fade height */
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,1)
  );

  pointer-events: none;
}

.hero-title h1 {
  font-size: 4rem;
  margin: 0;
}

.hero-title p {
  opacity: 0.7;
  margin-top: 10px;
}


/* SPLIT */
.split {
  padding: 120px clamp(20px, 5vw, 80px);
}

.reverse {
  direction: rtl;
}

.reverse .text {
  direction: ltr;
}

.media img, .media video {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 20px;
}

.grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* CENTER */
.center {
  padding: 120px clamp(20px, 5vw, 80px);
}

/* BUTTON */
.btn {
  border: 1px solid white;
  padding: 15px 30px;
  text-decoration: none;
  color: white;
}

/* NAV */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 40px;
  z-index: 9999;
  top: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;   /* ✅ allows wrapping instead of overflow */
  justify-content: flex-end;
  max-width: 60%;    /* ✅ prevents it taking full width */
}

.link-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
  padding: 12px 20px;
  border: 1px solid white;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.link-buttons a:hover {
  background: white;
  color: black;
}

.link-buttons i {
  font-size: 1.2rem;
}

a, button {
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* BUTTON STYLE */
.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;

  text-decoration: none;
  color: white;
  font-size: 0.85rem;

  transition: 0.3s;
}

/* HOVER */
.nav-links a:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}

/* ICON SIZE */
.nav-links i {
  font-size: 1rem;
}

/* DISABLED (Facebook) */
.nav-links .disabled {
  opacity: 0.3;
  pointer-events: none;
}


.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* only bottom portion */

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0)
  );

  z-index: 1;
  pointer-events: none;
}

.hero-text {
  z-index: 2;
}

.hero-card {
  z-index: 3;
}

#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.performance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: right;
}

.split {
  padding: 140px clamp(20px, 5vw, 80px);
}

iframe {
  display: block;
  width: 100%;
  height: 400px;
}

#media .title {
  margin-bottom: 40px;
}