body {
  background: black;
  color: white;
  font-family: "Outfit", sans-serif;
}
:root {
  --main-color: #d9b38c;
}
.projects-page {
  padding: 3.5rem 8% 6rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--main-color);
  text-decoration: none;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  transition: 0.3s ease;
}

.back-link:hover {
  opacity: 1;
  transform: translateX(-3px);
}

.projects-header {
  margin-bottom: 4rem;
}

.projects-header .sub-title {
  margin: 0 0 1.2rem;
  line-height: 0.95;
}

.projects-header p {
  font-size: 1.8rem;
  line-height: 1.7;
  max-width: 78rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

#projects {
  padding: 0;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 0;
}

.work {
  border-radius: 1.8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 179, 140, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.work img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.work:hover img {
  transform: scale(1.06);
}

.layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2.2rem;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.work:hover .layer {
  opacity: 1;
  visibility: visible;
}
.layer h3,
.layer p,
.layer a {
  transform: translateY(20px);
  transition: transform 0.35s ease;
}

.work:hover .layer h3,
.work:hover .layer p,
.work:hover .layer a {
  transform: translateY(0);
}

.layer h3 {
  width: 100%;
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: white;
}

.layer p {
  width: 100%;
  font-size: 1.55rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.8rem;
}

.layer a {
  margin-top: auto;
  color: black;
  text-decoration: none;
  font-size: 1.8rem;
  background: var(--main-color);
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.layer a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(217, 179, 140, 0.28);
}
.view-link {
  color: var(--main-color);
  font-size: 1.5rem;
  text-decoration: none;
  margin-top: 1rem;
}

.view-link i {
  margin-left: 6px;
}

@media (max-width: 768px) {
  .projects-page {
    padding: 2.5rem 5% 5rem;
  }

  .back-link {
    margin-bottom: 1.6rem;
  }

  .projects-header {
    margin-bottom: 3rem;
  }

  .projects-header p {
    font-size: 1.6rem;
  }

  .work img {
    height: 260px;
  }

  .layer {
    padding: 1.8rem;
  }

  .layer h3 {
    font-size: 2.4rem;
  }

  .layer p {
    font-size: 1.45rem;
  }
}
.project-detail-page {
  padding: 4rem 8% 6rem;
  color: white;
}

.project-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.project-label {
  color: var(--main-color);
  font-size: 1.4rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.project-intro {
  font-size: 1.8rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 65rem;
  margin-top: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.project-tags span {
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(217, 179, 140, 0.3);
  border-radius: 999px;
  color: var(--main-color);
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
}

.project-hero-image {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(217, 179, 140, 0.16);
  border-radius: 2rem;
  padding: 2rem;
}

.project-hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  border-radius: 1.4rem;
}

.project-section {
  margin-bottom: 5rem;
}

.project-section h2 {
  font-size: 3rem;
  margin-bottom: 1.8rem;
  color: var(--main-color);
  font-family: "Cormorant Garamond", serif;
}

.project-section p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
  max-width: 100%;
}

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

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 179, 140, 0.16);
  border-radius: 1.8rem;
  padding: 2.4rem;
}

.info-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.info-card p {
  font-size: 1.55rem;
  line-height: 1.75;
  max-width: none;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  padding: 1.6rem 1.8rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(217, 179, 140, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.55rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

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

.project-gallery img {
  width: 100%;
  border-radius: 1.6rem;
  display: block;
  border: 1px solid rgba(217, 179, 140, 0.16);
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.project-gallery img {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(217, 179, 140, 0.16);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.6rem;
}

.stat-card {
  padding: 2rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(217, 179, 140, 0.18);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(217, 179, 140, 0.15);
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 0.8rem;
}

.stat-card p {
  font-size: 1.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.basair-mobile-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.basair-mobile-gallery img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: block;
  border-radius: 1.6rem;
  border: 1px solid rgba(217, 179, 140, 0.16);
  background: #111;
  object-fit: contain;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.basair-mobile-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(217, 179, 140, 0.16);
}

.basair-wide-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.basair-wide-gallery img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  border-radius: 1.6rem;
  border: 1px solid rgba(217, 179, 140, 0.16);
  background: #111;
  object-fit: contain;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.basair-wide-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(217, 179, 140, 0.16);
}

@media (max-width: 768px) {
  .basair-mobile-gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
  }

  .basair-mobile-gallery img {
    max-width: 220px;
  }
}
.app-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.app-images .image-card {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background: #111; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-images img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.4s ease;
}

.app-images .image-card:hover img {
  transform: scale(1.05);
}
.image-card {
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}