/* Custom styles */
:root {
    --wr-red: #FF0000;
    --wr-black: #000000;
    --wr-gray: #333333;
}

/* Utility classes */
.text-wr-red { color: var(--wr-red); }
.text-wr-black { color: var(--wr-black); }
.text-wr-gray { color: var(--wr-gray); }

.bg-wr-red { background-color: var(--wr-red); }
.bg-wr-black { background-color: var(--wr-black); }
.bg-wr-gray { background-color: var(--wr-gray); }

/* Custom components */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--wr-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--wr-black);
}

/* Form styles */
input, select, textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--wr-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Page specific styles */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--wr-black);
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Service boxes */
.service-box {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.service-box:hover {
    transform: translateY(-5px);
}

/* Contact form styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tuning configurator styles */
.tuning-konfigurator {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--wr-black);
}

.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.form-group select:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.power-gains {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.gain-item {
    text-align: center;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.gain-item h4 {
    color: var(--wr-black);
    font-weight: bold;
    margin-bottom: 10px;
}

.gain-item p {
    margin: 5px 0;
    color: var(--wr-gray);
}

.gain-item .gain {
    color: var(--wr-red);
    font-weight: bold;
    margin-top: 10px;
}

.hidden {
    display: none;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}