/* === COLOR PALETTE === */
:root {
  --peach: #f08080;
  --light-peach: #f4978e;
  --rose: #f8ad9d;
  --blush: #fbc4ab;
  --cream: #ffdab9;
  --text-dark: #2e2e2e;
  --bg-light: #fff8f6;
}

/* === GLOBAL RESETS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--bg-light);
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  /* padding-left: 80px; room for floating nav */
}

/* === HERO CODING DECORATION === */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(to right, var(--peach), var(--cream));
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 8rem;
  letter-spacing: 1rem;
  color: #fffaf0;
  opacity: 0.5;
  z-index: 0;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-bg-text {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 6rem;
  font-weight: bold;
  color: #3a3a3a;
  opacity: 0.08;
  line-height: 1.1;
  padding-left: 10px;
  padding-top: 20px;
  text-align: left;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

.contact-info {
  position: absolute;
  bottom: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--text-dark);
}

/* menu */
.button-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  background-color: var(--light-peach);
  color: white;
  margin: 0 0.5rem;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.main-nav a:hover {
  background-color: var(--rose);
  transform: translateY(-2px);
}

/* === INTRO SECTION === */
.intro {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--cream);
}

.intro h2 {
  font-size: 2.5rem;
  color: var(--peach);
}

.intro p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* === SKILLS === */
.skills {
  padding: 3rem 2rem;
  background-color: var(--blush);
  text-align: center;
}

.skill-columns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.skill-card {
  background-color: var(--cream);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 250px;
}

.skill-title {
  color: var(--dark-peach); /* or any strong peach tone */
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
}

.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  background-color: var(--light-peach);
  margin: 0.4rem 0;
  padding: 0.5rem;
  border-radius: 8px;
}

/* === PROJECT SECTIONS === */
.projects-section {
  padding: 4rem 2rem;
  background-color: var(--peach);
  color: var(--text-dark);
}

.projects-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.project-card {
  background-color: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.project-card h3 {
  margin-top: 0;
  font-size: 1.75rem;
}

.project-card ul {
  list-style: none;
  padding-left: 0;
}

.project-card ul li::before {
  content: "• ";
  color: var(--peach);
  font-weight: bold;
  margin-right: 0.5rem;
}

.project-card a {
  color: var(--text-dark);
  text-decoration: underline;
}

.project-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.project-text {
  flex: 2;
  min-width: 280px;
}

.project-images-horizontal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.project-images-horizontal figure {
  width: 45%;
  text-align: center;
}

.project-images-horizontal img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-images-horizontal figcaption {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

.status.upcoming {
  font-size: 1rem;
  font-weight: normal;
  color: #888;
}


/* Floating menu container fixed on left center */
.floating-menu {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100px;
  height: 200px;
  background: #f08080;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: width 0.3s ease;
  overflow: visible;
}

/* Main toggle button style */
.menu-toggle {
  width: 80px;
  height: 160px;
  border-radius: 0 80px 80px 0;
  background-color: #f08080;
  color: white;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: default;
  transition: background-color 0.3s ease;
}

/* Scale up the main button on open */
.floating-menu.open #menu-toggle {
  transform: scale(1.2);
}

/* Container for the flying circles */
.circle-menu {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* The small circle items initially hidden, stacked on main button */
.circle-item {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f4978e;
  color: white;
  font-size: 26px;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Reveal on hover */
/* Fly out on hover — adjust arc by translating */
.floating-menu:hover {
  transform: translateY(-50%) scale(1.1);
}

.floating-menu.hover-active .circle-menu a:nth-child(1) {
  transform: translate(30px, -160px) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.floating-menu.hover-active .circle-menu a:nth-child(2) {
  transform: translate(100px, -90px) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.floating-menu.hover-active .circle-menu a:nth-child(3) {
  transform: translate(100px, 0px) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.floating-menu.hover-active .circle-menu a:nth-child(4) {
  transform: translate(30px, 85px) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Initially, small circles are stacked on the toggle button */
.circle-item {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f4978e;
  color: white;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Optional hover effect on small circles */
.circle-item:hover {
  background-color: #fbc4ab;
  transform: scale(1.1);
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 4rem;
    letter-spacing: 0.5rem;
  }

  .floating-menu {
    top: auto;
    bottom: 0;
    flex-direction: row;
    height: 60px;
    width: 100%;
    border-radius: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    justify-content: center;
  }

  .floating-menu a {
    padding: 0 1rem;
    opacity: 1;
  }

  .floating-menu:hover {
    width: 100%;
  }
}


/* Footer */
footer {
  background-color: var(--peach);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
  color: var(--text-dark);
}

/* Footer link style */
footer a p {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* blog page */
.blog-page {
  background-color: var(--peach);
  color: white;
}

.blog-page .projects-section {
  background-color: transparent;
}

.blog-page .project-card {
  background-color: var(--cream);
  color: var(--text-dark);
}
