/* ================================================
   PROJECTS PAGE STYLES – projects.css
   ================================================ */

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: heroZoom 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 35, 36, 0.7);
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  margin-top: 60px;
  animation: fadeUp 0.9s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.breadcrumb a {
  opacity: 0.8;
  transition: opacity var(--transition);
}

.breadcrumb a:hover { opacity: 1; color: var(--color-gold); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--color-gold); }

/* ---------- Filter Tabs ---------- */
.projects-filter-tabs {
  justify-content: center;
  margin-bottom: 60px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1.5px solid #eee;
  transition: all 0.3s ease;
  background: transparent;
}

.filter-tab:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.filter-tab.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* ---------- Projects Grid ---------- */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-item {
  position: relative;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-dark);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-item:hover img {
  transform: scale(1.1);
  opacity: 0.6;
}

.project-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 35, 36, 0.9) 0%, rgba(25, 35, 36, 0.2) 50%, transparent 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.project-item:hover .project-info {
  transform: translateY(0);
}

.project-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.project-info h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.project-link {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.project-item:hover .project-link {
  opacity: 1;
  transform: translateY(0);
}

.project-item.hidden {
  display: none;
}

/* ---------- Partners Section ---------- */
.section-desc-center {
  max-width: 600px;
  margin: 0 auto 50px;
  color: var(--color-text-muted);
}

.partners-logo-strip {
  margin-top: 40px;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logoLoop 30s linear infinite;
}

@keyframes logoLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.p-logo {
  flex-shrink: 0;
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(100%);
}

.p-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

.p-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- Scroll Reveal (same as core) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .project-item { height: 400px; }
  .project-info { padding: 30px; }
  .project-info h4 { font-size: 20px; }
}

@media (max-width: 768px) {
  .projects-page-grid {
    grid-template-columns: 1fr;
  }
  .filter-tabs {
    gap: 8px;
  }
}