:root {
    --primary: #57150B;
    --secondary: #FFCC00;
    --background: #000000;
    --text: #ffffff;
    --accent: #FF4500;
    --card-bg: #1A1A1A;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1168px;
    margin: 0 auto;
    padding: 0 0rem;
}

header {
    background: linear-gradient(to bottom, var(--primary), transparent);
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 10px;
}

.logo img {
    width: 6rem;
    height: auto;
    margin-right: 0.5rem;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
}
.nav-list.active {
    display: flex;
}
.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.mobile-menu-toggle {
    display: none;
    background-color: var(--secondary);
    
}

.rocket-showcase {
    position: relative;
    padding: 4rem 0;
    background: black;
    overflow: hidden;
    min-height: 600px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.year-buttons {
    position: relative;
    z-index: 3;
    margin-bottom: 3rem;
}

.year-button {
    background: rgba(87, 21, 11, 0.8);
    border: 2px solid transparent;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-button:hover,
.year-button.active {
    background: var(--accent);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

.showcase-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.model-card,
.info-card {
    flex: 1;
    background-color: var(--background);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.model-card {
    position: relative;
    background: transparent;
    border-radius: 12px;
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#rocket-canvas {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}
.info-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.info-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-card .spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.info-card .spec-label {
    font-weight: 600;
    color: var(--secondary);
}
.specs {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.spec-item:hover {
    transform: translateX(5px);
    background: rgba(255, 204, 0, 0.1);
}

.spec-label {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    background-color: var(--primary);
    border: none;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-button:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

.rocket-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 204, 0, 0.2) 0%,
        rgba(255, 204, 0, 0.1) 30%,
        rgba(255, 69, 0, 0.05) 60%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite alternate;
}

.rocket-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(255, 69, 0, 0.3) 0%,
        rgba(255, 69, 0, 0.1) 40%,
        transparent 60%
    );
    border-radius: 50%;
    filter: blur(30px);
}
.nav-button svg {
    width: 24px;
    height: 24px;
}

#carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

@media screen and (max-width: 768px) {
    .rocket-showcase {
        padding: 2rem 0;
    }

    .showcase-content {
        flex-direction: column;
        gap: 2rem;
    }

    .model-card {
        min-height: 300px;
    }

    .info-card h2 {
        font-size: 2rem;
    }

    .rocket-glow {
        width: 200px;
        height: 200px;
    }
}
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--secondary);
}

.nav-button {
    background-color: var(--primary);
    border: none;
    color: var(--text);
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: var(--accent);
}

.section-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.stats-section {
    background-color: transparent;
    padding: 4rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: var(--background);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

.stat-content {
    text-align: center;
}

.stat-label {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 0;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-point {
    position: absolute;
    left: -2.5rem;
    width: 2rem;
    height: 2rem;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
}

.timeline-time {
    font-weight: bold;
    color: var(--secondary);
}

.timeline-title {
    margin: 0.5rem 0;
}

footer {
    background: linear-gradient(to top, var(--primary), var(--background));
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background:linear-gradient(to bottom, var(--background), var(--primary));
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        display: flex;
        color:#FFCC00;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 0.5rem 0;
    }

    /* Hide separators on mobile */
    .nav-list li[style*="color: #FFCC00"] {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--secondary);
        margin: 5px 0;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .model-card, .info-card {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
