/* ============================================
   Midwest Storage Solutions - Corporate Site
   ============================================ */

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #c8232a;
  --red-hover: #a81d23;
  --red-light: #3a1a1a;
  --accent: #d4813a;
  --dark: #1a1a1a;
  --darker: #111111;
  --dark-mid: #2a2a2a;
  --dark-card: #2d2d2d;
  --white: #ffffff;
  --light: #f5f5f5;
  --gray: #888888;
  --text: #333333;
  --text-light: #e8e8e8;
  --text-muted: #737373;
  --border: #e0e0e0;
  --green: #6b9b6b;
  --warm-bg: #f5efe8;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--red);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus {
  top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--dark-card);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}


.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  color: var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text-light);
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--white);
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.btn-contact {
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}

.btn-contact:hover {
  background: var(--white);
  color: var(--dark);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.4) 50%, rgba(26,26,26,0.6) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--dark-card) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}


/* ============================================
   FEATURES BAR
   ============================================ */
.features {
  padding: 60px 0;
  background: var(--dark-card);
  border-bottom: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: left;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--white);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   SERVICES INTRO
   ============================================ */
.services-intro {
  padding: 80px 0;
  background: var(--light);
}

.services-intro-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.services-intro-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.services-intro-header p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
}

.service-card-bg.climate {
  background: url('../img/indoor-storage.jpg') center/cover no-repeat;
}

.service-card-bg.driveup {
  background: url('../img/driveup.webp') center/cover no-repeat;
}

.service-card-bg.flex {
  background: url('../img/flex.webp') center/cover no-repeat;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.service-card-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.service-card-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.service-card-link {
  display: inline-block;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  transition: all var(--transition);
}

.service-card-link:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ============================================
   SERVICE DETAIL SECTIONS
   ============================================ */
.service-detail {
  padding: 80px 0;
}

.service-detail:nth-child(even) {
  background: var(--light);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail.reverse .service-detail-inner {
  direction: rtl;
}

.service-detail.reverse .service-detail-inner > * {
  direction: ltr;
}

.service-detail-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  margin-bottom: 20px;
}

.service-detail h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.service-detail-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 3;
}

.service-detail-list li strong {
  color: var(--dark);
}

.service-detail-list li span {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}


.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  padding: 60px 0;
  background: var(--dark);
  color: var(--white);
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 60px;
  align-items: center;
}

.stats h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   LEADERSHIP
   ============================================ */
.leadership {
  padding: 80px 0;
  background: var(--light);
}

.leadership-header {
  text-align: center;
  margin-bottom: 48px;
}

.leadership-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.leader-card {
  text-align: center;
}

.leader-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--dark);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  filter: grayscale(100%);
}

.leader-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.leader-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.leader-bio {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
  }

  .leader-photo {
    width: 160px;
    height: 160px;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  margin-bottom: 16px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--warm-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

/* ============================================
   MISSION
   ============================================ */
.mission {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}

.mission-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.mission blockquote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-light);
  max-width: 900px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 32px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.footer-contact-item a {
  color: var(--gray);
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--red);
}

.footer-bottom {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-intro-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail.reverse .service-detail-inner {
    direction: ltr;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    order: 1;
  }

  .logo {
    order: 2;
    flex: 1;
    justify-content: flex-end;
  }

  .logo .logo-img {
    height: 32px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    flex-basis: 100%;
    padding: 16px 0;
    gap: 4px;
    order: 4;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius);
  }

  .header-right {
    display: none;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .services-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    height: 240px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }


  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
  }

  .feature-icon {
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    align-self: start;
    margin-top: 2px;
  }

  .feature-item h3 {
    margin-bottom: 4px;
  }

  .feature-item p {
    grid-column: 2;
  }

  .hero-inner {
    padding: 60px 24px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.header :focus-visible,
.hero :focus-visible,
.features :focus-visible,
.stats :focus-visible,
.mission :focus-visible {
  outline-color: var(--white);
}
