/* Color Palette & Variables */
:root {
  --slate-dark: #4a4441;
  --slate-light: #e1d8d2;
  --accent-pink: #ff4d8d;
  --text-main: #2d2926;
  --white: #ffffff;
  --font-main: "Optima", "Iowan Old Style", "Seravek", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--slate-light);
  min-height: 100vh;
  scrollbar-width: none; /* For Firefox */
}
body::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Edge */
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}
.hero {
  text-align: center;
  padding: 40px 20px 10px 20px;
}
/* HERO SECTION (heading, bio) */
.hero h1 {
  font-family: var(--font-main);
  font-size: 3rem;
  color: var(--slate-dark);
}
.hero p {
  color: var(--accent-pink);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
/* LANDING SECTION -- profile links, project blocks */
.landing-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
  text-align: center;
}
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
}
.menu-list li {
  margin: 25px 25px;
}
.menu-list a {
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--slate-dark);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
}
.menu-list a:hover {
  color: var(--accent-pink);
  letter-spacing: 0.1em;
  transform: scale(1.05);
}
.social-link {
  text-decoration: none;
  color: var(--slate-dark);
  font-family: var(--font-main);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
/* Styling the link Icons */
.social-link i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
/* Hover Effect */
.social-link:hover {
  color: var(--accent-pink);
  scale: 1.05;
}
/* PROJECT BLOCKS */
.project-block {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto 20px auto;
}
.project-info h2 {
  font-family: var(--font-main);
  font-size: 2rem;
  color: var(--slate-dark);
}
.project-tools,
.project-skills {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0; /* Space above/below the list */
  display: flex;
  flex-wrap: wrap; /* Allows tags to wrap on small screens */
  gap: 10px; /* Space between tags */
}
.project-tools li,
.project-skills li {
  font-family: var(--font-main);
  font-size: 0.7rem;
  color: var(--slate-dark);
  border: 1px solid var(--slate-dark);
  padding: 4px 12px;
  border-radius: 20px; /* Makes them look like pills */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.project-tool-header,
.project-skill-header {
  font-size: 0.8rem;
  text-transform: none;
  border: none !important;
  padding-right: 15px;
}
.project-description {
  line-height: 1.6;
  font-family: var(--font-main);
  color: var(--slate-dark);
  text-align: left;
}
.project-media {
  width: 100%;
  overflow: hidden;
}
.media-item {
  flex: 0 0 85%;
  scroll-snap-align: center;
  justify-content: flex-end;
}
.media-item img {
  width: 100%;
  border-radius: 4px;
}
.media-item video {
  width: 100%;
  border-radius: 4px; /* Matches your images */
  display: block;
}
.media-scroller {
  width: 100%;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 0 7.5%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.media-scroller::-webkit-scrollbar {
  display: none;
}
.scroller-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 0px;
  width: 100%;
  height: 20px; /* Ensures space is reserved for them */
}
.dot {
  width: 6px;
  height: 6px;
  background-color: var(--slate-dark);
  opacity: 0.3;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.dot:hover {
  opacity: 0.6;
  scale: 1.6;
}
.dot.active {
  opacity: 1;
  background-color: var(--accent-pink);
  scale: 2;
}
/* DESKTOP QUERIES */
@media (min-width: 768px) {
  .project-block {
    display: grid;
    grid-template-columns: 1.5fr 3.5fr;
    padding: 40px 10%;
  }
  .project-media {
    position: sticky;
    top: 40px;
  }
  .media-scroller {
    padding: 0;
  }
  .media-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}

/* MOBILE MENU */
@media (max-width: 767px) {
  .project-info h2 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    color: var(--slate-dark);
  }
}
footer {
  padding: 60px 20px;
  text-align: center;
  background-color: transparent; /* Or var(--white) if you want it to pop */
  border-top: 1px solid rgba(74, 68, 65, 0.1); /* Subtle divider line */
  margin-top: auto; /* Pushes footer to bottom if page is short */
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
footer p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 10px;
  letter-spacing: 0.05em;
}
