/* ---------------- RESET ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #0f0f0f;
  --soft-dark: #171717;
  --light: #f7f7f5;
  --gold: #c9a45c;
  --muted: #9a9a9a;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: #111;
  line-height: 1.7;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 18px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-weight: 600;
  font-size: 20px;
}

.logo span {
  color: var(--gold);
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: .3s;
}

nav a:hover::after {
  width: 100%;
}

/* ---------------- HERO ---------------- */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.35)),
    url("assets/hero-kitchen.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 90px;
}

.hero-text {
  max-width: 650px;
  color: white;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  opacity: .9;
}

.stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  font-size: 14px;
  color: #e6e6e6;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: #111;
  text-decoration: none;
  font-weight: 500;
  border-radius: 40px;
}

/* ---------------- SECTIONS ---------------- */
.section {
  padding: 120px 80px;
}

.section.dark {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  color: white;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 60px;
  text-align: center;
}

/* ---------------- EXPERTISE ---------------- */
.expertise {
  background: #fafafa;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.expertise-card {
  position: relative;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.expertise-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expertise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.15));
}

.expertise-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  color: white;
  z-index: 2;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

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

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: white;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  font-size: 20px;
  font-family: 'Playfair Display', serif;
}

/* ---------------- FOOTER ---------------- */
footer {
  padding: 30px;
  background: #000;
  color: #aaa;
  text-align: center;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .navbar {
    padding: 16px 32px;
  }

  .hero {
    padding: 0 40px;
  }

  .hero-text h1 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero {
    padding: 0 24px;
    height: auto;
    min-height: 100vh;
  }

  .stats {
    flex-direction: column;
    gap: 12px;
  }

  .section {
    padding: 80px 24px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }
}


/* ================= TESTIMONIALS ================= */

.testimonials-section {
  padding: 100px 80px;
  background: #f7f7f7;
}

.testimonials-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
}

.testimonials-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 14px;
  color: #777;
}

/* ================= WHY KB DESIGN STUDIO ================= */

.why-section {
  padding: 120px 80px;
  background: #fafafa;
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 70px;
}

.why-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  margin-bottom: 14px;
}

.why-header p {
  font-size: 17px;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.why-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.why-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #444;
}

.why-platforms {
  text-align: center;
  font-size: 15px;
  color: #666;
}

.why-platforms span {
  margin-right: 14px;
}

.why-platforms a {
  margin: 0 10px;
  font-weight: 600;
  color: #c9a24d;
  text-decoration: none;
}

.why-platforms a:hover {
  text-decoration: underline;
}

/* ================= CONTACT SECTION ================= */

.contact-section {
  padding: 120px 24px;
  background: radial-gradient(circle at top, #1a1a1a, #000);
  color: #fff;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 17px;
  color: #bbb;
  margin-bottom: 60px;
}

.contact-card {
  background: #111;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  outline: none;
}

.contact-card textarea {
  min-height: 140px;
  resize: vertical;
  margin-bottom: 30px;
}

.primary-btn {
  width: 100%;
  padding: 16px;
  background: #c9a24d;
  color: #000;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
}

.contact-divider {
  margin: 32px 0;
  position: relative;
  text-align: center;
}

.contact-divider span {
  background: #111;
  padding: 0 14px;
  font-size: 13px;
  color: #888;
}

.contact-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #333;
  z-index: -1;
}

.whatsapp-btn {
  display: block;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid #25d366;
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-btn:hover {
  background: #25d366;
  color: #000;
}

/* ================= MOBILE FIXES ================= */

@media (max-width: 900px) {
  .testimonials-section,
  .why-section {
    padding: 80px 24px;
  }

  .testimonials-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 32px 24px;
  }
}


/* ================= PROJECT PAGE ================= */

.back-link {
  text-decoration: none;
  font-weight: 500;
  color: #4f46e5;
}

/* ---- HERO BAND (RESTORED) ---- */
.project-hero {
  margin-top: 80px; /* navbar offset */
  padding: 80px 80px;
  background: #f5f5f5; /* light grey band (original feel) */
}

.project-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 12px;
}

.project-hero p {
  max-width: 720px;
  font-size: 17px;
  color: #555;
}

/* ---- PROJECT SUMMARY (COMPACT) ---- */
.project-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 40px 80px;
  background: #ffffff;
}

.project-summary div {
  background: #f7f7f7;
  padding: 18px 20px;
  border-radius: 14px;
}

.project-summary span {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

/* ---- OVERVIEW ---- */
.project-overview {
  padding: 80px 80px;
  background: #ffffff;
}

/* ---- SECTIONS ---- */
.project-section {
  padding: 70px 80px;
}

.project-section.light {
  background: #fafafa;
}

.project-section.dark {
  background: #111;
  color: white;
}

.project-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin-bottom: 40px;
}

/* ---- IMAGE GALLERY (FIXED SIZE) ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.gallery-grid img {
  width: 100%;
  max-height: 260px;      /* 🔥 key fix */
  object-fit: contain;   /* show full drawing */
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .project-hero,
  .project-summary,
  .project-overview,
  .project-section {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .project-hero {
    padding: 60px 24px;
  }

  .project-summary,
  .project-overview,
  .project-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
