/* =============================================
   INTERIOR WOOD TIMELESS — Main Stylesheet
   ============================================= */

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

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:       #0d0805;
  --dark-2:     #1c0f08;
  --brown:      #5a2d0c;
  --gold:       #c9a454;
  --gold-light: #e2c27d;
  --cream:      #f5ebd8;
  --cream-2:    #fdf8f2;
  --white:      #ffffff;
  --gray:       #6b7280;
  --gray-light: #e5e7eb;
  --text:       #1a1008;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:     0 8px 32px rgba(13,8,5,0.12);
  --shadow-lg:  0 20px 60px rgba(13,8,5,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
}

.section-subtitle.light { color: rgba(255,255,255,0.72); }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5.5rem 0; }
.section-dark { background: var(--dark-2); }
.section-cream { background: var(--cream-2); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,164,84,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(13,8,5,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 100%;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  transition: var(--transition);
}

.nav-logo:hover { opacity: 0.9; }

.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-logo-main {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  display: block;
}

.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.8rem !important;
  padding: 0.55rem 1.4rem !important;
  background: var(--gold) !important;
  color: var(--dark) !important;
  border-radius: 3px;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--dark) !important;
}

.nav-cta::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 9px 11px;
  background: rgba(201,164,84,0.12);
  border: 1.5px solid rgba(201,164,84,0.4);
  border-radius: 8px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(201,164,84,0.25);
  border-color: var(--gold);
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform-origin: center;
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================================================
   HERO SECTION
   ==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,8,5,0.85) 0%,
    rgba(28,15,8,0.7) 50%,
    rgba(90,45,12,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,164,84,0.4);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  background: rgba(201,164,84,0.08);
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero h1 span { color: var(--gold); font-style: italic; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Stats bar */
.stats-bar {
  background: var(--dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201,164,84,0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(201,164,84,0.2);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
}

/* ====================================================
   INTRO / ABOUT SNIPPET
   ==================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-images {
  position: relative;
  height: 500px;
}

.intro-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 80%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.intro-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.experience-badge {
  position: absolute;
  top: 55%;
  left: 55%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--dark);
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  box-shadow: 0 8px 24px rgba(201,164,84,0.45);
  z-index: 2;
  text-align: center;
}

.experience-badge strong { font-size: 1.8rem; line-height: 1; font-weight: 800; }
.experience-badge span  { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; }

.intro-text { display: flex; flex-direction: column; gap: 1.25rem; }

.check-list { display: flex; flex-direction: column; gap: 0.65rem; margin: 0.5rem 0; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ====================================================
   SERVICES SECTION
   ==================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { width: 100%; }

.service-icon {
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ====================================================
   PROJECTS SECTION (Home Preview)
   ==================================================== */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

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

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

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img { transform: scale(1.08); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,8,5,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

.project-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ====================================================
   PROJECT PREVIEW (Home — single image teaser)
   ==================================================== */
.project-preview-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.project-preview-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-preview-img:hover img { transform: scale(1.05); }

.project-preview-text { display: flex; flex-direction: column; align-items: flex-start; }

.btn-view-all {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s, letter-spacing 0.25s;
  line-height: 1.2;
}

.btn-view-all:hover {
  color: var(--dark);
  border-color: var(--dark);
  letter-spacing: 0.04em;
}

/* ====================================================
   NEW GALLERY — Latest Projects (Portfolio page)
   ==================================================== */
.ng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ng-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

.ng-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ng-img:hover img { transform: scale(1.07); }

/* ====================================================
   WHY US / FEATURES
   ==================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

.why-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: var(--shadow);
}

.why-image-badge strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.why-image-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.features-list { display: flex; flex-direction: column; gap: 1.75rem; }

.feature-item { display: flex; gap: 1.25rem; align-items: flex-start; }

.feature-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(201,164,84,0.25);
  line-height: 1;
  min-width: 52px;
  text-align: right;
}

.feature-content h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.feature-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ====================================================
   PAGE HERO (inner pages)
   ==================================================== */
.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,8,5,0.92) 0%, rgba(28,15,8,0.78) 100%);
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.breadcrumb a { color: var(--gold); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-story-img { position: relative; }
.about-story-img img { width: 100%; height: 480px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 6px;
  background: var(--cream-2);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.value-card p { font-size: 0.88rem; color: var(--gray); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }

.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--dark-2), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.7rem;
  color: var(--gold);
  text-align:center;
}

.team-info { padding: 1.5rem; }

.team-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.team-info span {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ====================================================
   SERVICES PAGE
   ==================================================== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--gray-light);
}

.service-detail-grid:last-child { border-bottom: none; margin-bottom: 0; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-img {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-detail-img:hover img { transform: scale(1.05); }

.service-detail-content { display: flex; flex-direction: column; gap: 1rem; }

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,164,84,0.1);
  border: 1px solid rgba(201,164,84,0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  align-self: flex-start;
}

.service-detail-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.service-item-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brown);
  background: rgba(90,45,12,0.08);
  border: 1px solid rgba(90,45,12,0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ====================================================
   PORTFOLIO PAGE
   ==================================================== */
.client-portfolio-section {
  margin-bottom: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-light);
}

.client-portfolio-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.client-portfolio-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--gold);
}

.client-portfolio-header h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.client-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,164,84,0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  border: 1px solid rgba(201,164,84,0.2);
}

.client-images-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.client-img-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.client-img-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.client-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.client-img-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover { background: var(--gold); color: var(--dark); }

/* ====================================================
   CLIENTS PAGE — NEW DESIGN
   ==================================================== */
.new-clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.clients-section {
  background: var(--white);
  border-radius: 10px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-left: 5px solid var(--gold);
  transition: var(--transition);
}

.clients-section:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.clients-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-light);
}

.clients-icon {
  font-size: 2rem;
  display: block;
  min-width: 40px;
}

.clients-section-header h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.2;
}

.clients-simple-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.clients-simple-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(201,164,84,0.15);
  padding-bottom: 0.7rem;
}

.clients-simple-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.clients-simple-list li::before {
  content: '▸';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Project types */
.project-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.project-type {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: 6px;
  background: var(--cream-2);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.project-type:hover { background: var(--gold); transform: translateY(-4px); }
.project-type:hover .pt-icon, .project-type:hover h4 { color: var(--dark); }

.pt-icon { font-size: 2rem; margin-bottom: 0.6rem; display: block; }

.project-type h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.04em;
}

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }

.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }

.contact-info-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.contact-info-header p { font-size: 0.95rem; color: var(--gray); }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--gold);
  border: 1px solid rgba(201,164,84,0.2);
}

.contact-item-text h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-item-text p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

.contact-form-wrapper {
  background: var(--cream-2);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 3rem;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,84,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ====================================================
   MOBILE APP PROMOTION SECTION
   ==================================================== */
.app-promo-section {
  background: linear-gradient(135deg, var(--cream-2) 0%, rgba(201,164,84,0.06) 100%);
  padding: 4rem 0;
}

.app-promo-link {
  display: block;
  max-width: 1152px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,8,5,0.15);
  transition: var(--transition);
  text-decoration: none;
}

.app-promo-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(13,8,5,0.25);
}

.app-promo-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1152 / 1070;
  object-fit: fill;
}

/* ====================================================
   CTA SECTION
   ==================================================== */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, rgba(90,45,12,0.8) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a454' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; }

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(201,164,84,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand .nav-logo-main { font-size: 1.5rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 1rem;
  color: rgba(255,255,255,0.5);
}

.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,164,84,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.social-link:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,164,84,0.15);
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.85rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item span:first-child {
  color: var(--gold);
  min-width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: var(--gold); }

/* ====================================================
   ANIMATIONS
   ==================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .project-types-grid { grid-template-columns: repeat(4, 1fr); }
  .new-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-images-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: linear-gradient(160deg, #1c0f08 0%, #0d0805 100%);
    border-top: 2px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-links li { opacity: 0; transform: translateX(-12px); animation: menuItemIn 0.3s ease forwards; }
  .nav-links li:nth-child(1) { animation-delay: 0.05s; }
  .nav-links li:nth-child(2) { animation-delay: 0.1s; }
  .nav-links li:nth-child(3) { animation-delay: 0.15s; }
  .nav-links li:nth-child(4) { animation-delay: 0.2s; }
  .nav-links li:nth-child(5) { animation-delay: 0.25s; }
  .nav-links li:nth-child(6) { animation-delay: 0.3s; }
  @keyframes menuItemIn { to { opacity: 1; transform: translateX(0); } }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    border-radius: 6px;
    border-bottom: none;
    transition: all 0.25s ease;
  }
  .nav-links a::before { content: ''; display: inline-block; width: 0; height: 1.5px; background: var(--gold); margin-right: 0; transition: all 0.25s ease; border-radius: 2px; }
  .nav-links a:hover { color: var(--white); background: rgba(201,164,84,0.08); padding-left: 1.25rem; }
  .nav-links a:hover::before { width: 16px; margin-right: 10px; }
  .nav-links a.active { color: var(--gold); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 0.75rem !important; text-align: center !important; background: var(--gold) !important; color: var(--dark) !important; font-weight: 700 !important; border-radius: 6px !important; padding: 0.85rem 1rem !important; display: block !important; letter-spacing: 0.08em !important; }
  .nav-cta::before { display: none !important; }
  .nav-cta:hover { background: var(--gold-light) !important; padding-left: 1rem !important; }
  .nav-toggle { display: flex; }

  .intro-grid,
  .about-story,
  .why-grid,
  .contact-grid,
  .service-detail-grid { grid-template-columns: 1fr; gap: 3rem; }

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

  .service-detail-grid.reverse { direction: ltr; }

  .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .project-card.tall { grid-row: span 1; }
  .project-preview-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .btn-view-all { font-size: 1.3rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }

  .intro-images { height: 380px; }

  .values-grid,
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }

  .projects-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }

  .contact-form-wrapper { padding: 2rem 1.25rem; }

  .client-images-grid { grid-template-columns: repeat(3, 1fr); }
  .new-clients-grid { grid-template-columns: 1fr; }
  .why-image-badge { right: 0; bottom: -1rem; }
}

@media (max-width: 480px) {
  .project-types-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .client-images-grid { grid-template-columns: repeat(2, 1fr); }
  .new-clients-grid { grid-template-columns: 1fr; }
}
