/*
Theme Name: Digital Marcusing
Theme URI: https://digitalmarcusing.co.uk
Description: About me page and home page for Digital Marcusing — digital marketing strategy for SMEs.
Version: 1.0
Author: Marcus
Author URI: https://digitalmarcusing.co.uk
Text Domain: digital-marcusing
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #475569;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { cursor: pointer; text-decoration: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
}
.skip-link:focus {
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: #1B2838;
  color: #fff;
}

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 88px;
}
#site-header.scrolled { border-bottom-color: #E2E8F0; }

/* Navigation — WordPress wp_nav_menu output */
#site-header nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0;
}
#site-header nav ul li { list-style: none; }
#site-header nav ul li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #475569;
  font-weight: 400;
  transition: color 150ms ease;
  text-decoration: none;
}
#site-header nav ul li a:hover { color: #1B2838; }
#site-header nav ul li.current-menu-item > a,
#site-header nav ul li.current_page_item > a {
  color: #1B2838;
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  background: #1B2838;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px 32px;
  cursor: pointer;
  transition: opacity 150ms ease;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.85; color: #fff; }

.btn-navy {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  background: #1B2838;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: opacity 150ms ease;
  text-decoration: none;
  display: inline-block;
}
.btn-navy:hover { opacity: 0.85; color: #fff; }

/* Section label */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B2838;
  margin-bottom: 16px;
}

/* Photo carousel */
.carousel-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 48px;
}
.carousel-track {
  overflow: hidden !important;
  width: 100%;
  display: block !important;
  max-width: 100%;
}
.carousel-slide {
  flex-shrink: 0 !important;
  width: 242px !important;
  max-width: 242px !important;
  height: 200px !important;
  max-height: 200px !important;
  border-radius: 2px;
  overflow: hidden !important;
}
.carousel-slide img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15,23,42,0.08);
  transition: opacity 150ms, transform 150ms;
  color: #1B2838;
  z-index: 2;
}
.carousel-btn:hover { transform: translateY(-50%) scale(1.05); }
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #CBD5E1;
  cursor: pointer;
  padding: 0;
  transition: background 150ms, width 150ms;
}
.carousel-dot.active { background: #1B2838; width: 24px; border-radius: 4px; }

/* Skill badges */
.badge {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #CCFBF1;
  color: #1B2838;
  padding: 6px 12px;
  border-radius: 2px;
}

/* Skill bars */
.skill-bar-track {
  height: 6px;
  background: #E2E8F0;
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: #1B2838;
  border-radius: 2px;
  width: 0%;
  transition: width 1s ease;
}

/* Blog card */
.blog-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 28px;
  transition: box-shadow 200ms ease, transform 200ms ease;
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.12);
  transform: translateY(-2px);
}

/* Fact items */
.fact-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.fact-item:last-child { border-bottom: none; }
.fact-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0EA5A0;
  padding-top: 2px;
  flex-shrink: 0;
  width: 24px;
}

/* Footer */
#colophon a:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .two-col { flex-direction: column !important; }
  .hero-inner { flex-direction: column !important; text-align: center; }
  .photo-strip { padding: 24px 20px; }
  #site-header { padding: 0 20px; }
  #site-header nav { display: none; }
}