@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Immortal Automotive - Black & Blue Theme */

body {
    background-color: #0a0a0a; /* Pure black background */
    color: #e0e0e0; /* Light grey text */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #1a1a1a; /* Dark grey container */
    border-radius: 8px;
    border: 1px solid #003366;
}

/* Header & Navigation */
header {
    background-image: url('images/header-background.jpg'); /* Your car image */
    background-size: cover; /* Ensures the image covers the whole header area */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    color: #ffffff;
    padding: 80px 0 30px 0; /* Increased padding to give more space for the image */
    text-align: center;
    border-bottom: 4px solid #007bff; /* Bright blue accent */
    position: relative; /* Needed for the overlay */
}

/* This creates a semi-transparent dark blue overlay on the image */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 31, 63, 0.7); /* Dark navy blue with 70% opacity */
    z-index: 1; /* Puts the overlay above the image but below the text */
}

/* Make sure the text is above the overlay */
header h1, header .slogan {
    position: relative;
    z-index: 2;
}
header h1 {
    margin: 0;
    font-family: 'Great Vibes', cursive; /* This is the fancy font */
    font-size: 3.5em; /* Made it bigger to stand out */
    font-weight: normal; /* Fancy fonts often look better this way */
    color: #FFD700; /* This is your gold color */
    text-shadow: 0 0 5px #C0C0C0, 0 0 10px #C0C0C0, 0 0 15px #C0C0C0; /* This creates the glowing silver outline */
}

header .slogan {
    margin: 5px 0 0;
    font-size: 1.3em;
    font-style: italic;
    color: #a0cfff; /* Lighter blue */
}

nav {
    display: flex;
    justify-content: center;
    background-color: #003366; /* Medium blue */
}

nav a {
    color: #ffffff;
    padding: 14px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

nav a:hover {
    background-color: #005f99; /* Lighter blue hover */
}

/* Homepage Buttons */
.button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.button-link {
    display: block;
    background-color: #005f99;
    color: #ffffff;
    padding: 25px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.button-link:hover {
    background-color: #007bff;
    border-color: #ffffff;
    transform: translateY(-5px);
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    background-color: #2a2a2a;
    border: 1px solid #003366;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    margin: 0;
    font-style: italic;
}

/* Services Page */
.services-list {
    list-style-type: none;
    padding: 0;
}

.services-list li {
    background-color: #2a2a2a;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 5px solid #007bff;
    font-size: 1.1em;
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: -10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    box-sizing: border-box; /* Fixes padding issue */
    border-radius: 4px;
    border: 1px solid #333;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-size: 1em;
}

.contact-form button {
    background-color: #007bff;
    color: #ffffff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #005f99;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: #888;
    border-top: 1px solid #003366;
}