/* ==========================================================================
   Designed Growth – Clean, Fast, Unified Dark Theme (#100f29 background)
   ========================================================================== */

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #100f29;                /* ← Your requested dark blue-purple */
  color: #e6edf3;
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 780px;
}

.center { text-align: center; }
.mt-4 { margin-top: 3rem; }
.mt-5 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2.5rem; }
.mb-5 { margin-bottom: 4rem; }

/* Typography */
h1 {
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.8rem;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.lead {
  font-size: clamp(1.25rem, 3vw, 1.45rem);
  line-height: 1.6;
  color: #c9d1d9;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

p, .meta {
  font-size: 1.1rem;
  color: #c9d1d9;
}

/* Vibrant Orange */
:root {
  --orange: #ff6b35;
  --orange-glow: #ff8533;
  --orange-shadow: rgba(255, 107, 53, 0.5);
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 40px var(--orange-shadow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover {
  background: var(--orange-glow);
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 25px 60px rgba(255, 107, 53, 0.7);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #100f29 url('bridge-sunset-final.webp') center/cover no-repeat;
  filter: brightness(0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 40px;
}

/* Navigation – also #100f29 */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #100f29;                    /* ← Updated */
  backdrop-filter: blur(16px);
  z-index: 1000;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 107, 53, 0.08);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-nav {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 107, 53, 0.45));
  transition: filter 0.4s ease, transform 0.3s ease;
}

.logo-nav:hover {
  filter: drop-shadow(0 0 28px rgba(255, 107, 53, 0.7));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.05rem;
  color: #e6edf3;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

/* Sections */
.section {
  padding: 160px 0 140px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition: all 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.fade-in > * {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.visible > *:nth-child(1) { transition-delay: 0.15s; }
.fade-in.visible > *:nth-child(2) { transition-delay: 0.3s; }
.fade-in.visible > *:nth-child(3) { transition-delay: 0.45s; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.portrait {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  margin: 5rem 0 4rem;
}

.service {
  background: rgba(16, 15, 41, 0.9);     /* Matches body/nav */
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 53, 0.08);
  transition: all 0.5s ease;
}

.service:hover {
  transform: translateY(-12px);
  border-color: var(--orange);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.service h3 {
  color: var(--orange);
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 48px;
  margin-top: 4.5rem;
}

.portfolio-item {
  background: rgba(16, 15, 41, 0.9);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 30px 80px rgba(255, 107, 53, 0.2);
}

.client-logo {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 40px 32px;
  background: #100f29;
  border-bottom: 1px solid rgba(255, 107, 53, 0.08);
}

.intro-text {
  font-size: 1.2rem;
  color: #a0b0c0;
  margin-bottom: 3rem;
}

/* Contact */
.contact {
  background: #100f29;                    /* ← Updated */
  padding: 180px 0 140px;
}

.calendly-wrapper {
  max-width: 800px;
  margin: 4rem auto;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.or {
  margin: 3rem 0 2rem;
  font-size: 1.2rem;
  opacity: 0.7;
}

.email {
  font-size: 1.8rem;
  font-weight: 600;
  display: block;
  margin: 1.5rem 0;
}

.phone {
  font-size: 1.4rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background: #100f29;
  color: #8b949e;
  text-align: center;
  padding: 5rem 0 3rem;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .section { padding: 140px 0 120px; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    padding-top: 140px;           /* More space below nav */
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 60px;
  }

  h1 { font-size: 2.6rem; margin-bottom: 1.5rem; }
  .lead { font-size: 1.18rem; margin-bottom: 2.5rem; }

  .nav .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-logo { margin-bottom: 1rem; }
  .logo-nav { height: 48px; }

  .nav-links {
    flex-wrap: wrap;
    gap: 1.2rem 1.8rem;
    justify-content: center;
    margin-top: 0.8rem;
  }

  .btn { padding: 14px 36px; font-size: 1rem; }
}