
@font-face {
    font-family: 'Porsche Next';
    src: url('fonts/Porsche Next.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: '911 Porscha';
    src: url('fonts/911 Porscha.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #0f0f0f;
    --secondary-color: #1a1a1a;
    --accent-color: #00c8ff;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Porsche Next', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Porsche Next', sans-serif;
}

.hero {
    height: 100vh;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.4)), url('images/home.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    padding: 0 10%;
    width: 100%;
}

.hero h1 {
    font-family: '911 POrscha', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero p {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 4px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.features {
    padding: 100px 5%;
    background-color: var(--secondary-color);
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature {
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 30px;
    position: relative;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature h2 {
    font-family: 'Porsche Next', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.feature-content {
    margin-top: 20px;
}

.feature-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.feature-showcase {
    margin-top: 20px;
    height: 150px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-showcase-text {
    color: var(--accent-color);
    font-family: 'Porsche Next', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    opacity: 0.7;
    text-transform: uppercase;
}

#performance .benchmark {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.9);
    padding: 15px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#performance .feature-showcase:hover .benchmark {
    display: block;
    opacity: 1;
}

.benchmark-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.fps {
    color: var(--accent-color);
    font-weight: 600;
}

#lighting .feature-showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.lighting-toggle {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.toggle-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.toggle-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

.build-page {
    background-color: var(--secondary-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rgb-toggle-btn {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

body.rgb-mode .rgb-toggle-btn {
    background-color: rgba(15, 15, 15, 0.8);
    animation: rgb-border-button 3s infinite;
    border: 2px solid #ff00ff;
}

.rgb-toggle-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.back-link {
    color: #ff00ff;
    transition: var(--transition);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.back-link:hover {
    text-decoration: underline;
}

.build-hero {
    text-align: center;
    padding: 60px 5% 40px;
}

.build-hero h1 {
    font-family: 'Porsche Next', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.build-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 5% 60px;
}

.component {
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.component:hover {
    transform: translateY(-5px);
}

.component-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.component-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.component:hover .component-image img {
    transform: scale(1.05);
}

.component-details {
    padding: 20px;
}

.component-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.model {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.highlight {
    color: #ff00ff;
    font-size: 0.9rem;
}

.price-calculator {
    text-align: center;
    padding: 60px 5%;
    background-color: var(--primary-color);
}

.price-calculator h2 {
    font-family: 'Porsche Next', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

footer {
    background-color: var(--primary-color);
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    margin-bottom: 10px;
}

body.rgb-mode {
    --accent-color: #ff00ff;
}

body.rgb-mode .component {
    border-left: 3px solid transparent;
    animation: rgb-border 3s infinite;
}

body.rgb-mode .cta-button {
    animation: rgb-border-button 3s infinite;
    background-color: rgba(15, 15, 15, 0.8);
}

body.rgb-mode #lighting .feature-showcase-text {
    animation: rgb-text 3s infinite;
    opacity: 1;
}

body.rgb-mode .highlight {
    animation: rgb-text 3s infinite;
    opacity: 1;
}

@keyframes rgb-border {
    0% { border-left-color: rgba(255, 0, 0, 1); }
    33% { border-left-color: rgba(0, 255, 0, 1); }
    66% { border-left-color: rgba(0, 0, 255, 1); }
    100% { border-left-color: rgba(255, 0, 0, 1); }
}

@keyframes rgb-border-button {
    0% { border-color: rgba(255, 0, 0, 1); }
    33% { border-color: rgba(0, 255, 0, 1); }
    66% { border-color: rgba(0, 0, 255, 1); }
    100% { border-color: rgba(255, 0, 0, 1); }
}

@keyframes rgb-text {
    0% { color: rgba(255, 0, 0, 1); text-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
    33% { color: rgba(0, 255, 0, 1); text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
    66% { color: rgba(0, 0, 255, 1); text-shadow: 0 0 5px rgba(0, 0, 255, 0.5); }
    100% { color: rgba(255, 0, 0, 1); text-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .component-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .component-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
    }
}
    
.tooltip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--text-color);
    padding: 15px;
    border-radius: 0;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: 3px solid #ff00ff;
}

.tooltip.show {
    opacity: 1;
} 