/* ==========
   Base styles
   ========== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background-color: #f7f5f0; /* off-white */
  color: #222;
}

/* ==========
    Layout
   ========== */

header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

header nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  font-size: 1.5rem;
}

/* If you add nav links later */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

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

/* Sections */
section {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* About section example */
#about p {
  max-width: 700px;
}

/* ==========
   About Me 
   ========== */
.goals-list {
	margin-left: 2rem;
	padding-left: 1.2rem;
}


/* ==========
   Projects carousel
   ========== */

#projects {
  margin-top: 3rem;
}

.projects-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Outer container with arrows */
.projects-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Viewport: hides overflow */
.projects-window {
  overflow: hidden;
  width: 100%;
}

/* Track: flex row of cards */
.projects-track {
  display: flex;
  gap: 1rem;
 /* scroll-behavior: smooth;*/
  transition: transform 0.3s ease;
  will-change: transform;
}

/* Cards: 3 visible at a time on desktop */
.project-card {
  flex: 0 0 calc(33.333% - 0.67rem);
  background: #ffffff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.project-card h3 a {
  margin-bottom: 0.5rem;
  text-decoration: none !important;
  color: inherit !important;
}

.project-card h3 a:hover {
  margin-bottom: 0.5rem;
  text-decoration: underline !important;
  color: inherit !important;
}

.project-card p {
  font-size: 0.95rem;
}

/* Hover state */
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.project-link {
	text-decoration: none;
	color: inherit;
}

.project-link:hover {
	text-decoration: underline;
}

/* Arrows */
.projects-arrow {
  background: #e8e3d8;
  border: none;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.projects-arrow:hover {
  background: #ded7c8;
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.projects-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* ==========
   Responsive tweaks
   ========== */

/* Medium screens – show 2 cards at a time */
@media (max-width: 900px) {
  .project-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

/* Small screens – show 1 card at a time */
@media (max-width: 600px) {
  .projects-carousel {
    gap: 0.25rem;
  }

  .project-card {
    flex: 0 0 100%;
  }

  .projects-arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.3rem;
  }
}

/* ==========
   Footer
   ========== */

footer {
  margin-top: 3rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f2eee6;
}
