/* Auxiliary Pages Styles */
/* Inherits from main styles for consistency */
@import url('styles.css');

/* Page-specific overrides and additions */
.page-hero {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="washi" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(79,70,229,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23washi)"/></svg>');
    opacity: 0.3;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4F46E5;
}

.page-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.content-section.alt {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    color: #4F46E5;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

.content-block em {
    color: #666;
    font-style: italic;
    display: block;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-left: 4px solid #DC2626;
    border-radius: 4px;
}

/* Order Form Styles */
.order-form-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-summary {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.product-summary h3 {
    color: #4F46E5;
    margin-bottom: 1rem;
    border-bottom: 2px solid #DC2626;
    padding-bottom: 0.5rem;
}

.product-summary h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.product-summary .product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #DC2626;
    margin-top: 1rem;
}

.order-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.order-form h3 {
    color: #4F46E5;
    margin-bottom: 2rem;
    border-bottom: 2px solid #DC2626;
    padding-bottom: 0.5rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .order-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-summary {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .order-form,
    .product-summary {
        padding: 1.5rem;
    }
    
    .content-block {
        padding: 0 1rem;
    }
}

/* About Page Specific Styles */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #4F46E5;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content-grid .about-image {
        order: -1;
    }
}