/* nana.css */

/* --- General layout --- */
.project-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Zilla Slab', serif;
}

.project-title {
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 2.8rem;
  margin-bottom: 0.2rem;
}

.project-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
  font-style: italic;
}

.project-logo {
  display: block;
  margin: 0 auto 2rem;
  max-width: 400px;
  height: auto;
}

/* --- Software pills --- */
.software-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.software-tag {
  background: #FAF7F2;
  padding: 0.5rem 1rem;
  border-radius: 9999px; /* fully rounded pill */
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid #7D5471;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.software-tag:hover {
  background: #efefef;
  transform: translateY(-2px);
}

/* --- Sections --- */
.project-section {
  margin-bottom: 3.5rem;
}

.project-section h2 {
  font-family: 'Unbounded', sans-serif;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* --- Disciplines & Responsibilities --- */
.disciplines-responsibilities {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.disciplines-responsibilities .column {
  flex: 1;
}

.disciplines-responsibilities h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* --- Branding style guide --- */
.branding-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.branding-item {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background: #fff;
}

.branding-item h4 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
}

.color-swatch {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  margin: 0 auto 0.5rem;
}

.font-sample {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Limit final designs carousel size */
.carousel-container {
  position: relative;
  max-width: 900px; /* limit width */
  margin: 0 auto;
  overflow: hidden;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeIn 0.6s ease;
}

.wireframe-group {
  text-align: center;
}

.wireframe-group h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.carousel-slide img {
  width: 48%; /* fits 2 side by side nicely */
  max-height: 525px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* --- Navigation buttons (bottom row) --- */
.button-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.brand-button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(135deg, #7D5471);
  color: white;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-family: 'Zilla Slab', serif;
}

.brand-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Icons grid inside branding */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.icon-grid img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: #b4b4b4;
  padding: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.icon-grid img:hover {
  transform: scale(1.1);
}

.illustration {
  max-width: 600px;
  width: 100%;
  display: block;
  margin: 0 auto; 
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.bw_container {
  position: relative;       
  max-width: 600px;
  width: 100%;
  margin: 50px auto;       
}

.bw_container img.bottom {
  width: 100%;
  display: block;
  height: auto;           
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); 
}

.bw_container img.top {
  position: absolute;      
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;             
  object-fit: cover;       
  transition: opacity 0.5s ease;
  z-index: 2;
  opacity: 1;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.bw_container:hover img.top {
  opacity: 0;
}

.logo-var {
  display: inline;
  max-width: 300px;
  margin-right: 15px;
  margin-bottom: 25px;
  margin-left: 135px;
}

/* --- Final Designs (cleaner carousel layout) --- */
.carousel-container-side {
  max-width: 950px;
  margin: 0 auto;
}

.carousel-slide-side {
  display: none;
}

.carousel-slide-side.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.wireframe-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.wireframe-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.wireframe-image img {
  width: 100%;
  max-width: 275px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.wireframe-image img:hover {
  transform: scale(1.02);
}

.wireframe-text {
  flex: 1;
}

.wireframe-text h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.wireframe-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}

/* --- Navigation buttons (below text) --- */
.wireframe-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.wireframe-nav .brand-button {
  width: 120px;
  height: 42px;
  background: #7D5471; /* solid purple, no gradient */
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.wireframe-nav .brand-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Responsive stacking */
@media (max-width: 850px) {
  .wireframe-content {
    flex-direction: column;
    text-align: center;
  }

  .wireframe-image img {
    max-width: 100%;
  }

  .wireframe-text {
    margin-top: 1rem;
  }

  .wireframe-nav {
    justify-content: center;
  }
}

/* --- User Persona Section (no image) --- */
.user-persona {
  margin-top: 4rem;
}

.persona-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.persona-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.persona-meta {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  font-style: italic;
}

.persona-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}

.persona-points {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.points-column {
  flex: 1;
}

.points-column h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.points-column ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

.persona-solution {
  background: #FAF7F2;
  border-left: 4px solid #7D5471;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* Responsive */
@media (max-width: 850px) {
  .persona-points {
    flex-direction: column;
  }
}
