/* === GLOBAL RESETS === */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f3d4dfbb;
  color: #111;
}

h1, h2, h3 {
  font-weight: 700;
}

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

nav h1 a {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #444;
  font-size: 0.75rem;
  text-transform: uppercase;
}

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

/* === CONTAINER WRAPPER === */
.container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

section > div h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
  color: #222;
}

section > div p {
  text-align: center;
  color: #444;
  margin-bottom: 2rem;
}

/* === PROJECTS === */
.project {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.25rem;
}

.project-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #222;
}

.project-header .meta {
  font-size: 0.85rem;
  color: #888;
}

.project img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.project-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.project-info a {
  color: #dea3bd;
  font-weight: 500;
  text-decoration: underline;
  margin-right: 1rem;
}

.project-info a:hover {
  color: #c882a2;
}

/* === CAROUSELS === */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* === CAROUSEL BUTTONS === */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .project {
    padding: 1.25rem 1rem;
  }

  .project-header h2 {
    font-size: 1rem;
  }

  .project-info p {
    font-size: 0.9rem;
  }

  .carousel-btn {
    font-size: 1.2rem;
  }
}
