body { 
    font-family: Arial, sans-serif; margin: 0; padding: 0; 
}
header { 
    background: #2e3a4d; 
    color: #fff; 
    padding: 20px 0; 
    text-align: center; 
}
nav { 
    background: #1a2234; 
    padding: 10px 0; 
}
nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    text-align: center; 
}
nav ul li { 
    display: inline; 
    margin: 0 15px; 
}
nav ul li a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold; 
}
h2 { 
    color: #2e3a4d; 
    text-align: center; 
    margin-top: 20px; 
}
.banner {
    background: url('https://images.unsplash.com/photo-1511918984145-48de785d4c4e?auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}
section { 
    padding: 40px 20px; 
}
.inventory { 
    display: flex; 
    justify-content: space-around; 
    flex-wrap: wrap; 
}
.car-card {
    background: #f4f4f4;
    border: 1px solid #ddd;
    width: 300px;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    text-align: center;
}
.car-card img {
    width: 100%;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.car-details {
 max-width: 700px; 
 margin: 40px auto; 
 padding: 20px; 
 background: #f4f4f4; 
 border-radius: 8px; 
 box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hours-section {
    background-color: #f9f9f9;
    border-top: 2px solid #2e3a4d;
    padding: 20px 40px;
    margin-top: 40px;
    text-align: center;
    font-size: 1.1em;
    color: #2e3a4d;
}
.vehicle_title {
  font-size: 2.5em;      /* Larger font size */
  color: #2e3a4d;        /* Darker color for emphasis */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* Subtle shadow */
  font-weight: bolder;   /* Stronger weight */
  margin-bottom: 20px;   /* Spacing below */
  text-align: center;    /* Centered text */
}

.hours-section h2 {
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hours-table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 280px;
}

.hours-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

.hours-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.hours-table td:last-child {
    text-align: right;
}
#contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #f5f5f5; /* Light gray background */
    border: 1px solid #ddd;   /* Light gray border */
    border-radius: 8px;       /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional subtle shadow */
}


footer { 
    background: #2e3a4d; color: #fff; text-align: center; padding: 20px 0; margin-top: 40px; 
}

.container {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-control {
    flex: 1;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea.form-control {
    resize: vertical;
    min-height: 180px; /* Adjust this height as needed */
    min-width: 95%;
}


.btn-submit {
    background-color: #2e3a4d;
    color: white;
    border: none;
    padding: 12px 18px;
    width: 100%;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #1a2234;
}

.filter-bar {
  background: #f4f4f4;
  padding: 20px;
  text-align: center;  /* Center filters horizontally */
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center horizontally */
  gap: 15px;
}

.filter-bar label, .filter-bar select {
  font-weight: bold;
  font-size: 1em;
  padding: 5px 10px;
  min-width: 120px;
}

.return {
    display: inline-block; 
    padding: 12px 24px; 
    margin-top: 20px; 
    background: #2e3a4d; 
    color: white; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: bold;
    cursor: pointer;
}

/* Responsive form adjustments */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
    }
    .inventory { 
        flex-direction: column; align-items: center; 
    }
    .car-card { 
        width: 90%; 
    }
    #inventory {
        padding-left: 5px;
        padding-right: 30px;
    }
    .hours-section {
        padding: 15px 20px;
        font-size: 1em;
    }

    .hours-table {
        width: 100%;
        max-width: 320px;
    }

    .hours-table td {
        padding: 10px 8px;
        font-size: 0.95em;
    }
      .filter-bar {
    flex-direction: column;
    align-items: center;
  }

  .filter-bar label, .filter-bar select {
    min-width: 80%;
    margin-bottom: 10px;
  }
}
