/* Reset & Base - Mobile First Approach */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
}

body {
  height: 100%;
  background: #efebe8;
  font-family: "Anton", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1.5;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  position: relative;
  padding: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: transparent;
  color: #333;
}

/* Hamburger Icon */
.menu-toggle {
  width: 30px;
  height: 24px;
  cursor: pointer;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle .bar {
  height: 4px;
  background: #111;
  transition: all 0.4s ease;
}

/* Fullscreen Menu */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #efebe8;
  color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
  z-index: 1000;
}

.fullscreen-menu.active {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: clamp(2rem, 8vw, 3rem);
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
}

.close-btn:hover {
  color: #d60707;
}

.fullscreen-menu ul {
  list-style: none;
  text-align: center;
  width: 100%;
}

.fullscreen-menu li {
  margin: 1.5rem 0;
}

.fullscreen-menu a {
  color: #111;
  text-decoration: none;
  font-size: clamp(2rem, 8vw, 3rem);
  transition: color 0.3s;
  display: inline-block;
  padding: 0.5rem 1rem;
}

.fullscreen-menu a:hover {
  color: #d60707;
}

/* Projects Dropdown Menu */
.dropdown-menu {
  display: none;
  transition: all 0.5s ease-in-out;
  padding-top: 1rem;
}

.dropdown-menu ul {
  list-style: none;
}

.dropdown-menu li {
  margin: 1rem 0;
}

.dropdown-menu a {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
}

#project_menu_item {
  position: relative;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 100;
  cursor: pointer;
}

/* Landing Page */
#landing_page {
  display: none; /* Hidden by default for mobile */
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#main h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 300;
  letter-spacing: -1px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: -2rem 2rem;
  color: #0c0c0c;
  text-align: center;
}

/* Footer */
#footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

#footer p {
  font-size: clamp(1rem, 4vw, 1.5rem);
}

/* Project Pages General Styles */
#project_main {
  display: flex;
  flex-direction: column;
  margin-top: 18vh;
}

#project_main h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  margin: 2rem 0;
  color: #111;
}

/* Visual Art Project */
.visual_art_bio {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.visual_art_bio p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 100;
  color: #111;
  line-height: 1.6;
}

#visual_art_project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 3rem 1rem;
}

.art_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

#visual_art_project .art_card img {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 7/10;
  object-fit: cover;
}

#visual_art_project .art_card p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 300;
  text-align: center;
  width: 90%;
  color: #111;
}

/* Brave New World Project */
.brave_new_world_bio,
.brave_new_world_bio_continued {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.brave_new_world_bio p,
.brave_new_world_bio_continued p {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #111;
  line-height: 1.6;
}

.brave_new_world_bio p span {
  font-weight: 700;
}

.video_section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem;
}

.video_clip {
  width: 100%;
}

/* Exile Project */
.exile_bio {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.exile_bio p {
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  letter-spacing: 0.4px;
  font-weight: 100;
  color: #111;
  line-height: 1.6;
}

.exile_short_film_player {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.exile_short_film_player p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  text-align: center;
}

.exile_short_film_player p span {
  font-size: clamp(1.5rem, 6vw, 2rem);
}

/* About Page */
#about_main {
  display: flex;
  flex-direction: column;
}

#about_main h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  margin: 2rem 0;
  color: #111;
}

.about_bio {
  display: flex;
  padding: 2rem;
}

.about_bio p {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: #111;
  line-height: 1.6;
}


/* ============================================ */
/* Tablet Styles (768px and up) */
/* ============================================ */
@media (min-width: 768px) {
  #tablet_landing_page {
    display: flex;
    margin-top: -12rem;
  }
  
  #mobile_landing_page,
  #landing_page {
    display: none;
  }

  #main h1 {
    margin-top: -18rem;
  }

  #visual_art_project {
    grid-template-columns: repeat(2, 1fr);
    margin: 3rem 2rem;
    gap: 4rem;
  }

  .video_section {
    grid-template-columns: repeat(2, 1fr);
  }

  .exile_short_film_player {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }

  .exile_short_film_player video {
    max-width: 50%;
  }
}

/* ============================================ */
/* Desktop Styles (992px and up) */
/* ============================================ */
@media (min-width: 992px) {
  #mobile_landing_page,
  #tablet_landing_page {
    display: none;
  }

  #landing_page {
    display: flex;
    margin-top: -4rem;
  }

  #main h1 {
    margin-top: -16rem;
    margin-right: 5rem;
  }

  #visual_art_project {
    grid-template-columns: repeat(3, 1fr);
    margin: 5rem 4rem;
    gap: 5rem;
  }

  .video_section {
    grid-template-columns: repeat(3, 1fr);
    margin: 0 6rem;
  }

  .visual_art_bio,
  .brave_new_world_bio,
  .brave_new_world_bio_continued,
  .exile_bio,
  .about_bio {
    padding: 4rem;
  }
}

/* ============================================ */
/* Large Desktop Styles (1200px and up) */
/* ============================================ */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
    margin: 0 auto;
  }
}

/* ============================================ */
/* Mobile Specific Adjustments (under 768px) */
/* ============================================ */
@media (max-width: 767px) {
  #landing_page,
  #tablet_landing_page {
    display: none;
  }

  #main {
    margin-top: -5rem;
  }
  #mobile_landing_page {
    display: flex;
    height: 100vh;
  }

  .menu-toggle {
    margin-left: 1.5rem;
    margin-top: 1.5rem;
  }

  .close-btn {
    margin-left: 1.5rem;
    margin-top: 1.5rem;
  }

  .fullscreen-menu li {
    margin: 1rem 0;
  }

  .dropdown-menu li {
    margin: 0.8rem 0;
  }

  #main h1 {
    margin-top: -8rem;
    margin-right: 0.5rem;
  }

  #project_main h1 {
    margin: 2rem 0;
  }

  #about_main h1 {
    margin: 2rem 0;
  }
}