/* WeldonPC theme — "Jersey Stripe" design
   Colors: #f26722 (orange), #333333 (dark), #96989c (mid), #f7f7f7 (bg) */

:root {
  --brand-orange: #f26722;
  --brand-dark: #333333;
  --brand-mid: #96989c;
  --bg: #f7f7f7;
}

/* ── Global ────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* ── Unified dark header ───────────────────────────────── */
.site-header {
  background: var(--brand-dark);
}
.header-utility {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}
.header-utility a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.header-utility a:hover {
  color: var(--brand-orange);
}
.header-phone {
  color: #fff !important;
  font-weight: 600;
}

/* Header accent line */
.header-accent {
  height: 2px;
  background: var(--brand-orange);
  opacity: 0.85;
}

/* Nav links on dark bg */
.site-header .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  padding: 0.9rem 1rem !important;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
@media (min-width: 992px) {
  .site-header .nav-item + .nav-item .nav-link {
    border-left: 1px solid rgba(255,255,255,0.07);
  }
}
.site-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--brand-orange);
  transition: width 0.3s ease, left 0.3s ease;
}
.site-header .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.05);
}
.site-header .nav-link:hover::after {
  width: 100%;
  left: 0;
}
/* Active nav state */
.site-header .nav-link.active {
  color: #fff !important;
}
.site-header .nav-link.active::after {
  width: 100%;
  left: 0;
}
.site-header .navbar-toggler {
  border: none;
  color: #fff;
  font-size: 1.6rem;
  padding: 0.15rem 0.4rem;
}
.site-header .navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile phone display in header */
.mobile-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.mobile-phone i {
  color: var(--brand-orange);
}
.mobile-phone:hover {
  color: var(--brand-orange);
}

/* Mobile menu items */
.mobile-menu-link {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-left: 3px solid transparent;
  padding-left: 0.75rem;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-menu-link:hover {
  color: #fff;
  border-left-color: var(--brand-orange);
}
.mobile-menu-link i {
  color: var(--brand-orange);
  width: 1.5rem;
  display: inline-block;
}

/* ── Orange stripe (jersey band) ───────────────────────── */
.stripe {
  height: 5px;
  background: var(--brand-orange);
}
.stripe-sm {
  height: 3px;
  background: var(--brand-orange);
}

/* ── CTA button ────────────────────────────────────────── */
.btn-cta-orange {
  background: var(--brand-orange);
  color: #fff;
  font-weight: 700;
  border: 2px solid var(--brand-orange);
  border-radius: 0.5rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-cta-orange:hover {
  background: #d95a1b;
  border-color: #d95a1b;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242,103,34,0.35);
}

/* ── Hero Slider (Bootstrap 5 carousel-fade) ─────────── */
/* CRITICAL: Do NOT set display:flex on .carousel-item — it breaks Bootstrap transitions */
.hero-slider .carousel-item {
  min-height: 50vh;
}
/* Inner container handles vertical centering safely */
.hero-slider .carousel-item > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
/* Override fade transition duration */
.hero-slider.carousel-fade .carousel-item {
  transition: opacity 0.8s ease-in-out;
}
.hero-slide-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-slide-subtext {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}
.hero-slider .carousel-indicators {
  margin-bottom: 1.5rem;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  opacity: 0.6;
  transition: all 0.3s;
}
.hero-slider .carousel-indicators .active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  opacity: 1;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 50px;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  opacity: 0.9;
}
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
}
/* Hero CTA buttons on slides */
.hero-slider .btn-outline-light {
  border-width: 2px;
  font-weight: 700;
  padding: 0.65rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.hero-slider .btn-outline-light:hover {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Dark-bg slide button using outline-dark */
.hero-slider .btn-outline-dark {
  border-width: 2px;
  font-weight: 700;
  padding: 0.65rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.hero-slider .btn-outline-dark:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media (max-width: 575.98px) {
  .hero-slider .carousel-item {
    min-height: auto;
  }
  .hero-slider .carousel-item > .container {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .hero-slider .btn {
    width: 100%;
  }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    display: none;
  }
}

/* ── Section label ─────────────────────────────────────── */
.section-label {
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* Orange left-border accent (jersey piping) */
.card-accent {
  border-left: 4px solid var(--brand-orange) !important;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(242, 103, 34, 0.1);
}
.icon-circle i {
  color: var(--brand-orange);
  font-size: 1.5rem;
}
.card-img-fixed {
  height: 180px;
  object-fit: cover;
}

/* ── Footer ────────────────────────────────────────────── */
footer h4 {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-orange);
}
footer a {
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--brand-orange) !important;
}
footer ul li {
  margin-bottom: 0.4rem;
}
@media (max-width: 575.98px) {
  .footer-links-col {
    flex: 0 0 100% !important;
    max-width: 100%;
  }
}

/* ── Weather row ───────────────────────────────────────── */
.weather-row {
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}
.weather-card {
  min-width: 160px;
  scroll-snap-align: start;
}
.weather-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.weather-icon-placeholder {
  width: 48px;
  height: 48px;
  line-height: 48px;
  display: inline-block;
  background: #f2f2f2;
  border-radius: 0.5rem;
  color: #777;
  font-weight: 600;
}
