/* =========================================================
   VGL Website — style.css
   Light mode default; .dark-mode on <html> switches theme.
   ========================================================= */

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

/* ----- Custom properties (light mode = default) ----- */
:root {
  --bg:          #f7f6f2;
  --bg-card:     #ffffff;
  --bg-nav:      rgba(247, 246, 242, 0.95);
  --text:        #1a1c26;
  --text-muted:  #5a5760;
  --gold:        #c9973a;
  --gold-hover:  #d9a94a;
  --gold-subtle: rgba(201, 151, 58, 0.08);
  --border:      rgba(0, 0, 0, 0.08);
  --shadow:      0 4px 32px rgba(0, 0, 0, 0.08);
  --radius:      10px;
  --transition:  color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

html.dark-mode {
  --bg:          #1a1c26;
  --bg-card:     #22253a;
  --bg-nav:      rgba(26, 28, 38, 0.95);
  --text:        #e8e6e1;
  --text-muted:  #9a96a6;
  --gold-subtle: rgba(201, 151, 58, 0.12);
  --border:      rgba(255, 255, 255, 0.07);
  --shadow:      0 4px 32px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-hover);
}

ul {
  list-style: none;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 48px;
}

.text-gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--gold);
  color: #1a1c26;
  border-color: var(--gold);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #1a1c26;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 151, 58, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: #1a1c26;
  transform: translateY(-1px);
}

/* ----- Header / Nav ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.hamburger:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.site-header.nav-open .mobile-nav {
  display: flex;
}

/* Page offset for fixed header */
.page-body {
  padding-top: 68px;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  overflow: hidden;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 28, 38, 0.88) 0%,
    rgba(26, 28, 38, 0.6) 60%,
    rgba(26, 28, 38, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: rgba(232, 230, 225, 0.8);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sub-page hero (shorter) */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* ----- Cards ----- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 151, 58, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--gold-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* ----- Service cards (icon top) ----- */
.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 151, 58, 0.3);
}

.service-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----- Work cards ----- */
.work-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 151, 58, 0.3);
}

.work-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card-img img {
  transform: scale(1.04);
}

.work-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.work-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid rgba(201, 151, 58, 0.2);
}

.work-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.work-card-link:hover {
  gap: 10px;
  color: var(--gold-hover);
}

/* ----- Project hero (sub-page) ----- */
.project-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

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

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,28,38,0.9) 0%, rgba(26,28,38,0.3) 60%);
  display: flex;
  align-items: flex-end;
}

.project-hero-content {
  padding: 40px 0;
  width: 100%;
}

.project-hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ----- Project detail body ----- */
.project-body {
  padding: 56px 0 80px;
}

.project-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--gold);
}

/* ----- Forms ----- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

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

.form-success {
  display: none;
  padding: 16px 20px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ----- Contact section layout ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: var(--gold-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}

.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-detail-value a {
  color: var(--text);
}

.contact-detail-value a:hover {
  color: var(--gold);
}

/* ----- Differentiators / checklist ----- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: var(--gold-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 2px;
}

.check-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}

/* ----- Divider ----- */
.divider {
  height: 1px;
  background-color: var(--border);
  margin: 0;
}

/* ----- Sub-section label ----- */
.sub-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ----- Highlight band ----- */
.band {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ----- Two-col text+visual ----- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ----- Company pillars (about) ----- */
.pillar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ----- Footer ----- */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.65;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

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

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ----- Responsive ----- */
@media (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-hero {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}
