:root {
  --accent: #d71282;
  --text: #1a1a1a;
  --bg: #ffffff;
  --radius: 40px;
  --font: "area-normal", sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "area-normal", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

nav {
  display: flex;
  justify-content: center;
  gap: 6rem;
  padding: 2rem;
  background-color: var(--bg);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  font-weight: 200;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font);
  color: var(--text);
}

button {
  background-color: var(--accent);
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.3s ease;
  color: #fff;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}



.hero {
  height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  max-width: 700px;
}

.hero p {
  max-width: 600px;
  font-size: 1.1rem;
}

section {
  padding: 5rem 10vw;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.project:hover {
  transform: scale(1.03);
}

.project img {
  width: 100%;
  height: auto;
}

.project h3 {
  margin: 1rem;
  text-align: center;
}

.project p {
  margin: 1rem 1.5rem;
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
}

.persona {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.persona img {
  border-radius: var(--radius);
  width: 200px;
  height: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.mockups img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Project Page Container */
.project-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
}

/* Hero / Preview Section */
.preview-section {
  text-align: center;
  margin-bottom: 2rem; /* reduced spacing */
}

.full-width-img {
  width: 100%;
  max-height: 350px; /* smaller hero */
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Project Introduction */
.project-introduction {
  margin-bottom: 2.5rem;
  text-align: center;
}

.project-introduction h2 {
  font-family: var(--font);
  font-size: 2rem; /* smaller heading */
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

.project-introduction p {
  font-size: 0.95rem; /* slightly smaller */
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Process Section */
.process-section h2 {
  font-family: var(--font);
  font-size: 1.6rem; /* smaller */
  color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1.5px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 0.2rem;
}

.process-section h3 {
  font-family: var(--font);
  font-size: 1.2rem; /* smaller */
  color: var(--text-color);
  margin-top: 1.5rem;
}

.process-section p {
  font-size: 0.9rem; /* smaller body text */
  color: var(--text-light);
  margin-top: 0.4rem;
}

/* Image Galleries */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* smaller grid images */
  gap: 1rem;
  margin-top: 1rem;
}

.image-gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.image-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Links / Prototype */
.process-section a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.process-section a:hover {
  text-decoration: underline;
  color: #e29dac;
}

/* Modal */
.modal-content {
  max-width: 85%;
  max-height: 70%;
}

/* Responsive */
@media (max-width: 768px) {
  .project-introduction h2 {
    font-size: 1.6rem;
  }
  .process-section h2 {
    font-size: 1.4rem;
  }
  .process-section h3 {
    font-size: 1rem;
  }
  .full-width-img {
    max-height: 250px;
  }
}