/* Main CSS File for Cenos Tuning Website */

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-bg: #0a0a0a;
    --secondary-bg: #141414;
    --dark-accent: #1a1a1a;
    --gold: #daa520;
    --gold-light: #f1c054;
    --red: #d62828;
    --white: #ffffff;
    --light-gray: #aaaaaa;

    /* Font Sizes */
    --font-xl: 3.5rem;
    --font-lg: 2.5rem;
    --font-md: 1.8rem;
    --font-sm: 1.2rem;
    --font-xs: 1rem;

    /* Spacing */
    --space-xl: 5rem;
    --space-lg: 3rem;
    --space-md: 2rem;
    --space-sm: 1rem;
    --space-xs: 0.5rem;
}

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

html {
    scroll-behavior: smooth;
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
} */

a {
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

/* ===== GLOW TEXT ===== */
.glow-text {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
    letter-spacing: 2px;
}

/* ===== NAVIGATION =====
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links li a {
    font-weight: 600;
    font-size: var(--font-xs);
    text-transform: uppercase;
    padding: 5px 10px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--white);
} */

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    position: relative;
    margin-top: 0;
    text-align: center;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    font-weight: 800;
}

.hero p {
    font-size: var(--font-md);
    margin-bottom: var(--space-md);
    color: var(--light-gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: var(--font-xs);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.race-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="50" viewBox="0 0 200 50"><rect x="0" y="0" width="25" height="50" fill="%23ffffff"/><rect x="25" y="0" width="25" height="50" fill="%23000000"/><rect x="50" y="0" width="25" height="50" fill="%23ffffff"/><rect x="75" y="0" width="25" height="50" fill="%23000000"/><rect x="100" y="0" width="25" height="50" fill="%23ffffff"/><rect x="125" y="0" width="25" height="50" fill="%23000000"/><rect x="150" y="0" width="25" height="50" fill="%23ffffff"/><rect x="175" y="0" width="25" height="50" fill="%23000000"/></svg>');
    background-repeat: repeat-x;
    z-index: 1;
}

.race-track.bottom {
    bottom: auto;
    top: 0;
}

/* ===== CHECKERED FLAGS ===== */
.checkered-flag-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect x="0" y="0" width="20" height="20" fill="%23ffffff"/><rect x="20" y="0" width="20" height="20" fill="%23000000"/><rect x="0" y="20" width="20" height="20" fill="%23000000"/><rect x="20" y="20" width="20" height="20" fill="%23ffffff"/></svg>');
    transform: rotate(10deg);
    z-index: 1;
    opacity: 0.5;
}

.checkered-flag-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect x="0" y="0" width="20" height="20" fill="%23ffffff"/><rect x="20" y="0" width="20" height="20" fill="%23000000"/><rect x="0" y="20" width="20" height="20" fill="%23000000"/><rect x="20" y="20" width="20" height="20" fill="%23ffffff"/></svg>');
    transform: rotate(-10deg);
    z-index: 1;
    opacity: 0.5;
}

.flag-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="80" viewBox="0 0 400 80"><path d="M0,40 Q100,80 200,40 T400,40 V80 H0 Z" fill="%23000000"/><rect x="0" y="40" width="25" height="20" fill="%23ffffff"/><rect x="50" y="40" width="25" height="20" fill="%23ffffff"/><rect x="100" y="40" width="25" height="20" fill="%23ffffff"/><rect x="150" y="40" width="25" height="20" fill="%23ffffff"/><rect x="200" y="40" width="25" height="20" fill="%23ffffff"/><rect x="250" y="40" width="25" height="20" fill="%23ffffff"/><rect x="300" y="40" width="25" height="20" fill="%23ffffff"/><rect x="350" y="40" width="25" height="20" fill="%23ffffff"/></svg>');
    background-repeat: repeat-x;
    z-index: 1;
    opacity: 0.8;
}

.flag-wave.right {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

.checkered-divider {
    height: 10px;
    width: 200px;
    margin: 15px auto;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10" viewBox="0 0 20 10"><rect x="0" y="0" width="10" height="10" fill="%23ffffff"/><rect x="10" y="0" width="10" height="10" fill="%23000000"/></svg>');
    background-repeat: repeat-x;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: var(--font-lg);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.achievement-card {
    background-color: rgb(48, 47, 47);
    border-radius: 10px;
    padding: var(--space-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgb(48, 47, 47);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

.achievement-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.2);
}

.achievement-card h3 {
    font-size: var(--font-sm);
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.achievement-card p {
    font-size: var(--font-md);
    font-weight: 700;
    color: var(--gold);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background-color: var(--dark-accent);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-sm);
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    height: 250px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    border-color: var(--gold);
}

/* ===== COMPARISON SECTION ===== */
.comparison-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
}

.comparison-card {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: var(--space-md);
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.comparison-card.stock {
    border-top: 4px solid #3498db;
}

.comparison-card.cenos {
    border-top: 4px solid var(--gold);
}

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

.comparison-card h3 {
    font-size: var(--font-sm);
    text-align: center;
    margin-bottom: var(--space-sm);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-card ul {
    list-style: none;
}

.comparison-card ul li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.comparison-card ul li:last-child {
    border-bottom: none;
}

.comparison-card.stock ul li span:last-child {
    color: #3498db;
    font-weight: 600;
}

.comparison-card.cenos ul li span:last-child {
    color: var(--gold);
    font-weight: 600;
}

.vs-badge {
    background-color: gold;
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: var(--font-md);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--primary-bg);
    z-index: 2;
}

.performance-graph {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.performance-graph h3 {
    text-align: center;
    margin-bottom: var(--space-md);
    font-size: var(--font-sm);
}

.graph-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.graph-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.graph-label {
    font-weight: 600;
    font-size: var(--font-xs);
}

.graph-bars {
    height: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bar {
    height: 12px;
    border-radius: 6px;
    position: relative;
}

.bar.stock {
    background-color: #3498db;
    width: attr(data-percentage);
}

.bar.cenos {
    background-color: var(--gold);
    width: 100%;
}

.graph-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: var(--light-gray);
}

/* ===== HISTORY SECTION ===== */
.history-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.history-image {
    flex: 1;
    min-width: 300px;
}

.history-image img {
    border-radius: 10px;
    width: 100%;
}

.history-text {
    flex: 1;
    min-width: 300px;
}

.history-text h3 {
    font-size: var(--font-md);
    margin-bottom: var(--space-sm);
    color: var(--gold);
}

.history-text p {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: var(--space-md);
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--gold);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    width: 50%;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    right: -8px;
    top: 30px;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

.timeline-content {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--gold);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--gold);
}

.timeline-content h4 {
    color: var(--gold);
    margin-bottom: 10px;
}

/* ===== BUILD LIST SECTION ===== */


.build-category {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: var(--space-md);
    transition: transform 0.3s ease;
}

.build-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.build-category h3 {
    font-size: var(--font-sm);
    color: var(--gold);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.build-category ul li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 20px;
}

.build-category ul li:last-child {
    border-bottom: none;
}

.build-category ul li::before {
    content: '➤';
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* ===== MAINTENANCE SECTION ===== */
.maintenance-container {
    max-width: 1100px;
    margin: 0 auto;
}

.maintenance-info {
    text-align: center;
    margin-bottom: var(--space-md);
}

.maintenance-info h3 {
    font-size: var(--font-md);
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.maintenance-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.maintenance-card {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: var(--space-md);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.maintenance-icon {
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 15px;
}

.maintenance-card h4 {
    font-size: var(--font-sm);
    margin-bottom: 15px;
    color: var(--white);
}

.maintenance-card ul li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.maintenance-card ul li:last-child {
    border-bottom: none;
}

.maintenance-notes {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: var(--space-md);
}

.maintenance-notes h3 {
    font-size: var(--font-sm);
    color: var(--gold);
    margin-bottom: 15px;
}

.maintenance-notes ul {
    padding-left: 20px;
}

.maintenance-notes ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer-content {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: var(--space-md);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-content h3 {
    color: var(--red);
    margin-bottom: 15px;
    font-size: var(--font-sm);
}
.caption-content h3 {
    color: goldenrod;
    margin: 15px;
    text-align: center;
    font-size: 40px;
}

.disclaimer-content p {
    font-size: 0.9rem;
    color: var(--light-gray);
}


/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
    :root {
        --font-xl: 2.5rem;
        --font-lg: 2rem;
        --font-md: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 70px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 22px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 22px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 3px solid var(--gold);
        border-right: none;
    }
}

