:root {
    --primary-color: #00ffff;
    --background-dark: #121212;
    --background-darker: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --accent-red: #750f0f;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.main-nav {
    background-color: var(--background-darker);
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-color);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--background-darker);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--primary-color);
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.about-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-description {
    background-color: var(--background-darker);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

/* Stats Card */
.stats-card {
    background-color: var(--background-darker);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.stats-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.stats-list {
    list-style: none;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-list li:last-child {
    border-bottom: none;
}

.stat-value {
    color: var(--primary-color);
    font-weight: bold;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

.team-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--background-darker);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
}

.member-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--background-darker);
    border-top: 1px solid var(--primary-color);
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-grid {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--background-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }
}
/* Navigation Brand and Logo */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .team-logo {
        height: 30px;
    }
}
/* Logo Upload Styles */
.current-logo {
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--background-darker);
    border-radius: 4px;
    display: inline-block;
}

.current-logo img {
    max-width: 200px;
    height: auto;
}
/* Race Planning Page */
.race-planning {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-gray);
}

.races-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.race-card {
    background-color: var(--background-darker);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
}

.race-header {
    background-color: rgba(0, 255, 255, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid var(--primary-color);
}

.race-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.race-date {
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.race-details {
    padding: 1.5rem;
}

.detail-item {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-item label {
    color: var(--primary-color);
    font-weight: bold;
}

.strategy-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.strategy-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.strategy-item {
    background-color: rgba(0, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 4px;
}

.strategy-item label {
    display: block;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.strategy-item span {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
}

.stint-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stint-block {
    background-color: rgba(0, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.stint-block h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stint-block p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.no-races {
    text-align: center;
    padding: 3rem;
    background-color: var(--background-darker);
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .strategy-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stint-timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .strategy-grid,
    .stint-timeline {
        grid-template-columns: 1fr;
    }

    .race-header h2 {
        font-size: 1.25rem;
    }
/* General Button Styles */
.btn {  /* Common styles for ALL buttons */
    display: inline-block; /* Or inline-flex if you need flexbox features */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none; /* Remove default border */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.btn-secondary {
    background-color: var(--secondary-color); /* Or transparent, if you prefer */
    color: var(--text-light);
    border: 1px solid var(--primary-color); /* Add a border for secondary buttons */
}

/* Specific Button Styles */
.btn-edit {
    background-color: var(--edit-color); /* Example: #ffc107 */
    color: var(--background-dark);
}

.btn-delete {
    background-color: var(--delete-color); /* Example: #dc3545 */
    color: var(--background-dark);
}

/* Hover and Focus States */
.btn:hover {
    background-color: var(--hover-color); /* Slightly darker shade of primary/edit/delete color */
    transform: translateY(-2px); /* Slight lift on hover */
}

.btn:focus { /* For keyboard users */
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 0 2px var(--focus-color); /* Add a focus ring */
}


