/* Base Styles */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #111; /* Dark background for a luxury feel */
    color: #ddd;
    line-height: 1.6;
}

/* Header */
header {
    background: black;
    color: white;
    text-align: center;
    padding: 20px 0;
    letter-spacing: 2px;
    font-size: 24px;
    font-weight: 500;
    border-bottom: 2px solid #444;
}

/* Navigation Bar */
nav {
    background: #1a1a1a;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #333;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #d4af37; /* Lexus gold accent */
}

/* Container for Content */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: #1a1a1a;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

/* Section Headings */
.container h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

/* Hero Section */
.hero {
    background: url('images/hero-lexus.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
    border-bottom: 3px solid #d4af37;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px black;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px black;
}

/* Button Styling */
.button {
    display: inline-block;
    padding: 12px 25px;
    background: #d4af37;
    color: black;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
}

.button:hover {
    background: white;
    color: black;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    background: #222;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    width: 250px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    background: #333;
}

.feature h3 {
    margin-bottom: 10px;
    color: #d4af37;
}

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

.gallery-item {
    text-align: center;
    background: #222;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item img {
    max-width: 100%;
    border-radius: 5px;
}

.gallery-item:hover {
    transform: scale(1.05);
    background: #333;
}


/* Models Page Grid Layout */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Model Cards */
.model-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.model-card:hover {
    transform: translateY(-5px);
    background: #222;
}

/* Image Styling */
.model-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;  /* Makes all images same size */
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Model Card Text */
.model-card h3 {
    color: #d4af37; /* Lexus gold accent */
    margin: 10px 0 5px;
}

.model-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.about-page h2 {
    color: #d4af37; /* Lexus gold accent */
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-page p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc; /* Lighter text for dark background */
    margin-bottom: 20px;
}

/* Timeline Styling for Dark Theme */
.timeline {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.timeline li {
    background: #222;  /* Dark background for cards */
    margin: 10px 0;
    padding: 10px;
    border-left: 4px solid #d4af37;
    font-size: 15px;
    color: #ddd;
    transition: background 0.3s;
    border-radius: 5px;
}

.timeline li:hover {
    background: #333; /* Slightly lighter hover effect */
}

