/* Velocity Motors - Style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: white;
    line-height: 1.6;
}

header {
    background-color: #0f0f0f;
    padding: 0.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e63946;
}

main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #ccc;
    font-weight: 300;
}

.btn {
    background-color: #e63946;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #d32f3f;
    transform: translateY(-2px);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #e63946;
}

h1 {
    text-transform: uppercase;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.car-card p {
    padding: 0 1rem;
    color: #e63946;
    font-weight: bold;
}

.car-card .btn {
    margin: 1rem;
    display: inline-block;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #e63946;
}

.form-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-form, .signup-form {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.login-form h2, .signup-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #e63946;
}

footer {
    background-color: #0f0f0f;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
}

.hamburger-toggle {
    display: none;
}

.hamburger-icon {
    display: none;
    font-size: 3rem;
    color: #e63946;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hamburger-icon {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0f0f0f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .hamburger-toggle:checked ~ .nav-links {
        max-height: 500px;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e63946;
}

main {
    margin-top: 80px; /* Account for fixed header */
}

.hero {
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), url('https://via.placeholder.com/1920x600/0f0f0f/e63946?text=Velocity+Motors') center/cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #e63946;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #d32f3f;
    transform: translateY(-2px);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #e63946;
}

h1 {
    text-transform: uppercase;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.car-card p {
    padding: 0 1rem;
    color: #e63946;
    font-weight: bold;
}

.car-card .btn {
    margin: 1rem;
    display: inline-block;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #e63946;
}

.form-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-form, .signup-form {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.login-form h2, .signup-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #e63946;
}

footer {
    background-color: #0f0f0f;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
}

.hamburger-toggle {
    display: none;
}

.hamburger-icon {
    display: none;
    font-size: 1.5rem;
    color: #e63946;
    cursor: pointer;
}

@media (max-width: 768px) {
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e63946;
}

main {
    margin-top: 80px; /* Account for fixed header */
}

.hero {
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), url('https://via.placeholder.com/1920x600/0f0f0f/e63946?text=Velocity+Motors') center/cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #e63946;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #d32f3f;
    transform: translateY(-2px);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #e63946;
}

h1 {
    text-transform: uppercase;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.car-card p {
    padding: 0 1rem;
    color: #e63946;
    font-weight: bold;
}

.car-card .btn {
    margin: 1rem;
    display: inline-block;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #e63946;
}

.form-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-form, .signup-form {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.login-form h2, .signup-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #e63946;
}

footer {
    background-color: #0f0f0f;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
}

.hamburger-toggle {
    display: none;
}

.hamburger-icon {
    display: none;
    font-size: 1.5rem;
    color: #e63946;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hamburger-icon {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0f0f0f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .hamburger-toggle:checked ~ .nav-links {
        max-height: 500px;
    }
    .nav-links li {
        margin: 1rem 0;
    }
}