/*
* Vision3D - Request Demo Page Styles
*/

/* Page Header */
.page-header {
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.2) 0%, rgba(0, 51, 102, 0) 70%);
}

.page-header h1 {
    position: relative;
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    z-index: 1;
}

.page-header p {
    position: relative;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    z-index: 1;
}

/* Demo Request Section */
.demo-request-section {
    padding: var(--spacing-xl) 0;
}

.demo-request-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.demo-info {
    flex: 1;
    min-width: 300px;
}

.demo-info h2 {
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark-blue);
}

.demo-info > p {
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-dark-gray);
}

/* Demo Types */
.demo-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.demo-type-card {
    background-color: var(--secondary-light-gray);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.demo-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.demo-type-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-dark-blue);
    color: var(--accent-cyan);
    border-radius: var(--border-radius-circle);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.demo-type-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark-blue);
}

.demo-type-card p {
    color: var(--secondary-dark-gray);
}

/* Demo Testimonial */
.demo-testimonial {
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.demo-testimonial::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: var(--accent-cyan);
    opacity: 0.3;
}

.demo-testimonial blockquote {
    margin-bottom: var(--spacing-md);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    margin-right: var(--spacing-sm);
}

.testimonial-author h4 {
    margin-bottom: 0;
}

.testimonial-author p {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: var(--font-size-small);
}

/* Demo Form */
.demo-form-wrapper {
    flex: 1;
    min-width: 500px;
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: var(--spacing-lg);
}

.form-header h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark-blue);
}

.form-header p {
    color: var(--secondary-dark-gray);
}

.demo-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.form-group {
    flex: 0 0 calc(50% - var(--spacing-md) / 2);
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-dark-blue);
}

.form-group label .required {
    color: #ff3366;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-white);
    color: var(--text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light-blue);
    box-shadow: 0 0 0 3px rgba(102, 178, 255, 0.2);
    outline: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff3366;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: var(--spacing-sm);
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.alert {
    padding: 15px;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #006600;
}

.alert-error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #cc0000;
}

/* Demo Process Section */
.demo-process-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-light-gray);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: var(--primary-dark-blue);
}

.process-step {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-dark-blue);
    color: var(--accent-cyan);
    border-radius: var(--border-radius-circle);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin-right: var(--spacing-md);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.step-content {
    flex: 1;
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-dark-blue);
}

.step-content p {
    margin-bottom: 0;
    color: var(--secondary-dark-gray);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--primary-white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.faq-item.active .faq-question {
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: var(--font-size-h5);
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-light-blue);
    color: var(--primary-white);
    border-radius: var(--border-radius-circle);
    transition: all var(--transition-fast);
}

.faq-item.active .faq-toggle {
    background-color: var(--accent-cyan);
    color: var(--primary-dark-blue);
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding-bottom: var(--spacing-md);
}

/* Showroom Section */
.showroom-section {
    padding: var(--spacing-xl) 0;
}

.showroom-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    background-color: var(--primary-dark-blue);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    color: var(--text-light);
}

.showroom-image {
    flex: 1;
    max-width: 40%;
}

.showroom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showroom-info {
    flex: 1;
    padding: var(--spacing-lg);
}

.showroom-info h2 {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.showroom-info > p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.showroom-details {
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: var(--border-radius-circle);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: var(--spacing-md);
}

.detail-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

.detail-item p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .demo-request-wrapper {
        flex-direction: column;
    }
    
    .demo-info,
    .demo-form-wrapper {
        min-width: 100%;
    }
    
    .showroom-content {
        flex-direction: column;
    }
    
    .showroom-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
    
    .process-steps::before {
        left: 25px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 30px;
    }
    
    .demo-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .process-steps::before {
        left: 20px;
    }
}