/* Auxiliary Pages Styles */

/* Legal Content Sections */
.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00f5ff;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-section p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00f5ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* About Sections */
.about-section {
    padding: 80px 0;
}

.about-section.alt {
    background: #1e293b;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #00f5ff;
    text-align: left;
}

.content-text p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-image {
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(0, 245, 255, 0.3);
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
    min-height: 400px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    padding: 3rem;
}

.placeholder-text {
    color: #94a3b8;
    font-size: 1.1rem;
    text-align: center;
    font-style: italic;
}

/* Order Form Styles */
.order-form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.project-form {
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00f5ff;
    box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group select option {
    background: #0f172a;
    color: #e2e8f0;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #e2e8f0;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #1e3a8a, #00f5ff);
    border-color: #00f5ff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Order Contact Section */
.order-contact {
    padding: 60px 0;
    background: #1e293b;
}

.order-contact .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.order-contact .contact-item h3 {
    color: #00f5ff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.order-contact .contact-item p {
    color: #cbd5e1;
}

.order-contact .contact-item a {
    color: #00f5ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.order-contact .contact-item a:hover {
    color: #ffffff;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 1024px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .content-text h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .content-wrapper {
        padding: 2rem;
    }
    
    .project-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-text h2 {
        font-size: 1.75rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .project-form {
        padding: 1.5rem;
    }
}