/* =========================================================
   POS PROJECT PAGE
   Styles specifically for projects/pos.html
   ========================================================= */


/* Main container for the whole project page */
.project-page {
  padding: 40px 4vw 100px;
}


/* =========================================================
   PROJECT NAVIGATION
   Navigation at the top of the POS project page
   ========================================================= */

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 30px;

  border-bottom: 1px solid #aaa;
}


/* Navigation links */
.project-nav a {
  font-size: 12px;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


/* =========================================================
   PROJECT HERO
   Large introductory area of the POS page
   ========================================================= */

.project-hero {
  min-height: 75vh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 80px 0;

  border-bottom: 1px solid #aaa;
}


/* Small section labels such as 01 / PROJECT */
.project-label {
  display: block;

  font-size: 11px;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 30px;
}


/* Large Pizza Shop POS heading */
.project-title {
  width: 360px;
  background: #dadde6;
  border: 1px solid #b4bac2;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.project-intro {
  max-width: 700px;

  margin-top: 50px;

  font-size: 18px;

  line-height: 1.7;
}


/* =========================================================
   PROJECT SECTIONS
   Used for About, Features, Technology and Purpose
   ========================================================= */

.project-section {
  padding: 100px 0;

  border-bottom: 1px solid #aaa;
}


/* Section headings */
.project-section h2 {
  margin-bottom: 40px;

  font-size: clamp(2.5rem, 6vw, 6rem);

  letter-spacing: -0.05em;
}


/* Paragraphs inside each project section */
.project-section > p {
  max-width: 800px;

  font-size: 17px;

  line-height: 1.8;
}


/* =========================================================
   FEATURE GRID
   Displays POS features in cards
   ========================================================= */

.project-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;

  margin-top: 50px;
}


/* Individual feature card */
.project-card {
  width: 360px;
  background: #dfe1e4;
  border: 1px solid #0b4ca8;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(224, 211, 211, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Accent top border glow on hover */
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, #2f32b3, #601f9c);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effects */
.project-card:hover {
  transform: translateY(-4px);
  border-color: #1316bd;
  box-shadow: 0 12px 24px -4px rgba(99, 102, 241, 0.15);
}

.project-card:hover::before {
  opacity: 1;
}


/* =========================================================
   TECHNOLOGY LIST
   Displays technology names as small labels
   ========================================================= */

.tech-list {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}


/* Individual technology label */
.tech-item {
  padding: 10px 16px;

  border: 1px solid #111;

  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 1px;
}


/* =========================================================
   PROJECT FOOTER
   Copyright and back button
   ========================================================= */

.project-footer {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding-top: 70px;
}


/* Back to Projects link */
.back-button {
  display: inline-block;

  padding-bottom: 5px;

  border-bottom: 1px solid #111;
}


/* =========================================================
   MOBILE RESPONSIVE DESIGN
   Adjusts the POS project page for smaller screens
   ========================================================= */

@media (max-width: 800px) {

  /* Reduces side spacing */
  .project-page {
    padding: 25px 20px 70px;
  }


  /* Makes feature cards display one per row */
  .project-grid {
    grid-template-columns: 1fr;
  }


  /* Makes hero shorter on mobile */
  .project-hero {
    min-height: 60vh;
  }


  /* Reduces introductory text size */
  .project-intro {
    font-size: 16px;
  }


  /* Reduces section spacing */
  .project-section {
    padding: 70px 0;
  }


  /* Stacks footer items */
  .project-footer {
    flex-direction: column;

    align-items: flex-start;

    gap: 25px;
  }
}