* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: #e74c3c;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}

header {
    position: sticky;
    top: 40px; /* Adjust this to match the height of your top-bar */
    z-index: 1000;
}
/* Navbar Styling */
.navbar {
    display: flex;
    height: 80px;
    width: 100%;
    background: #1b1b1b;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px 0 100px;
    flex-wrap: wrap;
}

.navbar .logo a {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
}

.navbar .logo span {
    color: #e74c3c; /* Classic Car Show Red */
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin: 0 5px;
}

.navbar ul li a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    background: #e74c3c;
    color: #fff;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.btn { 
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    margin-top: 20px;
}

/* Footer Styling */
footer {
    background: #111;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section { margin: 20px; min-width: 250px; }

/* Responsive Media Queries */
.menu-btn {
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: none;
}

#click { display: none; }

@media (max-width: 945px) {
    .navbar { padding: 0 40px; }
}

@media (max-width: 858px) {
    .menu-btn { display: block; }
    .navbar ul {
        position: fixed;
        top: 80px; /* This should match your navbar height */
        left: -100%;
        background: #111;
        height: calc(100vh - 80px); /* Fill the rest of the screen */
        width: 100%;
        text-align: center;
        display: block;
        transition: all 0.3s ease;
        z-index: 999;
    }
    #click:checked ~ ul { left: 0; }
    .navbar ul li { width: 100%; margin: 40px 0; }
    .navbar ul li a { font-size: 20px; display: block; }
}
/* Container for alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Top Bar Styling */
.top-bar {
    background: #e74c3c;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Text */
.main-title {
    color: #1b1b1b;
    margin: 20px 0;
    font-size: 1.8rem;
}

.intro-text {
    line-height: 1.6;
    color: #444;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive Video Wrapper */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 6-Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 15px;
    margin-bottom: 40px;
}

.grid-item {
    width: 100%;
    /* Set the desired height for all images here */
    height: 250px; 
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.grid-item img {
    width: 100%;
    height: 100%;
    /* This is the magic line: it crops the image to fill the area without stretching */
    object-fit: cover; 
    /* Optional: focuses the crop on the center of the car */
    object-position: center; 
    display: block;
}
/* Flyers Layout */
.flyer-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.flyer {
    max-width: 45%;
    height: auto;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Responsive adjustments for Mobile/Tablet */
/* Responsive adjustments */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-item {
        height: 200px; /* Slightly shorter on tablets */
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    .grid-item {
        height: 220px; /* Consistent height for mobile */
    }
}
/* Events Page Specific Styling */
.events-hero {
    background: #222;
    color: #fff;
    padding: 60px 0;
    border-bottom: 4px solid #e74c3c;
}

.event-card {
    background: #f9f9f9;
    padding: 40px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1000px;
}

.event-card h2 {
    color: #e74c3c;
    margin-bottom: 15px;
}

/* Flyer Layout for Events Page */
.flyer-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.flyer-item {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.flyer-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.flyer-item img:hover {
    transform: scale(1.02);
}

.flyer-item p {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}
.flyer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Adds space between the image and the button */
    margin-bottom: 20px;
}
.btn-download {
    display: inline-block;
    padding: 12px 25px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.btn-download:hover {
    background: #e74c3c;
}

/* Responsive Tablet/Mobile */
@media (max-width: 768px) {
    .flyer-item {
        min-width: 100%;
    }
    .event-card {
        padding: 20px;
    }
}
To ensure the flyers on the events.php page are perfectly centered and have equal widths regardless of their original dimensions, we will use a Flexbox container with a defined max-width.

Update the following section in your style.css:
Updated CSS for Events Page
CSS

/* Flyer Layout for Events Page */
.flyer-display {
    display: flex;
    justify-content: center; /* Centers the items horizontally */
    align-items: flex-start; /* Aligns them at the top */
    gap: 30px;               /* Space between the two flyers */
    margin: 40px auto;
    max-width: 1000px;       /* Limits the total width of the section */
}

.flyer-item {
    /* This forces both items to take up an equal 50% of the available space */
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centers the image and text within the item */
    text-align: center;
}

.flyer-item img {
    /* This makes the image fill its 50% container exactly */
    width: 100%; 
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.flyer-item img:hover {
    transform: scale(1.03);
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .flyer-display {
        flex-direction: column; /* Stacks images vertically on small screens */
        align-items: center;
    }

    .flyer-item {
        width: 100%;
        max-width: 500px; /* Prevents flyers from becoming too massive on mobile */
    }
}
.form-section { padding: 60px 0; background: #fff; }
.flex-container { display: flex; gap: 40px; flex-wrap: wrap; text-align: left; }

.info-box { flex: 1; min-width: 300px; }
.application-form { 
    flex: 1.5; 
    min-width: 300px; 
    background: #f4f4f4; 
    padding: 30px; 
    border-radius: 8px; 
    border-top: 5px solid #e74c3c;
}

.price-header { 
    background: #1b1b1b; 
    color: #fff; 
    padding: 15px; 
    text-align: center; 
    font-size: 1.4rem; 
    font-weight: bold; 
    margin-bottom: 20px; 
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px;
}

.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }

.captcha-row { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    background: #e74c3c22; 
    padding: 10px; 
    border-radius: 4px; 
}

.submit-btn {
    width: 100%; padding: 15px; background: #e74c3c; color: #fff; 
    border: none; font-weight: bold; cursor: pointer; margin-top: 20px; font-size: 1.1rem;
}

.check-list { list-style: none; padding: 20px 0; }
.check-list li { margin-bottom: 10px; font-size: 1.1rem; }
.check-list i { color: #e74c3c; margin-right: 10px; }

@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
}
/* Media Page Styling */
.media-section {
    padding: 60px 0;
    background: #fdfdfd;
}

.media-card {
    background: #fff;
    border-left: 5px solid #e74c3c;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

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

.media-date {
    display: inline-block;
    background: #1b1b1b;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 3px;
}

.media-card h2 {
    color: #1b1b1b;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 20px;
}

.read-more-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.media-list {
    margin: 20px 0;
    padding-left: 20px;
}

.media-list li {
    margin-bottom: 10px;
    color: #444;
}

/* Rules Box */
.rules-section {
    padding-bottom: 60px;
}

.rules-box {
    background: #1b1b1b;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
}

.rules-box h3 {
    color: #e74c3c;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rules-grid span {
    font-weight: bold;
    font-size: 1.1rem;
}

.rules-grid i {
    color: #e74c3c;
    margin-right: 10px;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .media-card h2 {
        font-size: 1.5rem;
    }
}
/* Contact Page Specifics */
.contact-section {
    padding: 60px 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.contact-detail-item i {
    color: #e74c3c;
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-detail-item strong {
    color: #1b1b1b;
}

/* Full Width Map Styling */
.map-section {
    line-height: 0; /* Removes small gap at bottom of iframe */
    width: 100%;
    margin-top: 40px;
}

.map-container {
    width: 100%;
}

.map-container iframe {
    display: block;
    filter: grayscale(20%); /* Optional: gives a slightly more "classic" feel */
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .contact-section .flex-container {
        flex-direction: column;
    }
    
    .map-container iframe {
        height: 350px;
    }
}
/* Main Footer Styles */
.main-footer {
    background: #1b1b1b;
    color: #ffffff;
    padding: 60px 0 0 0; /* No bottom padding because of footer-bottom */
    border-top: 5px solid #e74c3c; /* Matches your brand red */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: left;
}

.footer-col h3 {
    color: #e74c3c;
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* Footer Logo */
.footer-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #e74c3c;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #111;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.dev-tag {
    margin-top: 5px;
    font-size: 0.8rem;
}

.dev-tag i {
    color: #e74c3c;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
/* Footer Bottom Styling */
.footer-bottom {
    background: #111; /* Slightly darker than the main footer */
    padding: 20px 0;
    border-top: 1px solid #222;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between; /* Pushes text to left, logo to right */
    align-items: center; /* Vertically centers the text and the image */
}

.footer-bottom p {
    margin: 0; /* Removes default paragraph spacing */
}

/* Spider Web Hosting Logo Styling */
.footer-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-link:hover {
    transform: translateY(-2px); /* Subtle lift on hover */
    opacity: 0.8;
}

.footer-icon {
    height: 15px; /* Adjust this based on your specific image height */
    width: auto;  /* Maintains aspect ratio */
    display: block;
}

/* Responsive: Stack them on mobile */
@media (max-width: 600px) {
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px; /* Adds space between text and logo when stacked */
        text-align: center;
    }
}
/* Status Page Styles */
.status-section {
    padding: 100px 0;
    background: #f9f9f9;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.status-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid #ccc;
}

/* Success State */
.status-card.success {
    border-top-color: #27ae60;
}
.status-card.success .status-icon {
    color: #27ae60;
}

/* Error State */
.status-card.error {
    border-top-color: #e74c3c;
}
.status-card.error .status-icon {
    color: #e74c3c;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.status-card h2 {
    font-size: 2rem;
    color: #1b1b1b;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.status-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Action Buttons */
.status-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: #e74c3c;
    color: #fff;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-secondary {
    background: #333;
    color: #fff;
}

.btn-secondary:hover {
    background: #000;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .status-card {
        padding: 30px 20px;
    }
    .status-actions {
        flex-direction: column;
    }
}