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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  background-color: gray;
  color: white;
  padding-top: 90px;
}

.header {
  background-color: black;
  color: white;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

section {
  scroll-margin-top: 100px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: rgb(212, 212, 212);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  min-height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: gray;
}

.hero-text {
  max-width: 850px;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
}

.hero p {
  font-size: 1.2rem;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgb(158, 158, 158);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.about-wrapper {
  background-color: rgb(120, 120, 120);
  padding: 4rem 2rem;
}

.about-image {
  min-height: 340px;
  background: url("images/about-bg.jpg") center/cover no-repeat;
}

.about-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2,
.page-title,
.project-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: white;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.9;
}

.projects {
  padding: 4rem 2rem;
  background-color: gray;
}

.page-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.project-section {
  min-height: 70vh;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background-color: gray;
}

.project-section:nth-of-type(even) {
  background-color: rgb(120, 120, 120);
}

.project-text {
  max-width: 650px;
}

.project-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
}

.project-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.project-media img,
.project-media video {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.no-media {
  padding: 3rem;
  border: 2px dashed white;
  border-radius: 16px;
  text-align: center;
  font-size: 1.1rem;
}

.project-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.project-link:hover {
  background-color: rgb(40, 40, 40);
  transform: translateY(-2px);
}

.footer {
  text-align: center;
  padding: 1rem;
  background-color: black;
  color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: black;
    position: absolute;
    top: 60px;
    right: 0;
    width: 230px;
    padding: 1rem;
  }

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

  .hero-title {
    font-size: 3.2rem;
  }

    .about {  
        grid-template-columns: 1fr;  margin: 0;
    }

  .about-image {
    min-height: 280px;
  }

  .about-content {
    padding: 2rem 1.5rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .project-section {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 4rem 1.5rem;
  }

  .project-text {
    max-width: 100%;
  }

  .project-text h2 {
    font-size: 2.3rem;
  }
}