/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hero Section */
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.hero-section {
  width: 100%;
  padding: 5rem 0 3rem;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  max-width: 48rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #2c5926;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-accent {
  color: #8a9b6e;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 300;
  line-height: 1.75;
  max-width: 42rem;
}

/* Filter Section */
.filter-section {
  width: 100%;
  position: sticky;
  top: 5rem;
  z-index: 40;
  background-color: rgba(246, 247, 246, 0.95);
  backdrop-filter: blur(4px);
  padding: 1rem 0;
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  margin-bottom: 3rem;
}

.filter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: auto;
}

.filter-container::-webkit-scrollbar {
  display: none;
}

.filter-buttons {
  display: flex;
  gap: 2rem;
  min-width: max-content;
}

.filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #6b7280;
  transition: color 0.3s;
}

.filter-btn:hover {
  color: #2c5926;
}

.filter-btn.active {
  color: #2c5926;
}

.filter-btn.active .filter-text {
  font-weight: 700;
}

.filter-text {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-line {
  height: 0.125rem;
  width: 0;
  background-color: #2c5926;
  border-radius: 9999px;
  transition: width 0.3s;
}

.filter-btn.active .filter-line {
  width: 100%;
}

.filter-btn:hover .filter-line {
  width: 100%;
}

/* Portfolio Section */
.portfolio-section {
  width: 100%;
  padding-bottom: 6rem;
}

.portfolio-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: 400px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.project-card.large {
  grid-row: span 2;
}

.project-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.2),
    transparent
  );
  transition: 0.5s;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.2),
    transparent
  );
  opacity: 0.6;
  transition: opacity 0.5s;
}

.project-card:hover .project-overlay {
  opacity: 0.8;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  width: 100%;
  transform: translateY(1rem);
  transition: transform 0.5s;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-category {
  display: block;
  color: #8a9b6e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.project-details {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.project-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.project-card.large .project-title {
  font-size: 1.5rem;
}

.project-card.large .project-info {
  padding: 2rem;
}

.project-location {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 300;
}

.project-icon {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 0.5rem;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.project-icon .material-symbols-outlined {
  color: white;
  font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
  width: 100%;
  background-color: white;
  border-top: 1px solid #f3f4f6;
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.cta-text {
  max-width: 42rem;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: #2c5926;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
}

.cta-button-wrapper {
  display: flex;
  flex-shrink: 0;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2c5926;
  color: white;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: rgba(44, 89, 38, 0.9);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
}

.cta-button .material-symbols-outlined {
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .hero-section {
    padding: 8rem 0 3rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .filter-buttons {
    gap: 3rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-info {
    padding: 1.5rem;
  }

  .project-card.large .project-info {
    padding: 2rem;
  }

  .cta-container {
    padding: 8rem 1.5rem;
  }

  .cta-content {
    flex-direction: row;
    align-items: center;
  }

  .cta-title {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .header-content {
    padding: 0 2rem;
  }

  .hero-container {
    padding: 0 2rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-title {
    font-size: 3.75rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    margin-top: 50px;
  }
}

/* Construction Overlay */
.construction-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.247);
  backdrop-filter: blur(3px);
  z-index: 990; /* Below header (z-index: 1000) */
  display: flex;
  justify-content: center;
  align-items: center;
}

.construction-content {
  background-color: white;
  padding: 2rem 4rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(44, 89, 38, 0.1);
  border-radius: 0.5rem;
}

.construction-content p {
  font-family: "Inter", sans-serif;
  color: #2c5926;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin: 0;
}

/* Responsive adjustments for overlay */
@media (max-width: 768px) {
  .construction-content {
    padding: 1.5rem 2rem;
    margin: 0 1.5rem;
  }

  .construction-content p {
    font-size: 1.5rem;
  }
}
