/* ==========================
   ROOT VARIABLES (Dark Default)
========================== */
:root {
  --bg-primary: #050608;
  --bg-secondary: rgba(255,255,255,0.05);
  --bg-hero: linear-gradient(145deg, #e0e0e0, #8a8a8a, #1a1a1a);
  --text-primary: #f5f5f5;
  --text-secondary: #b4b7c1;
  --text-muted: #9a9a9a;
  --border-light: rgba(255,255,255,0.12);
  --border-strong: rgba(255,255,255,0.2);
  --silver: #cfcfcf;
  --silver-soft: #9a9a9a;
  --orange: #ff8c00;
  --max-width: 1100px;
}

/* Light Mode Overrides */
body.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: rgba(0,0,0,0.05);
  --bg-hero: linear-gradient(145deg, #f8f9fa, #e9ecef, #dee2e6);
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --border-light: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.1);
}

/* ==========================
   BASE STYLES
========================== */
body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease; 
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 16px;
}

/* ==========================
   HEADER
========================== */
header {
  position: sticky;
  top: 0;
  background: rgba(5,6,8,0.9); 
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 20;
  transition: background 0.3s ease;
}

body.light-mode header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.nav-left {
  display: flex; 
  align-items: center; 
  flex-wrap: wrap; 
}

.logo-img {
  height: 70px; 
  width: auto; 
  border-radius: 8px;
  margin-right: 50px; 
}

.logo-text {
  display: flex;
  flex-direction: column; 
  margin-left: 0; 
  line-height: 1.2; 
}

.logo-text span:first-child {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-text span:last-child {
  font-size: 0.8rem; 
  color: var(--text-muted);
}

/* ==========================
   NAVIGATION
========================== */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--text-primary);
}

/* Theme Toggle */
.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s ease;
  margin-left: 20px;
}

.theme-toggle:hover {
  color: var(--orange);
  transform: scale(1.1);
}

body.light-mode .theme-toggle {
  color: var(--text-secondary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
  z-index: 30;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================
   HERO SECTION
========================== */
.hero {
  padding: 80px 0;
  
  background-image: url(assets/about-hero.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #212529; 
}

body.light-mode .hero {
  color: #212529;
}

.hero h1 {
  
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.accent {
  background: linear-gradient(120deg, var(--orange), #000);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem; 
  line-height: 1.5;
  color: #11191f; 
  max-width: 600px;
}

body.light-mode .hero-subtitle {
  color: #495057;
}

/* ==========================
   SECTIONS
========================== */
.section-heading {
  margin: 40px 0 20px;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  font-size: 1.8rem;
  margin-top: 6px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
}
/* Sections - Stronger Light Mode Visibility */
body.light-mode .section-kicker {
  color: #495057; 
  font-size: 0.95rem; 
  font-weight: 600; 
  letter-spacing: 0.1em;
  text-decoration: underline; 
  text-decoration-color: var(--orange); 
  text-underline-offset: 0.2rem; 
}

body.light-mode .section-title {
  color: #000000; 
  font-size: 2.2rem; 
  font-weight: 800; 
}

body.light-mode .section-subtitle {
  color: #343a40; 
  font-size: 1.05rem; 
}
/* ==========================
   ABOUT SECTION
========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.pill {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  font-size: 0.75rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.about-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 20px;
}
/* About Section Images */
.about-image {
  width: 100%;
  height: 200px;
  object-fit: cover; 
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

.pill-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 50%; 
  vertical-align: middle;
}

/* Light Mode adjustments */
body.light-mode .about-image {
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* ==========================
   WHY LUMERA
========================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.why-card {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border-light);
}

.why-card h3 {
  color: var(--text-primary);
}

/* ==========================
   SERVICES
========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border-light);
}

.card-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card-title {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ==========================
   INDUSTRIES
========================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* ==========================
   CLIENTS + PROJECTS
========================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
}

.client-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-primary);
}

.projects-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}
/* Highlighted Projects with Images */
.projects-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}

.projects-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.project-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.project-item:hover {
  background: rgba(255,255,255,0.1); 
}

.project-thumb {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-item strong { 
  color: var(--text-primary);
}

/* Light Mode */
body.light-mode .project-item:hover {
  background: rgba(0,0,0,0.05);
}

body.light-mode .project-thumb {
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .project-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }
  
  .project-thumb {
    width: 100%;
    height: 120px;
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* ==========================
   CONTACT
========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.ghost-note {
  color: var(--text-secondary);
  font-style: italic;
}

.contact-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border-light);
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

/* ==========================
   FOOTER
========================== */
footer {
  text-align: center;
  padding: 22px 0;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
}

/* ==========================
   RESPONSIVE BREAKPOINTS
========================== */
/* Tablet & Mobile (≤768px) */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav ul {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-light);
  }

  .main-nav ul.active {
    display: flex;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .theme-toggle {
    margin-left: 0;
    order: 3; /* Move to end on mobile */
  }

  .nav-left {
    display: flex;
    align-items: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 60px 0;
  }
}

/* Mobile Only (≤480px) */
@media (max-width: 480px) {
  .why-grid,
  .cards-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 12px;
  }

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

/* Larger Desktop Adjustments (if needed) */
@media (min-width: 1200px) {
  .container {
    padding: 0 24px;
  }
}
@media (max-width: 768px) {
  .logo-img {
    margin-right: 15px; 
  }
}
