/* General styling */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
}

/* Section container */
.portfolio {
  text-align: center;
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Heading section */
.portfolio-header h2 {
  font-family: 'Playfair Display', serif;
 font-family: Playfair;
font-weight: 400;
font-style: Italic;
font-size: 78px;

line-height: 71px;
letter-spacing: -5%;
text-align: center;
text-transform: capitalize;

}

.portfolio-header h2 span {
  font-style: italic;
  color: #4D4D4D
}

.portfolio-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Filter buttons */
.portfolio-filters {
  margin-bottom: 45px;
}

.filter-btn {
  background: #f3f3f3;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  margin: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #333;
  color: #fff;
}

/* Project grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Project cards */
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay styling */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.7) 90%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  text-align: left;
  transition: background 0.3s ease;
}

.project-card:hover .overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.8) 90%);
}

/* Overlay content */
.overlay .category {
  font-size: 13px;
  text-transform: uppercase;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 5px 0;
}

.overlay p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.overlay p i {
  color: #fff;
  font-size: 13px;
}

.overlay button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  width: auto;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.overlay button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border-color: transparent;
}

/* Load more button */
.load-more button {
  background: #f3f3f3;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  margin-top: 40px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more button:hover {
  background: #333;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .portfolio-header h2 {
    font-size: 30px;
  }

  .overlay {
    padding: 18px;
  }

  .overlay h3 {
    font-size: 18px;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

.cta-section {
  text-align: center;
  padding: 0px 20px;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-section .highlight {
  color: #4D4D4D; /* warm accent color (soft brown/golden tone) */
  font-style: italic;
}

.cta-section .highlight.italic {
  color: #4D4D4D;
  font-style: italic;
}

.cta-section p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.cta-section button {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.cta-section button:hover {
  background-color: #333333;
  color: #ffffff;
  border-color: #333333;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 70px 15px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 15px;
  }
}
/* PROFESSIONAL FADE-IN ANIMATIONS - ADD TO <head> */
.fade-in-element,
[class*="card"],
.hero-content,
.story-text,
.join-content,
.promise-card,
.service-body,
.project-card,
.furniture-card,
.team-card,
.contact-info,
.contact-form {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-element.fade-in-visible,
[class*="card"].fade-in-visible,
.hero-content.fade-in-visible,
.story-text.fade-in-visible,
.join-content.fade-in-visible,
.promise-card.fade-in-visible,
.service-body.fade-in-visible,
.project-card.fade-in-visible,
.furniture-card.fade-in-visible,
.team-card.fade-in-visible,
.contact-info.fade-in-visible,
.contact-form.fade-in-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* STAGGER DELAYS FOR GRIDS (Auto-applied by JS) */
.fade-in-grid > *:nth-child(1) { transition-delay: 0.1s; }
.fade-in-grid > *:nth-child(2) { transition-delay: 0.2s; }
.fade-in-grid > *:nth-child(3) { transition-delay: 0.3s; }
.fade-in-grid > *:nth-child(4) { transition-delay: 0.4s; }
.fade-in-grid > *:nth-child(5) { transition-delay: 0.5s; }
.fade-in-grid > *:nth-child(6) { transition-delay: 0.6s; }
.fade-in-grid > *:nth-child(7) { transition-delay: 0.7s; }
.fade-in-grid > *:nth-child(8) { transition-delay: 0.8s; }
.fade-in-grid > *:nth-child(9) { transition-delay: 0.9s; }

/* ABOVE-THE-FOLD INSTANT ANIMATION */
.hero,
.portfolio-header,
.services-section h2,
.philosophy-section h2 {
  opacity: 1 !important;
  transform: none !important;
}

/* REDUCED MOTION SUPPORT (WCAG AAA) */
@media (prefers-reduced-motion: reduce) {
  .fade-in-element,
  [class*="card"],
  .hero-content,
  .story-text,
  .join-content,
  .promise-card,
  .service-body,
  .project-card,
  .furniture-card,
  .team-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}