/* Video Michigan - Main Stylesheet
 * (c) 1997-2026 AppWT Web & AI Solutions (AppWT LLC)
 * Brand Colors: Slate #1B2838, Cinematic Red #E63946, Platinum #F8F9FA, Obsidian #0F1923
 */

:root {
  --slate: #1B2838;
  --cinema: #E63946;
  --platinum: #F8F9FA;
  --obsidian: #0F1923;
  --white: #FFFFFF;
  --gray-light: #E9ECEF;
  --gray: #6C757D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: var(--platinum);
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cinema);
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

/* Header */
header {
  background: var(--slate);
  color: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--cinema);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: var(--cinema);
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 4px;
  min-width: 48px;
  min-height: 48px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--obsidian) 0%, #12202f 40%, var(--slate) 70%, #1e3348 100%);
  color: var(--white);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.4);
  border-radius: 30px;
  padding: 6px 20px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #E63946;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero .subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  margin-bottom: 24px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.hero-feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px 14px 16px;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(230,57,70,0.4);
  transform: translateY(-3px);
}

.hero-feature-icon {
  color: var(--cinema);
  margin-bottom: 10px;
  line-height: 1;
}

.hero-feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.hero-feature-desc {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.4;
  margin-bottom: 10px;
}

.hero-feature-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--cinema);
}

.hero-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 18px 30px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {
  text-align: center;
  padding: 0 24px;
}

.hero-stat-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--cinema);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.cta-button {
  display: inline-block;
  background: var(--cinema);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  min-height: 48px;
}

.cta-button:hover {
  background: #c9303c;
  transform: translateY(-2px);
  color: var(--white);
}

.cta-button-alt {
  display: inline-block;
  background: var(--slate);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  min-height: 48px;
}

.cta-button-alt:hover {
  background: #152030;
  transform: translateY(-2px);
  color: var(--white);
}

/* Section Styles */
section {
  padding: 60px 0;
  overflow-x: hidden;
}

section:nth-child(even):not(.hero) {
  background: var(--white);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--slate);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--slate);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-number {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  color: var(--cinema);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: var(--gray);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card.featured {
  border: 2px solid var(--cinema);
  position: relative;
}

.service-card.featured .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--cinema);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.service-title {
  font-size: 24px;
  color: var(--slate);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-price {
  font-size: 32px;
  color: var(--cinema);
  font-weight: 700;
  margin-bottom: 15px;
}

.service-price .unit {
  font-size: 16px;
  color: var(--gray);
  font-weight: 400;
}

.service-description {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 15px;
}

.service-card ul {
  list-style: none;
  margin: 20px 0;
}

.service-card li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.service-card li:before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--cinema);
  font-weight: 700;
}

/* FAQ Section */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-question {
  font-size: 20px;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 15px;
}

.faq-answer {
  color: #555;
  line-height: 1.7;
}

/* Content Blocks */
.content-block {
  background: var(--white);
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--cinema);
}

.speakable {
  background: var(--gray-light);
  padding: 20px;
  margin: 20px 0;
  border-radius: 6px;
  border-left: 4px solid var(--slate);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  font-size: 14px;
  color: var(--gray);
}

.breadcrumbs a {
  color: var(--slate);
}

.breadcrumbs span {
  margin: 0 8px;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--slate);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cinema);
}

/* Contact Info */
.contact-info {
  background: var(--slate);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  margin: 40px 0;
}

.contact-info h3 {
  color: var(--cinema);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-info a {
  color: var(--cinema);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.portfolio-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.portfolio-card .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--obsidian);
}

.portfolio-card .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.portfolio-card .card-body {
  padding: 25px;
}

.portfolio-card .card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 10px;
}

.portfolio-card .card-text {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

.portfolio-card .card-tag {
  display: inline-block;
  background: var(--gray-light);
  color: var(--slate);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

/* Timeline / About */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  background: var(--white);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--cinema);
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--cinema);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 10px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.value-card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.value-card h4 {
  color: var(--slate);
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--gray);
  font-size: 14px;
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-weight: 500;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
footer {
  background: var(--obsidian);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--cinema);
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--cinema);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  section, .section, .container {
    max-width: 100vw;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, h6, p, li, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: var(--obsidian);
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero {
    padding: 40px 0;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-stats-bar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
  }

  .hero-stat {
    padding: 0 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  section {
    padding: 40px 0;
  }

  .stats-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .cta-button,
  .cta-button-alt {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .service-card,
  .stat-card,
  .faq-item,
  .timeline-item {
    padding: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

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

  .hero-feature-card {
    padding: 14px 10px 12px;
  }

  .hero-feature-desc {
    font-size: 12px;
  }

  .hero-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  .section-title {
    font-size: 24px;
  }
}
