/* Reset + Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    color: #f2f2f2;
    background-color:#333
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: #000 url('/static/images/carbon-fibre.png') repeat;
    background-size: 200px 200px;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar .logo {
    font-size: 2rem;
    font-weight: 700;
    color: #e50914;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}
.navbar ul {
    margin-left: 20px;
    list-style: none;
}
.navbar ul li a {
    margin-left: 20px;
    color: #ccc;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}
.navbar ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: #e50914;
    transition: width 0.3s;
}
.navbar ul li a:hover::after {
    width: 100%;
}
.navbar ul li a:hover {
    color: #fff;
}

.hero {
    position: relative;
    height: 95vh;
    background: url('/static/images/hero.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* slightly transparent overlay */
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-content a.cta {
    margin-top: 2rem;
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #e50914, #ff5e62);
    border: none;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
    transition: all 0.3s ease;
}
.hero-content a.cta:hover {
    background: linear-gradient(135deg, #ff2d2d, #e50914);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.8);
}

/* Footer */
footer {
    background: #000 url('/static/images/carbon-fibre.png') repeat;
    background-size: 200px 200px;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: #777;
    border-top: 1px solid #222;
}
footer p {
    margin: 0.3rem 0;
    letter-spacing: 0.5px;
}
.listings-page {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.listings-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.search-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-filter input,
.search-filter select {
    padding: 0.7rem 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #f2f2f2;
    border-radius: 6px;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
}

.search-filter input::placeholder {
    color: #777;
}

.listing-results {
    text-align: center;
    margin: 3rem 0;
}

.empty-message {
    font-size: 1.2rem;
    color: #aaa;
}
.empty-message a {
    color: #e50914;
    font-weight: 500;
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination button {
    background: #1a1a1a;
    color: #f2f2f2;
    border: 1px solid #444;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.pagination button.active,
.pagination button:hover {
    background: #e50914;
    color: #fff;
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.contact-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem 2.5rem;
    background: #121212;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
    color: #ddd;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
  }
  
  .contact-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
  }
  
  .contact-section p {
    margin-bottom: 1.3rem;
    font-size: 1.1rem;
    color: #bbb;
  }
  
  .contact-section a {
    color: #e50914;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .contact-section a:hover {
    color: #ff2d2d;
    text-decoration: underline;
  }
  
  .contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    align-items: center;
    color: #ddd;
  }
  
  .contact-content {
    flex: 1 1;
    font-family: 'Inter', sans-serif;
  }
  
  .contact-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  .contact-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #bbb;
  }
  
  .contact-content a {
    color: #e50914;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .contact-content a:hover {
    color: #ff2d2d;
    text-decoration: underline;
  }
  
  .contact-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }
  
  .contact-box {
    display: inline-block;
    background: #1e1e1e;
    border: 2px solid #e50914;
    color: #e50914;
    padding: 0.3rem 0.8rem;
    margin: 0 0.3rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .contact-box a {
    color: inherit;
    text-decoration: none;
  }
  
  .contact-box:hover {
    background: #e50914;
    color: #121212;
  }
  
  .contact-boxes {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center; /* added to center if smaller */
    max-width: 900px; /* ensure container width */
    margin: 0 auto; /* center horizontally */
  }
  
  .contact-box {
    flex: 1 1 45%;
    min-width: 280px; /* prevent too narrow boxes */
    background: #1e1e1e;
    border: 2px solid #e50914;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .contact-box:hover a {
    color: #ffffff; /* Make links white on hover */
    text-decoration: none;
  }
  
  .contact-wrapper {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    color: #ddd;
    font-family: 'Inter', sans-serif;
  }
  
  /* Main content + image side by side */
  .contact-main {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
  }
  
  .contact-content {
    flex: 1 1;
  }
  
  .contact-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
  }
  
  .contact-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #bbb;
  }
  
  .contact-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }
  
  /* Contact boxes container */
  .contact-boxes {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  /* Individual box style */
  .contact-box {
    flex: 1 1 45%;
    background: #1e1e1e;
    border: 2px solid #e50914;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .contact-box h2 {
    font-size: 1.8rem !important;
    color: #e50914;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .contact-box h2:hover{
    color: #fff;
  }

  .contact-box:hover {
    color: #fff;
  }

  .contact-box a {
    color: #ddd;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
  }
  
  .contact-box:hover {
    background: #e50914;
    color: #121212;
    cursor: pointer;
  }
  
  .contact-box:hover a {
    color: #121212;
    text-decoration: none;
  }

  .contact-box:hover h2 {
    color: #fff;
    text-decoration: none;
  }

  /* Responsive for small screens */
  @media (max-width: 600px) {
    .contact-main {
      flex-direction: column;
    }
    .contact-image {
      margin-top: 2rem;
    }
    .contact-boxes {
      flex-direction: column;
    }
    .contact-box {
      flex: 1 1 100%;
    }
  }
  

  .fleet-wrapper {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    font-family: 'Inter', sans-serif;
    color: #ddd;
  }
  
  .fleet-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
  }
  
  .fleet-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #bbb;
  }
  
  .fleet-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #e50914;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .fleet-cta:hover {
    background: #ff2b2b;
  }
  
  .fleet-image-footer {
    margin-top: 3rem;
  }
  
  .fleet-image-footer img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }
  /* Base nav styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    position: relative;
  }
  
  .logo a {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
  }
  
  .nav-links {
    list-style: none;
    display: none;
    gap: 0px;
  }
  
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
  }
  
  .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e50914;
    transition: 0.3s ease;
  }
  
  .nav-links li a:hover::after {
    width: 100%;
  }
  
  /* Burger icon (hidden by default on desktop) */
  .nav-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .nav-toggle {
      display: block;
    }
  
    .nav-links {
      flex-direction: column;
      background: #121212;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      display: none;
      gap: 0px;
    }
  
    .nav-links li {
        padding: 0.75rem 1rem;
        margin: 0;
        line-height: 1.2;
        border-top: 1px solid #333;
    }
    
    .nav-links li:last-child {
    border-bottom: 1px solid #333;
    }
      
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      padding: 1rem;
      border-top: 1px solid #333;
    }
  }
  
.nav-links {
  display: flex;
  gap: 0px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide by default on mobile */
    flex-direction: column;
    background: #121212;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
  }

  .nav-links.active {
    display: flex; /* Show when toggled */
  }

  .nav-toggle {
    display: block;
  }
}
