* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Geist";
  color: white;
}

html,
body {
  height: 100%;
  overflow: hidden;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: #1a1919;
}

body {
  margin: 0px;
  background-color: #1a1919;
  background: radial-gradient(
    ellipse 100% 60% at 50% 0%,
    #2e1f1f 0%,
    #1a1919 60%
  );
  font-weight: 600;
}

#navbar {
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 80px;
  margin: auto;
  padding: 20px 30px;
  background: #1a1919;
  outline: none;
}

#main-content {
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding-top: 50px;
}

#logo {
  height: 60px;
  cursor: pointer;
}

.navlinks-container {
  width: 100%;
  display: flex;
  justify-content: right;
  padding: 20px;
  gap: 40px;
}

.navlinks {
  display: flex;
  align-items: center;
  height: 35px;
  font-size: 18px;
  text-decoration: none;
  position: relative;
}

.navlinks:hover {
  color: #cacaca;
  transition: 250ms all ease-in-out;
}

.navlinks::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #6f2727;
  transition: all 250ms ease-in-out;
}

.navlinks:hover::after {
  width: 100%;
  left: 0;
}

#project-container {
  display: grid;
  grid-template-columns: repeat(3, 1.5fr);
  gap: 60px;
  padding: 50px;
  max-width: 1500px;
  margin: 0 auto;
  min-height: 100vh;
}

.card-slot {
  position: relative;
  height: 250px;
}

.project-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 250px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  background: #1a1919;
  transition:
    max-height 300ms ease-in-out,
    transform 300ms ease-in-out,
    box-shadow 300ms ease-in-out;
  border: rgba(255, 255, 255, 0.08) solid 1px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(111, 39, 39, 0.3);
}

.project-card.expanded {
  max-height: 1000px;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-description {
  max-height: 0;
  overflow: hidden;
  padding: 0px 20px;
  max-height: 0;
  transition:
    max-height 300ms ease-in-out,
    padding 300ms ease-in-out;
  color: #bdbdbd;
}

.project-card.expanded .project-description {
  max-height: 500px;
  padding: 0px 20px 20px;
}

.project-title {
  padding: 10px;
  font-size: 20px;
}

.section-title {
  font-size: 36px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: normal;
  background: linear-gradient(135deg, #ffffff 30%, #c47070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #6f2727, #c47070);
  border-radius: 2px;
}

.separate {
  height: 1px;
  background: linear-gradient(90deg, transparent, #6f2727, transparent);
  width: 75%;
  margin: 20px auto 0px;
}

::-webkit-scrollbar {
  width: 19px;
}

::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 20px;
  border: 8px solid #1a1919;
}

::-webkit-scrollbar-thumb:hover {
  background: #2c2c2c;
}

#about {
  min-height: 100vh;
}

#about-content {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
  padding: 0 30px;
}

#about-tagline {
  font-size: 25px;
  background: linear-gradient(135deg, #ffffff 30%, #c47070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
}

#about-description {
  font-size: 16px;
  line-height: 1.8;
  color: #a0a0a0;
  font-weight: 400;
  margin-bottom: 50px;
}

#about-founders {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.founder-card {
  background: #1a1919;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px 50px;
}

.founder-name {
  font-size: 20px;
  margin-bottom: 5px;
}

.founder-role {
  font-size: 15px;
  color: #c47070;
  font-weight: 500;
}

#contact-label {
  font-size: 15px;
  color: #666;
  margin-bottom: 5px;
  margin-top: 80px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#contact-email {
  font-size: 15px;
  color: #c47070;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .navlinks {
    display: none;
  }

  #project-container {
    grid-template-columns: 1.5fr;
    gap: 80px;
  }

  #contact-email {
    padding-bottom: 150px;
  }
}
