/* ============================================
   BEY GRUP MÜHENDİSLİK — Premium Stylesheet
   Cross-browser safe (Chrome, Firefox, Safari, Edge)
   ============================================ */

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

:root {
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --dark:       #0d0d0d;
  --dark2:      #161616;
  --dark3:      #1e1e1e;
  --surface:    #242424;
  --border:     rgba(201,168,76,0.25);
  --text:       #e8e8e8;
  --muted:      #9a9a9a;
  --white:      #ffffff;
  --radius:     6px;
  --transition: 0.35s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: #0d0d0d;
  background-color: var(--dark);
  color: #e8e8e8;
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 15px;
}

/* ── TOP BAR ─────────────────────────────── */
#topbar {
  background: #161616;
  background: var(--dark2);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid var(--border);
  padding: 8px 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 12px;
  color: #9a9a9a;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
#topbar .tagline span { color: #c9a84c; color: var(--gold); }
#topbar .social-icons a {
  color: #9a9a9a;
  color: var(--muted);
  margin-left: 14px;
  font-size: 14px;
  -webkit-transition: color 0.35s ease;
          transition: color 0.35s ease;
  -webkit-transition: color var(--transition);
          transition: color var(--transition);
  text-decoration: none;
}
#topbar .social-icons a:hover { color: #c9a84c; color: var(--gold); }

/* ── NAVBAR ──────────────────────────────── */
#navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.97);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid var(--border);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 5%;
  height: 70px;
}
#navbar .brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
}
#navbar .brand span { color: #c9a84c; color: var(--gold); }
#navbar nav ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
}
#navbar nav ul li { margin-left: 4px; }
#navbar nav ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 8px 16px;
  color: #9a9a9a;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 6px;
  border-radius: var(--radius);
  -webkit-transition: color 0.35s ease, background 0.35s ease;
          transition: color 0.35s ease, background 0.35s ease;
  -webkit-transition: color var(--transition), background var(--transition);
          transition: color var(--transition), background var(--transition);
}
#navbar nav ul li a i { font-size: 12px; margin-right: 7px; }
#navbar nav ul li a:hover,
#navbar nav ul li a.active {
  color: #c9a84c;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* ── HERO ────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#hero .hero-bg {
  width: 100%;
  display: block;
  background-image: url('IMG/beygrup.png');
  background-size: cover;
  background-position: center;
  /* aspect-ratio fallback for older browsers */
  padding-top: 66.66%; /* 3:2 ratio */
  -webkit-animation: heroZoom 12s ease-out forwards;
          animation: heroZoom 12s ease-out forwards;
  -webkit-transform: scale(1.08);
      -ms-transform: scale(1.08);
          transform: scale(1.08);
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
}
@supports (aspect-ratio: 3/2) {
  #hero .hero-bg {
    padding-top: 0;
    aspect-ratio: 3 / 2;
  }
}
@-webkit-keyframes heroZoom {
  from { -webkit-transform: scale(1.08); transform: scale(1.08); }
  to   { -webkit-transform: scale(1.0);  transform: scale(1.0); }
}
@keyframes heroZoom {
  from { -webkit-transform: scale(1.08); transform: scale(1.08); }
  to   { -webkit-transform: scale(1.0);  transform: scale(1.0); }
}
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: -webkit-linear-gradient(left, transparent 0%, #c9a84c 30%, #e8c97a 50%, #c9a84c 70%, transparent 100%);
  background: linear-gradient(90deg, transparent 0%, #c9a84c 30%, #e8c97a 50%, #c9a84c 70%, transparent 100%);
  z-index: 10;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: -webkit-linear-gradient(left, transparent 0%, rgba(201,168,76,0.6) 50%, transparent 100%);
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.6) 50%, transparent 100%);
  z-index: 10;
}

/* ── HERO TAGLINE (below image) ──────────── */
.hero-tagline {
  background: #161616;
  background: var(--dark2);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 40px 24px 44px;
  -webkit-animation: heroFadeUp 1s 0.2s cubic-bezier(0.22,1,0.36,1) both;
          animation: heroFadeUp 1s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-tagline .eyebrow {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c9a84c;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-tagline .eyebrow::before,
.hero-tagline .eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: #c9a84c;
  background: var(--gold);
  opacity: 0.7;
  margin: 0 12px;
}
.hero-tagline h1 {
  font-family: 'Playfair Display', Georgia, serif;
  /* clamp fallback */
  font-size: 36px;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-tagline h1 em { font-style: normal; color: #c9a84c; color: var(--gold); }
.hero-tagline p {
  font-size: 15px;
  color: #9a9a9a;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.8;
}
.hero-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-actions > * { margin: 6px; }

/* stats bar */
.hero-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-top: 1px solid rgba(201,168,76,0.25);
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.hero-stat {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 0 16px 8px;
  border-right: 1px solid rgba(201,168,76,0.25);
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #c9a84c;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat .stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a9a9a;
  color: var(--muted);
}

@-webkit-keyframes heroFadeUp {
  from { opacity: 0; -webkit-transform: translateY(28px); transform: translateY(28px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; -webkit-transform: translateY(28px); transform: translateY(28px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}

/* ── BUTTONS ─────────────────────────────── */
.btn-hero-primary {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 38px;
  background: #c9a84c;
  background: var(--gold);
  color: #0d0d0d;
  color: var(--dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border-radius: var(--radius);
  -webkit-transition: background 0.35s ease, -webkit-transform 0.35s ease, -webkit-box-shadow 0.35s ease;
          transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  -webkit-transition: background var(--transition), -webkit-transform var(--transition), -webkit-box-shadow var(--transition);
          transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  -webkit-box-shadow: 0 8px 32px rgba(201,168,76,0.35);
          box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}
.btn-hero-primary i { margin-right: 10px; }
.btn-hero-primary:hover {
  background: #e8c97a;
  background: var(--gold-light);
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 14px 40px rgba(201,168,76,0.45);
          box-shadow: 0 14px 40px rgba(201,168,76,0.45);
}
.btn-hero-ghost {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 14px 36px;
  background: transparent;
  color: #ffffff;
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  border-radius: var(--radius);
  -webkit-transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease, -webkit-transform 0.35s ease;
          transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.btn-hero-ghost i { margin-right: 10px; }
.btn-hero-ghost:hover {
  border-color: #c9a84c;
  border-color: var(--gold);
  color: #c9a84c;
  color: var(--gold);
  -webkit-transform: translateY(-3px);
      -ms-transform: translateY(-3px);
          transform: translateY(-3px);
  background: rgba(201,168,76,0.07);
}

/* ── INNER HERO ──────────────────────────── */
.inner-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.inner-hero .hero-bg {
  width: 100%;
  display: block;
  background-image: url('IMG/beygrup.png');
  background-size: cover;
  background-position: center;
  /* aspect-ratio fallback: 16:5 = 31.25% */
  padding-top: 31.25%;
  -webkit-animation: heroZoom 10s ease-out forwards;
          animation: heroZoom 10s ease-out forwards;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
}
@supports (aspect-ratio: 16/5) {
  .inner-hero .hero-bg {
    padding-top: 0;
    aspect-ratio: 16 / 5;
  }
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: -webkit-linear-gradient(left, transparent 0%, #c9a84c 30%, #e8c97a 50%, #c9a84c 70%, transparent 100%);
  background: linear-gradient(90deg, transparent 0%, #c9a84c 30%, #e8c97a 50%, #c9a84c 70%, transparent 100%);
  z-index: 10;
}
.inner-hero-text {
  background: #161616;
  background: var(--dark2);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 28px 24px 32px;
  -webkit-animation: heroFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
          animation: heroFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.inner-hero-text .eyebrow {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c9a84c;
  color: var(--gold);
  margin-bottom: 10px;
}
.inner-hero-text .eyebrow::before,
.inner-hero-text .eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #c9a84c;
  background: var(--gold);
  opacity: 0.7;
  margin: 0 12px;
}
.inner-hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  color: var(--white);
  line-height: 1.15;
}

/* ── PAGE WRAPPER ────────────────────────── */
#page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 70px;
}

/* ── SECTION TITLE ───────────────────────── */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 8px;
}
.section-title span { color: #c9a84c; color: var(--gold); }
.section-subtitle {
  font-size: 13px;
  color: #9a9a9a;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.title-line {
  width: 50px;
  height: 2px;
  background: #c9a84c;
  background: var(--gold);
  margin-bottom: 12px;
}

/* ── PROJECT CARDS ───────────────────────── */
.projects-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(320px, 1fr))[auto-fill];
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: #1e1e1e;
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.35s ease, -webkit-box-shadow 0.35s ease;
          transition: transform 0.35s ease, box-shadow 0.35s ease;
  -webkit-transition: -webkit-transform var(--transition), -webkit-box-shadow var(--transition);
          transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
  -webkit-box-shadow: 0 20px 50px rgba(0,0,0,0.5);
          box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.6s ease;
          transition: transform 0.6s ease;
  /* IE fallback: stretch to fill */
  font-family: 'object-fit: cover;';
}
.card:hover .card-img-wrap img {
  -webkit-transform: scale(1.06);
      -ms-transform: scale(1.06);
          transform: scale(1.06);
}
.card-body { padding: 22px 24px 24px; }
.card-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.card-body p {
  font-size: 13px;
  color: #9a9a9a;
  color: var(--muted);
  margin-bottom: 20px;
}
.btn-card {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c9a84c;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  -webkit-transition: border-color 0.35s ease;
          transition: border-color 0.35s ease;
}
.btn-card i { font-size: 11px; margin-left: 8px; }
.btn-card:hover { border-color: #c9a84c; border-color: var(--gold); }

/* ── ABOUT PAGE ──────────────────────────── */
.about-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 50px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
.about-img {
  width: 100%;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  height: 420px;
  border: 1px solid rgba(201,168,76,0.25);
  border: 1px solid var(--border);
  display: block;
}
.about-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 14px;
}
.about-text p {
  color: #9a9a9a;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
  text-indent: 24px;
}
.about-text hr { border: none; border-top: 1px solid rgba(201,168,76,0.25); margin: 28px 0; }
.about-text ul { list-style: none; padding: 0; }
.about-text ul li {
  padding: 8px 0;
  color: #9a9a9a;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.about-text ul li::before {
  content: '\2014';
  color: #c9a84c;
  color: var(--gold);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 10px;
}

/* ── REFERENCES ──────────────────────────── */
.ref-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(260px, 1fr))[auto-fill];
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.ref-card {
  background: #1e1e1e;
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.35s ease, -webkit-box-shadow 0.35s ease;
          transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  display: block;
}
.ref-card:hover {
  -webkit-transform: translateY(-5px);
      -ms-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 16px 40px rgba(0,0,0,0.4);
          box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.ref-card img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-filter: grayscale(30%);
          filter: grayscale(30%);
  -webkit-transition: -webkit-filter 0.35s ease;
          transition: filter 0.35s ease;
}
.ref-card:hover img { -webkit-filter: grayscale(0%); filter: grayscale(0%); }
.ref-card-body { padding: 16px 18px; text-align: center; }
.ref-card-body h3 { font-size: 14px; font-weight: 600; color: #ffffff; color: var(--white); }

/* ── GALLERY ─────────────────────────────── */
.gallery-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(240px, 1fr))[auto-fill];
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.25);
  border: 1px solid var(--border);
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.5s ease, -webkit-filter 0.5s ease;
          transition: transform 0.5s ease, filter 0.5s ease;
  -webkit-filter: brightness(0.85);
          filter: brightness(0.85);
}
.gallery-grid a:hover img {
  -webkit-transform: scale(1.07);
      -ms-transform: scale(1.07);
          transform: scale(1.07);
  -webkit-filter: brightness(1);
          filter: brightness(1);
}

/* ── CONTACT ─────────────────────────────── */
.contact-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 40px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
.contact-map { margin-bottom: 40px; }
.contact-map iframe {
  width: 100%;
  height: 360px;
  border-radius: 10px;
  border: 1px solid rgba(201,168,76,0.25);
  border: 1px solid var(--border);
  display: block;
}
.contact-form-wrap, .contact-info-wrap {
  background: #1e1e1e;
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}
.contact-form-wrap h2, .contact-info-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: #ffffff;
  color: var(--white);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a9a9a;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: #242424;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #e8e8e8;
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  -webkit-transition: border-color 0.35s ease;
          transition: border-color 0.35s ease;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #c9a84c; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  display: inline-block;
  padding: 13px 32px;
  background: #c9a84c;
  background: var(--gold);
  color: #0d0d0d;
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-transition: background 0.35s ease;
          transition: background 0.35s ease;
  font-family: 'Inter', Arial, sans-serif;
}
.btn-submit:hover { background: #e8c97a; background: var(--gold-light); }
.contact-info-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 22px;
  color: #9a9a9a;
  color: var(--muted);
  font-size: 14px;
}
.contact-info-item i {
  color: #c9a84c;
  color: var(--gold);
  font-size: 16px;
  margin-top: 2px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 14px;
}

/* ── FOOTER ──────────────────────────────── */
#footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(201,168,76,0.2);
  position: relative;
  overflow: hidden;
}

/* top gold shimmer line */
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: -webkit-linear-gradient(left, transparent 0%, #c9a84c 25%, #e8c97a 50%, #c9a84c 75%, transparent 100%);
  background: linear-gradient(90deg, transparent 0%, #c9a84c 25%, #e8c97a 50%, #c9a84c 75%, transparent 100%);
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 48px;
}

.footer-brand {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 280px;
          flex: 0 0 280px;
}
.footer-brand .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.footer-brand .brand-name span { color: #c9a84c; }
.footer-brand .brand-sub {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 20px;
}
.footer-brand .brand-divider {
  width: 40px;
  height: 1px;
  background: #c9a84c;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #9a9a9a;
  text-decoration: none;
  font-size: 13px;
  margin-right: 10px;
  -webkit-transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
          transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.footer-social a:hover {
  background: #c9a84c;
  color: #0d0d0d;
  border-color: #c9a84c;
}

.footer-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.footer-col .col-line {
  width: 28px;
  height: 1px;
  background: #c9a84c;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  -webkit-transition: color 0.35s ease, padding-left 0.35s ease;
          transition: color 0.35s ease, padding-left 0.35s ease;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: #c9a84c;
  padding-left: 6px;
}

.footer-contact-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: #c9a84c;
  font-size: 13px;
  margin-top: 2px;
  margin-right: 12px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
}
.footer-bottom p span { color: #c9a84c; }
.footer-bottom .footer-badge {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  border: 1px solid #222;
  padding: 5px 12px;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .footer-main { gap: 32px; }
  .footer-brand { -webkit-box-flex: 0; -ms-flex: 0 0 100%; flex: 0 0 100%; }
}
@media (max-width: 640px) {
  .footer-main { padding: 40px 20px 32px; }
  .footer-bottom { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 10px; text-align: center; }
}

/* ── UTILITIES ───────────────────────────── */
.mb-40 { margin-bottom: 40px; }
.mt-32 { margin-top: 32px; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .about-grid  { display: block; }
  .about-grid > div + div { margin-top: 32px; }
  .contact-grid { display: block; }
  .contact-grid > div + div { margin-top: 32px; }
  .about-img { height: 280px; }
  #navbar nav ul li a { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 640px) {
  #topbar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  #navbar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
    padding: 12px 5%;
  }
  #navbar nav ul { -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
  .projects-grid { display: block; }
  .projects-grid .card { margin-bottom: 24px; }
  .ref-grid { display: block; }
  .ref-card { margin-bottom: 20px; }
  .gallery-grid { display: block; }
  .gallery-grid a { margin-bottom: 14px; }
  .hero-stats { -ms-flex-wrap: wrap; flex-wrap: wrap; }
  .hero-stat { max-width: 50%; border-right: none; border-bottom: 1px solid rgba(201,168,76,0.25); padding: 14px 10px; }
}
