@font-face {
    font-family: 'SeatBCN';
    src: url('../fonts/SEATBCN-Light.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SeatBCN-Medium';
    src: url('../fonts/SEATBCN-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SeatBCN-Bold';
    src: url('../fonts/SEATBCN-Black.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SeatBCN-Light';
    src: url('../fonts/SEATBCN-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SeatBCN-Book';
    src: url('../fonts/SEATBCN-Light.otf') format('opentype');
    font-weight: 350;
    font-style: normal;
}

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

body {
    font-family: 'SeatBCN', Arial, sans-serif;
    min-height: 100vh;
    background: #000;
}

.container {
    min-height: 100vh;
    background-image: url('../images/body.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.form-container {
    width: 50%;
    border-radius: 0;
    background: #fff;
    padding: 40px 50px;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header .subtitle {
    font-size: 21px;
    color: #000;
    display: block;
    margin-bottom: 8px;
    font-family: 'SeatBCN-Book', sans-serif;
}

.form-header h1 {
    font-size: 29px;
    color: #000;
    margin-bottom: 8px;
    font-family: 'SeatBCN-Bold', sans-serif;
}

.form-header .choose-text {
    font-size: 22px;
    color: #000;
    font-family: 'SeatBCN-Book', sans-serif;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 10px;
    position: relative;
}

.carousel-btn {
    background: #000;
    border: 2px solid #000;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #fff;
    color: #000;
}

.carousel-content {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.model-name {
    font-size: 21px;
    color: #000;
    margin-bottom: 10px;
    font-family: 'SeatBCN-Book', sans-serif;
}

.carousel-images {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image {
    object-fit: contain;
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.car-image.active {
    opacity: 1;
    position: relative;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.indicator {
    width: 30px;
    height: 3px;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #333;
}

form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 15px;
}

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

.form-row .form-group {
    flex: 1;
}

.civilite-label {
    font-size: 21px;
    font-family: 'SeatBCN-Bold', sans-serif;
    color: #000;
    display: block;
    margin-bottom: 10px;
}

.civilite-label .required {
    color: #c00;
}

.error-message {
    display: none;
    color: #c00;
    font-size: 12px;
    margin-top: 8px;
}

.civilite-group.has-error .error-message {
    display: block;
}

.civilite-group.has-error .checkmark {
    border-color: #c00;
}

.civilite-options {
    display: flex;
    gap: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 21px;
    color: #000;
    font-family: 'SeatBCN', sans-serif;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #333;
    border-color: #333;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    font-family: 'SeatBCN', sans-serif;
    font-size: 21px;
    color: #888888;
    background: #fff;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #888888;
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 25px auto 0;
    padding: 14px 40px;
    background: #8c8c8c;
    border: none;
    color: #fff;
    font-family: 'SeatBCN-Bold', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #000;
}

.submit-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.form-message {
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 600px) {
    .form-container {
        padding: 30px 25px;
    }

    .form-header h1 {
        font-size: 18px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }

    .car-image {
        max-width: 220px;
    }
}
