/* Override main-content padding for hero section */
.main-content:has(.hero-section) {
    padding: 0 !important;
    margin: 0 !important;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    color: #ffffff;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-left p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-right {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 500px;
    max-width: 80%;
    margin-left: auto;
}

.hero-right h2 {
    color: #af2924;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-right .form-group {
    margin-bottom: 1.5rem;
}

.hero-right label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.hero-right input[type="text"],
.hero-right input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.hero-right input[type="text"]:focus,
.hero-right input[type="password"]:focus {
    outline: none;
    border-color: #af2924;
}

.hero-right .errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    color: #dc3545;
    font-size: 0.9rem;
}

.hero-right .btn {
    width: 100%;
    margin-top: 1rem;
}

.hero-right .register-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e1e5e9;
    text-align: center;
}

.hero-right .register-section p {
    color: #666;
    margin-bottom: 1rem;
}

.hero-right .vin-form-group {
    margin-bottom: 1.5rem;
}

.hero-right .vin-form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-right .vin-form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.hero-right .vin-form-group input:focus {
    outline: none;
    border-color: #af2924;
}

.hero-right .vin-form-group small {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.hero-right #vin-result {
    margin-top: 1rem;
    display: none;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-left p {
        font-size: 1.1rem;
    }
    
    .hero-right {
        margin: 0 auto;
    }
}

/* VIN Validation Section for Non-Authenticated Users */
.vin-validation-section {
    padding: 4rem 2rem;
    background: #ffffff;
}

.vin-validation-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vin-validation-left h2 {
    font-size: 2.5rem;
    color: #af2924;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.vin-validation-left p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.vin-validation-right {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vin-validation-right .vin-form-group {
    margin-bottom: 1.5rem;
}

.vin-validation-right .vin-form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.vin-validation-right .vin-form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.vin-validation-right .vin-form-group input:focus {
    outline: none;
    border-color: #af2924;
}

.vin-validation-right .vin-form-group small {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.vin-validation-right #vin-result-guest {
    margin-top: 1rem;
    display: none;
}

@media (max-width: 968px) {
    .vin-validation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vin-validation-left h2 {
        font-size: 2rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    color: #af2924;
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #af2924;
}

.faq-question:focus {
    outline: 2px solid #af2924;
    outline-offset: -2px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #af2924;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

