/* GameDay Bucket List - Carserv-inspired theme */
:root {
  --red: #d71920;
  --red-dark: #b9151b;
  --navy: #0a1128;
  --navy-light: #141d3a;
  --gray-bg: #f4f6f8;
  --text: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --font: "Roboto", "Segoe UI", sans-serif;
  --font-head: "Montserrat", var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--red-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.3;
  margin-top: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--white);
}

.top-social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  margin-left: 6px;
  font-size: 14px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: stretch;
  min-height: 80px;
}

.logo-wrap {
  background: var(--red);
  display: flex;
  align-items: center;
  padding: 12px 28px 12px 20px;
  position: relative;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  min-width: 240px;
}

.logo-wrap img {
  height: 48px;
  width: auto;
}

.nav-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 15px;
  gap: 8px;
}

.main-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 4px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: var(--red);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 17, 40, 0.88) 0%, rgba(10, 17, 40, 0.45) 55%, rgba(10, 17, 40, 0.2) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 80px 15px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 620px;
  margin-bottom: 18px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  font-size: 17px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white) !important;
  border: none;
  padding: 14px 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white) !important;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 3px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy) !important;
}

/* Section */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 0 auto 16px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* About overlap */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  padding: 28px 32px;
  max-width: 220px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  box-shadow: var(--shadow);
  z-index: 2;
}

.about-content {
  padding-left: 20px;
}

.signature {
  font-family: "Brush Script MT", cursive;
  font-size: 2rem;
  color: var(--navy);
  margin: 16px 0;
}

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

.service-card {
  background: var(--white);
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: 4px;
  transition: transform 0.25s ease;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 26px;
}

.service-card h4 {
  color: var(--red);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.read-more {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* Red ribbon */
.red-ribbon {
  background: var(--red);
  color: var(--white);
  padding: 70px 0;
}

.red-ribbon .ribbon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.red-ribbon h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.ribbon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ribbon-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.ribbon-list i {
  font-size: 28px;
  margin-top: 4px;
}

.ribbon-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-item:hover img {
  transform: scale(1.08);
}

.project-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

/* Video CTA */
.video-cta {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
}

.video-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 40, 0.82);
}

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

.video-cta h2 {
  color: var(--white);
  max-width: 500px;
  margin-bottom: 24px;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(215, 25, 32, 0.45);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

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

.team-photo {
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card h5 {
  margin-bottom: 4px;
}

.team-card span {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 40px;
}

.stat-box h3 {
  color: var(--red);
  font-size: 2.5rem;
  margin-bottom: 4px;
}

/* Guarantee bar */
.guarantee-bar {
  padding: 50px 0;
  background: var(--white);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.guarantee-item i {
  font-size: 42px;
  color: var(--red);
  margin-bottom: 12px;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 4px;
  overflow: hidden;
}

.blog-card .body {
  padding: 22px;
}

.blog-date {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-arrow {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

/* CTA strip */
.cta-strip {
  background: var(--red);
  padding: 28px 0;
}

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

.cta-strip h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.35rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}

.newsletter-form .form-success {
  width: 100%;
  margin-bottom: 10px;
}

.newsletter-form .field-error {
  width: 100%;
  margin-top: 8px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  border-radius: 3px 0 0 3px;
  min-width: 0;
}

.newsletter-form button {
  background: var(--red);
  border: none;
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 18px;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Page header */
.page-hero {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* Forms */
.form-card {
  background: var(--white);
  padding: 40px;
  box-shadow: var(--shadow);
  border-radius: 4px;
  max-width: 720px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c0392b;
}

.field-error {
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.field-error.visible {
  display: block;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin: 0.2rem 0 0;
  padding: 0;
  accent-color: var(--red);
  cursor: pointer;
  align-self: start;
  justify-self: start;
}

.checkbox-group label {
  grid-column: 2;
  grid-row: 1;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
  margin: 0;
  color: var(--text);
}

.checkbox-group label a {
  display: inline;
}

.checkbox-group .field-error {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding-left: calc(1.25rem + 12px);
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-success.visible {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.price-card.featured {
  border-top: 4px solid var(--red);
  transform: scale(1.03);
}

.price-header {
  background: var(--navy);
  color: var(--white);
  padding: 28px 20px;
}

.price-header h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
}

.price-body {
  padding: 28px 24px;
}

.price-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.price-body li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.price-body li i {
  color: var(--red);
  margin-right: 8px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
  border-radius: 4px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--red);
  opacity: 0.25;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f5a623;
  margin-bottom: 12px;
}

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 22px;
}

/* Brand strip */
.brand-strip {
  padding: 40px 0;
  background: var(--gray-bg);
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0.55;
  filter: grayscale(100%);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

/* Responsive */
@media (max-width: 991px) {
  .services-grid,
  .team-grid,
  .projects-grid,
  .blog-grid,
  .testimonial-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-block,
  .red-ribbon .ribbon-grid {
    grid-template-columns: 1fr;
  }

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

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

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

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

  .logo-wrap {
    min-width: 200px;
    clip-path: none;
    flex: 1;
  }

  .services-grid,
  .team-grid,
  .projects-grid,
  .blog-grid,
  .testimonial-grid,
  .pricing-grid,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .about-badge {
    left: 10px;
    bottom: 10px;
  }
}
