/* ───────── RESET ───────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ───────── BASE ───────── */
body {
  font-family: 'Inter', sans-serif;
  background: #0d1117;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: #f5c542;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ───────── NAVBAR ───────── */
nav.navbar {
  background: #1a1f26;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFD700;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links li a {
  color: #FFD700;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links li a:hover {
  color: #FFA500;
}

/* ───────── FOOTER ───────── */
.site-footer {
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: auto;
  background: transparent;
}

/* ───────── HERO ───────── */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}
.hero-overlay h1 {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 1rem;
}
.hero-overlay p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.cta-button:hover {
  background: #e5be00;
}

/* ───────── MAIN ───────── */
main {
  max-width: 1000px;
  margin: auto;
  padding: 60px 40px;
  flex: 1;
}
section {
  margin-bottom: 3rem;
}
h2 {
  font-size: 2rem;
  color: #FFD700;
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}
ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* ───────── ABOUT GRID ───────── */
.about {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.about-text {
  flex: 1 1 300px;
}
.about-photos {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 0 0 380px;
}
.about-img {
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  background: #0b0b0c;
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
}
.about-img img {
  width: 100%;
  display: block;
}

/* ───────── CONTACT PAGE ───────── */
.contact-page {
  background: url('contact-bg.jpg') center center / cover no-repeat fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}
.contact-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  min-height: calc(100vh - 100px); /* Ensure full height minus navbar */
}
.contact-box {
  background: rgba(0, 0, 0, 0.75);
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  margin: 0 auto; /* horizontal centering fallback */
}
.contact-box h2 {
  margin-bottom: 24px;
  font-size: 28px;
}
.contact-box input,
.contact-box textarea {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  width: 100%;
}
.contact-box textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-box button {
  padding: 12px;
  border: none;
  background-color: #FFD700;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}
.contact-box button:hover {
  background-color: #e6c200;
}
.contact-box a {
  display: block;
  margin-top: 16px;
  text-align: center;
  color: #FFD700;
  font-size: 0.9rem;
}
.contact-box input::placeholder,
.contact-box textarea::placeholder {
  color: #cccccc;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    font-size: 28px;
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 9999;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 75px;
    right: 20px;
    background: #1a1f26;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-overlay {
    padding: 24px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .about-photos {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-img {
    max-width: 45%;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}

/* ───────── FUND SECTION VIDEO ───────── */
.fund-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.fund-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fund-overlay {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.45);
  padding: 35px 50px;
  border-radius: 14px;
  text-align: center;
  color: white;
}

.fund-overlay h2 {
  font-size: 2.2rem;
  color: #FFD700;
  margin-bottom: 1rem;
}

.fund-overlay p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ───────── PORTFOLIO PAGE FIXES ───────── */
body.portfolio-page {
  background: url('portfoliobackground.jpg') no-repeat center 50px fixed;
  background-size: cover;
  background-color: #000;
  margin: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.portfolio-page .overlay {
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 140px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-content {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
  max-width: 850px;
  margin: 40px auto 0 auto; /* <-- lowered from 120px to 40px */
  padding: 30px 40px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: block;
  position: relative;
}

.portfolio-content h2 {
  text-align: center;
}

.founder-section {
  max-width: 800px;
  margin: 100px auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 20px;
  color: white;
  text-align: center;
}

.founder-photo {
  width: 200px;
  border-radius: 12px;
  display: block;
  margin: 20px auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.homepage-intro {
  background: #0d1117;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.homepage-intro .cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #fdd835;
  color: #0d1117;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* MOBILE IMAGE FIXES */
@media (max-width: 768px) {
  .about-img img,
  .hero-section video,
  .about-photos img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .about-photos {
    flex-direction: column;
    align-items: center;
  }

  .about-img {
    width: 100%;
    max-width: 90%;
    margin-bottom: 20px;
  }
}
