/* Ironclad Software Consulting - Colours aligned with logo (maroon + gold) */
:root {
  --ironclad-primary: #2d1810;
  --ironclad-accent: #8B2942;
  --ironclad-accent-hover: #6B2033;
  --ironclad-gold: #C9A227;
  --ironclad-gold-muted: #E8D48B;
  --ironclad-muted: #5c4a42;
  --ironclad-bg: #faf8f5;
  /* Bootstrap primary = maroon to match logo */
  --bs-primary: #8B2942;
  --bs-primary-rgb: 139, 41, 66;
}

* {
  scroll-margin-top: 76px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ironclad-primary);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.navbar-scrolled {
  background: rgba(45, 24, 16, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

/* Logo image (your company logo from LinkedIn) */
.img-logo {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-logo.img-logo {
  width: 40px;
  height: 40px;
}

/* Hero/footer logos removed – logo only in header */

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

/* Hero – warm dark to complement logo */
.hero {
  background: linear-gradient(165deg, #2d1810 0%, #4a2520 45%, #5c3028 100%);
  color: #fff;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ironclad-gold-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero h1 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.15rem;
}

.hero .btn-primary {
  background: var(--ironclad-accent);
  border-color: var(--ironclad-accent);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.hero .btn-primary:hover {
  background: var(--ironclad-accent-hover);
  border-color: var(--ironclad-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 41, 66, 0.45);
}

/* Section titles */
.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ironclad-primary);
}

/* Service icon */
.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(139, 41, 66, 0.1) 0%, rgba(201, 162, 39, 0.12) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--ironclad-accent);
}

/* Service cards */
.service-card {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08) !important;
}

.service-icon {
  font-size: 1.75rem;
  line-height: 1;
}

/* Mission banner – maroon to match logo */
.mission-banner {
  background: linear-gradient(135deg, #2d1810 0%, #5c2832 50%, #8B2942 100%);
  color: #fff;
}

.mission-banner .section-title {
  color: #fff;
}

/* Footer */
footer a {
  color: inherit;
}

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

.footer-nav-link {
  transition: color 0.2s;
}

/* Utilities */
.bg-light {
  background-color: var(--ironclad-bg) !important;
}

/* py-6 spacing utility (Bootstrap only goes to 5) */
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
@media (min-width: 992px) {
  .py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

/* Mobile navbar: ensure collapsed menu is readable over transparent bg */
@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background: rgba(45, 24, 16, 0.97);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
  }
}

/* Technologies section */
.tech-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ironclad-muted);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  width: 72px;
}

.tech-icon {
  display: block;
  width: 44px;
  height: 44px;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.2s ease;
}

.tech-item:hover .tech-icon {
  filter: grayscale(0) opacity(1);
}

.tech-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ironclad-muted);
  text-align: center;
}

/* Contact cards */
.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(45, 24, 16, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(45, 24, 16, 0.1);
}

.contact-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(139, 41, 66, 0.1) 0%, rgba(201, 162, 39, 0.12) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.35rem;
  color: var(--ironclad-accent);
}

.contact-link {
  color: var(--ironclad-primary);
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--ironclad-accent);
}

.contact-email {
  font-size: 0.82rem;
  white-space: nowrap;
}
