/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f7dce5;
  color: #181818;
  min-height: 100vh;
}

/* === NAVIGATION === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}

nav h1 a {
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: 800;
  color: #181818;
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-size: 0.89rem;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
}

nav ul li a.current,
nav ul li a:hover {
  color: #dea3bd;
  background: #f7dce5;
}

/* === CONTAINER === */
.container {
  max-width: 900px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(180, 60, 100, 0.07), 0 2px 8px rgba(0,0,0,0.06);
  padding: 2.5rem 2rem;
}

.resume-section {
  margin-bottom: 3rem;
}

/* === HEADERS === */
.resume-heading {
  font-size: 1.4rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  color: #222;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.75rem;
  letter-spacing: 0.8px;
}

/* === ENTRIES === */
.resume-entry h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.4rem 0;
}

.meta {
  font-size: 0.88rem;
  color: #777;
}

.institution {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* === CAROUSEL === */
.carousel-wrapper {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  padding: 1.2rem 1.2rem 2rem 1.2rem;
  margin: 1.2rem auto 1.5rem auto;
  max-width: 730px;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.59,.19,.11,1.02);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  background: #e9e9e9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #B92D6E;
  z-index: 5;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  border-radius: 5px;
  padding: 0.3rem 0.8rem;
}

.carousel-btn.prev {
  left: -0.6rem;
}

.carousel-btn.next {
  right: -0.6rem;
}

.carousel-btn:hover {
  background: #f7dce5;
  color: #91215c;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container {
    margin: 2rem 1rem; /* 👈 Adds left/right breathing room for background reveal */
    padding: 1.25rem;
  }
}

  .resume-heading {
    font-size: 1.1rem;
  }

  .carousel-wrapper {
    padding: 1rem 0.5rem 2rem 0.5rem;
  }

  .carousel-slide img {
    max-height: 320px;
  }
}
