/* Men With Ven - Mobile-First, High-Conversion CSS */
:root {
  --primary: #1a1441;
  --secondary: #3b82f6;
  --tertiary: #000;
  --cta-secondary: #f1edd4;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --success: #10b981;
  --warning: #f59e0b;
  --footer-bg-start: #1a1441;
  --footer-bg-end: #2d2d2d;
  --footer-text: #ffffff;
  --footer-text-muted: #b3b3b3;
  --bg: #fff;
  --page-bg: #f8fafc;
  --text: #1a1441;
  --text-secondary: #fff;
  --text-muted: #64748b;
  --white: #fff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-lg: 16px;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--accent) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--accent-light) 100%
  );
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
}
.main,
main {
  background: var(--page-bg);
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar */
nav {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

@media screen and (max-width: 700px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Hide only the desktop nav links in the nav-container */
  .nav-container > .nav-links {
    display: none;
  }

  /* But keep the mobile menu links visible */
  .mobile-menu .nav-links {
    display: flex !important;
  }
}
/* TO DO 
ADD a scroll effect to make the navbar sticky and hide the logo. */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--white) 1px 1px 5px;
}
.nav-phone {
  color: var(--text);
  background-color: var(--warning);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.nav-phone:hover,
.nav-phone:focus {
  color: var(--white);
  box-shadow: var(--accent) 5px 5px 5px;
  transform: translateZ(0.5rem) scale(1.1) !important;
}
/* Hero Section */
.hero {
  background-image: linear-gradient(
      rgba(26, 20, 65, 0.7),
      rgba(59, 130, 246, 0.6)
    ),
    url(../images/van1.JPEG);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 4rem 0 3rem 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.8;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}
.hero p {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.cta-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.cta-btn {
  background: var(--gradient-secondary);
  color: var(--text-secondary);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--warning) 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 200px;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover,
.cta-btn:focus {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  color: var(--white);
}

.cta-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.secondary-cta-btn {
  background: var(--white);
  color: var(--primary);
  padding: 1rem 2.5rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-align: center;
  min-width: 200px;
}

.secondary-cta-btn:hover,
.secondary-cta-btn:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.secondary-cta-btn:active {
  transform: translateY(-1px) scale(1.02);
}

strong {
  color: var(--warning);
}
.getInTouch {
  text-decoration: none;
  color: var(--cta-secondary);
}
/* Features & Benefits */
.features,
.features-list,
.benefits,
.services,
.testimonials,
.cta-section,
.contact-info,
.contact-form-section,
.about-intro,
.about-details,
.team,
.timeline,
.fleet,
.portfolio-projects,
.portfolio-header,
.portfolio-body,
.faq,
.newsletter,
.locations,
.cta,
.blog-header,
.blog-list,
.contact-intro,
.van1-header,
.van1-features,
.how-it-works,
.van1-details,
.van2-header,
.van2-feature,
.van2-features-list,
.van2-benefits,
.testimonials-more {
  background: var(--bg);
  color: var(--text);
  margin: 1.5rem 0;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta {
  text-align: center;
  border: 4px solid var(--warning);
}
.portfolio-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-item-title {
  color: var(--text-secondary);
}
/* Subpage headings and lists */
.about-intro h2,
.about-details h2,
.team h2,
.timeline h2,
.blog-header h2,
.blog-list h2,
.contact-intro h2,
.locations h2,
.van1-header h2,
.van1-features h2,
.how-it-works h2,
.van1-details h2,
.van2-header h2,
.van2-feature h2,
.van2-features-list h2,
.van2-benefits h2,
.testimonials-more h2 {
  margin-top: 0;
}

.blog-list ul,
.timeline ul,
.van1-features-list ul,
.van2-features-list ul {
  padding-left: 1.2rem;
}

.cta a.cta-btn {
  display: inline-block;
  margin-top: 0.5rem;
}

/* FAQ Section */
.faq-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--accent-light) 5px 5px 5px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--warning) 5px 5px 5px;
  transform: translateY(-2px);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.faq-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.benefits-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
}
.benefits-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}
.features-list ul,
.van1-features-list ul,
.van2-features-list ul {
  padding-left: 1.2rem;
}
.feature-list,
.service-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--text-secondary);
}
.feature-item,
.service-item {
  background: var(--primary);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.5s ease-in-out;
}
.service-item > h3 {
  color: var(--footer-text);
}
.container-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.service-item:hover {
  transform: translate(0, -1rem);
  background-color: var(--accent);
  color: var(--text-secondary);
}
.service-list {
  gap: 1.5rem;
}
.container-title {
  display: flex;
  color: var(--text);
  justify-content: center;
  align-items: center;
}

.container-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 30%;
}
@media screen and (max-width: 900px) {
  .container-title {
    justify-content: center;
    align-items: center;
  }
}
/* Testimonials - Google-style reviews */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.review-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1rem;
}
.review-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.reviewer .name {
  font-weight: 600;
  color: var(--text);
}
.review-date {
  color: #7a7a7a;
  font-size: 0.9rem;
}
.stars span {
  color: #fbbc04; /* Google star yellow */
  margin-right: 2px;
  font-size: 1rem;
}
.review-body {
  margin: 0.2rem 0 0 0;
  color: var(--text);
}
@media (min-width: 700px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
/* Quick Quote form inside CTA section */
.cta-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}
@media (min-width: 700px) {
  .cta-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-form textarea,
  .cta-form button[type="submit"] {
    grid-column: 1 / -1;
  }
}
input,
textarea,
button {
  font-family: inherit;
  font-size: 1rem;
}
input,
textarea {
  padding: 0.8rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--bg);
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
button[type="submit"] {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem 2.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--accent);
  transform: translateY(-2px) scale(1.03);
}
/*Work Page Heading - Provides whitespace */
.works-title {
  padding-top: 2rem;
}
/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1.2rem 0;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 2rem;
}
.footer-logo {
  color: var(--white);
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  display: inline-block;
  margin: 0 0.5rem;
}
footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover,
footer a:focus {
  color: var(--warning);
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 1rem;
  }

  .cta-btn,
  .secondary-cta-btn {
    min-width: auto;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .cta-container {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding: 2rem 0 1.5rem 0;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-phone {
    order: -1;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .container {
    width: 90%;
  }

  .cta-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-btn,
  .secondary-cta-btn {
    flex: 1;
    min-width: 180px;
    margin: 0.25rem;
  }
}

@media (min-width: 600px) {
  .feature-list,
  .service-list {
    flex-direction: row;
    justify-content: space-between;
  }
  .feature-item,
  .service-item {
    flex: 1 1 0;
    margin: 0 0.5rem;
  }
  .container {
    width: 85%;
  }

  .hero {
    background-attachment: scroll;
  }
}

@media (min-width: 900px) {
  .container {
    width: 80%;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .nav-links {
    gap: 2rem;
  }

  .hero {
    background-attachment: fixed;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 75%;
    max-width: 1200px;
  }
}

/* Mobile Menu Styles */
#open-sidebar-btn {
  display: none; /* Hidden by default on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

/* Ensure desktop nav is visible on desktop */
@media (min-width: 701px) {
  .nav-container > .nav-links {
    display: flex !important; /* Force display on desktop */
  }

  .mobile-menu {
    display: none; /* Hide mobile menu on desktop */
  }
}

#close-sidebar-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1002;
  transition: transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.mobile-menu.show #close-sidebar-btn {
  opacity: 1;
  visibility: visible;
}

#close-sidebar-btn:hover {
  transform: rotate(90deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--primary);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu .nav-links {
  flex-direction: column;
  padding: 3rem 0 2rem 0;
  margin: 0;
  list-style: none;
}

.mobile-menu .nav-links li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .nav-links a {
  display: block;
  padding: 1.5rem 2rem;
  width: 100%;
  text-align: left;
  border-radius: 0;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile responsive styles */
@media (max-width: 700px) {
  .hero {
    margin: 0px;
    padding: 1rem;
  }

  .nav-container {
    max-width: 100%;
  }

  .container-title {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Hamburger button visibility */
  #open-sidebar-btn {
    display: block; /* Show on mobile */
  }

  nav {
    position: relative;
  }
}

/* About Page Specific Styles */
.about-hero {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--white);
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary) 1px solid;
  box-shadow: var(--accent-light) 5px 5px 5px;
}

.value-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.value-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.timeline-container {
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-year {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 80px;
  text-align: center;
  height: fit-content;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.timeline-content p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.testimonials-intro {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Blog Page Specific Styles */
.blog-hero {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.blog-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.blog-hero p {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.2rem;
  margin: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gradient-secondary);
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-category {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.article-title {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

.article-excerpt {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--accent);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Responsive Design for About and Blog Pages */
@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    gap: 2rem;
  }

  .timeline-year {
    min-width: 100px;
  }

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

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-item {
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-year {
    align-self: flex-start;
  }

  .about-hero,
  .blog-hero {
    padding: 2rem 0;
  }

  .hero-subtitle,
  .blog-hero p {
    font-size: 1rem;
  }
}

/* Scroll Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Utility */
section > h2,
header > h1 {
  margin-top: 0;
}

.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;
}
