/* ============================================
   BLUE OAK WEB DESIGN — Components
   Navbar, footer, buttons, cards, etc.
   ============================================ */

/* ====================
   NAVIGATION
   ==================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(254,252,249,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27,58,45,0.06);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--oak);
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

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

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

/* Nav CTA Button */
.nav-cta {
  background: var(--oak);
  color: var(--cream) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: var(--oak-light);
  transform: translateY(-1px);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--oak);
  margin: 5px 0;
  transition: var(--transition);
}

/* Mobile Menu (open state) */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  padding: var(--space-lg) var(--space-xl);
  gap: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--cream-dark);
}


/* ====================
   BUTTONS
   ==================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--oak);
  color: var(--cream);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(27,58,45,0.2);
}

.btn-primary:hover {
  background: var(--oak-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27,58,45,0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--oak);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(27,58,45,0.15);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--oak);
  background: rgba(27,58,45,0.03);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gold);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(200,151,62,0.3);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--cream);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(245,240,232,0.25);
  transition: all var(--transition);
}

.btn-outline-light:hover {
  border-color: var(--cream);
  background: rgba(255,255,255,0.05);
}


/* ====================
   CLIENT LOGOS BAR
   ==================== */
.logos-bar {
  background: var(--cream);
  padding: 40px var(--space-xl);
  text-align: center;
  overflow: hidden;
}

.logos-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.logos-track {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-client {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: rgba(27,58,45,0.25);
  white-space: nowrap;
  transition: color var(--transition);
}

.logo-client:hover { color: rgba(27,58,45,0.5); }


/* ====================
   SERVICE CARDS
   ==================== */
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,151,62,0.2);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.si-1 { background: rgba(27,58,45,0.1); }
.si-2 { background: rgba(74,144,184,0.12); }
.si-3 { background: rgba(200,151,62,0.12); }
.si-4 { background: rgba(27,58,45,0.08); }
.si-5 { background: rgba(74,144,184,0.1); }
.si-6 { background: rgba(200,151,62,0.1); }

.service-card h3 { margin-bottom: var(--space-sm); }

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

.service-tag {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oak);
  padding: 4px 12px;
  background: rgba(27,58,45,0.06);
  border-radius: var(--radius-full);
}


/* ====================
   PORTFOLIO CARDS
   ==================== */
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(200,151,62,0.3);
}

.portfolio-thumb {
  height: 240px;
  position: relative;
}

.pt-1 { background: linear-gradient(135deg, #1a4a5e, #2d7a6f); }
.pt-2 { background: linear-gradient(135deg, #5c3d2e, #8b6f47); }
.pt-3 { background: linear-gradient(135deg, #2e3a5c, #4a6fa5); }
.pt-4 { background: linear-gradient(135deg, #3d1a3f, #7a3b6e); }

.portfolio-thumb::after {
  content: 'View Project →';
  position: absolute; inset: 0;
  background: rgba(27,58,45,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-thumb::after { opacity: 1; }

.portfolio-thumb-inner {
  position: absolute;
  inset: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  border: 1px dashed rgba(255,255,255,0.15);
}

.portfolio-info { padding: var(--space-lg); }

.portfolio-info h3 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.portfolio-meta {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.5);
  margin-bottom: var(--space-sm);
}

.portfolio-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,151,62,0.15);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}


/* ====================
   PROCESS STEPS
   ==================== */
.step { text-align: center; position: relative; }

.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--oak);
  box-shadow: var(--shadow);
  position: relative; z-index: 2;
  border: 2px solid rgba(200,151,62,0.2);
}

.step h3 { margin-bottom: var(--space-sm); }

.step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* ====================
   PRICING CARDS
   ==================== */
.price-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid transparent;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.price-card.featured {
  background: var(--oak);
  color: var(--cream);
  border-color: var(--gold);
  transform: scale(1.04);
}

.price-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.price-card.featured .price-name { color: var(--gold-light); }

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: var(--space-xs);
}

.price-card.featured .price-amount { color: var(--cream); }

.price-period {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.price-card.featured .price-period { color: rgba(245,240,232,0.6); }

.price-features { margin-bottom: 28px; }

.price-features li {
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(27,58,45,0.06);
}

.price-card.featured .price-features li {
  border-color: rgba(255,255,255,0.08);
  color: rgba(245,240,232,0.9);
}

.price-features li::before {
  content: '✓';
  color: var(--oak);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card.featured .price-features li::before { color: var(--gold-light); }

.price-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  background: var(--oak);
  color: var(--cream);
}

.price-cta:hover { background: var(--oak-light); }

.price-card.featured .price-cta {
  background: var(--gold);
  color: var(--white);
}

.price-card.featured .price-cta:hover { background: var(--gold-light); }


/* ====================
   TESTIMONIAL CARDS
   ==================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream);
}

.ta-1 { background: var(--oak); }
.ta-2 { background: var(--sky); }
.ta-3 { background: var(--gold); }

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role  { font-size: 0.78rem; color: var(--text-light); }

/* ====================
   FOOTER
   ==================== */
footer {
  background: var(--charcoal);
  color: rgba(245,240,232,0.7);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(245,240,232,0.6);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,232,0.6);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}
