/* ==========================================
   1. GLOBAL RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #0e0e0e;
  overflow-x: hidden;
  color: #e0e0e0;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================
   2. FULL PAGE BACKGROUND VIDEO
   ========================================== */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

.main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.navbar,
.info,
.image,
.scroll-cue {
  z-index: 2;
}

/* ==========================================
   3. NAVIGATION BAR
   ========================================== */
.navbar {
  width: 86%;
  margin: 0 auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

ul {
  display: flex;
  gap: 25px;
}

ul li {
  list-style: none;
}

ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.3s ease;
}

ul li a:hover {
  background: rgba(217, 169, 78, 0.15);
  border-color: rgba(217, 169, 78, 0.5);
  color: #fff;
}

/* ==========================================
   4. HERO INFO CONTENT
   ========================================== */
.info {
  margin-left: 7%;
  margin-top: auto;
  margin-bottom: auto;
  max-width: 550px;
  padding-bottom: 60px;
}

.info h1 {
  font-size: 65px;
  color: #f5f5f5;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.info h2 {
  font-size: 36px;
  color: #e8e8e8;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-top: 100px;
}

.info h3 {
  font-size: 20px;
  color: #cfcfcf;
  line-height: 30px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.info span {
  color: #d9a94e;
}

.info a {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background: #2f2f2f;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #7a7a7a;
  border-radius: 8px;
  transition: 0.4s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.info a:hover {
  background: #d9a94e;
  color: #1a1a1a;
  border-color: #d9a94e;
  transform: translateY(-3px);
}

/* ==========================================
   5. HERO IMAGE & SCROLL CUE
   ========================================== */
.image {
  display: none;
}

.image .me {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #d9a94e;
  border-radius: 2px;
  animation: scrollCue 1.6s ease infinite;
}

@keyframes scrollCue {
  0% {
    opacity: 1;
    top: 8px;
  }
  70% {
    opacity: 0;
    top: 20px;
  }
  100% {
    opacity: 0;
    top: 8px;
  }
}

/* ==========================================
   6. CARDS & GRIDS SYSTEM
   ========================================== */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 35px;
  background: rgba(28, 28, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: 0.35s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.card span {
  color: #e0e0e0;
  font-weight: 600;
}

.card:hover,
.card:active {
  background: rgba(38, 38, 38, 0.95);
  border-color: rgba(217, 169, 78, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.projects-grid {
  align-items: stretch;
}

.project-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 260px;
  text-align: left;
}

.project-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d9a94e;
  background: rgba(217, 169, 78, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.project-card h3 {
  color: #f5f5f5;
  font-size: 18px;
  margin-bottom: 8px;
}

.project-card p {
  color: #a8a8a8;
  font-size: 14px;
  line-height: 22px;
  font-weight: normal;
}

.contact-card {
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d9a94e;
  margin-bottom: 6px;
}

.contact-value {
  color: #e0e0e0;
  font-weight: 600;
}

.members-grid {
  align-items: stretch;
}

.member-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 220px;
  min-height: 250px;
  justify-content: space-between;
}

.member-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(145deg, #d9a94e, #b8842e);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  border: 2px solid rgba(217, 169, 78, 0.5);
  flex-shrink: 0;
}

.member-card h3 {
  color: #f5f5f5;
  font-size: 17px;
  margin-bottom: 4px;
}

.member-role {
  color: #a8a8a8;
  font-size: 13px;
}

/* ==========================================
   7. PAGE SECTIONS & ANIMATIONS
   ========================================== */
.page-section {
  padding: 80px 8%;
  color: #e0e0e0;
  background: rgba(14, 14, 14, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-section h1 {
  font-size: 42px;
  color: #f5f5f5;
  margin-bottom: 15px;
}

.page-section h1 span {
  color: #d9a94e;
}

.page-section h2 {
  font-size: 24px;
  color: #e8e8e8;
  margin-bottom: 20px;
}

.page-section h2 span {
  color: #d9a94e;
}

.page-section h3 {
  font-size: 18px;
  color: #cfcfcf;
  line-height: 28px;
  font-weight: normal;
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading {
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d9a94e;
  display: inline-block;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   8. RESPONSIVE MEDIA QUERIES (MOBILE)
   ========================================== */
@media (max-width: 768px) {
  .main {
    height: auto;
    min-height: 100vh;
    padding-bottom: 50px;
  }

  .navbar {
    flex-direction: column;
  }

  ul {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
  }

  .info {
    margin-left: 0;
    text-align: center;
    max-width: 100%;
    padding: 30px 20px;
  }

  .info h1 {
    font-size: 42px;
  }

  .info h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .image {
    display: block;
    position: relative;
    width: 80%;
    height: 350px;
    margin: 20px auto;
    right: auto;
  }

  .scroll-cue {
    display: none;
  }

  .page-section {
    padding: 60px 6%;
    text-align: center;
  }

  .page-section h3 {
    margin-left: auto;
    margin-right: auto;
  }
}
