/* ==========================================
   Cedar Grove Publishing - Additional Page Styles
   ========================================== */

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #2ea3f2 0%, #065403 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* About Page Specific */
.about-header {
    background-image: linear-gradient(135deg, rgba(46, 163, 242, 0.9) 0%, rgba(6, 84, 3, 0.9) 100%),
                      url('../images/books-background.jpg');
    background-size: cover;
    background-position: center;
}

/* Legal Pages */
.legal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-input,
.form-textarea {
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2ea3f2;
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

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

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e8ed;
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-container h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2ea3f2 0%, #065403 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-details p,
.contact-details address {
    color: #666;
    line-height: 1.6;
    font-style: normal;
}

.contact-details a {
    color: #2ea3f2;
    font-weight: 600;
}

.bookseller-info,
.social-media {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bookseller-info h3,
.social-media h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bookseller-info ul {
    list-style: none;
    padding: 0;
}

.bookseller-info li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2ea3f2;
}

.faq-question {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* About Page Styles */
.mission-section {
    padding: 80px 0;
    background-color: white;
}

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

.mission-statement {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.story-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.story-text {
    max-width: 800px;
    margin: 0 auto;
}

.story-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2ea3f2 0%, #065403 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Publish Section */
.publish-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.publish-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.publish-list {
    list-style: none;
    padding: 0;
}

.publish-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.publish-list li::before {
    content: '📚';
    position: absolute;
    left: 0;
    top: 0;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2ea3f2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 600;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    aspect-ratio: 1;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #2ea3f2;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Awards Section */
.awards-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.award-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.award-item i {
    font-size: 3rem;
    color: #2ea3f2;
    margin-bottom: 1rem;
}

.award-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Privacy Policy Styles */
.privacy-content {
    padding: 80px 0;
    background-color: white;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e1e8ed;
}

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

.legal-section h2 {
    color: #2c3e50;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2ea3f2;
}

.legal-section h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-section li {
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-details {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-details address {
    font-style: normal;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content,
    .mission-content,
    .publish-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-container,
    .contact-info-card,
    .publish-stats {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .team-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-document {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .contact-form-container,
    .contact-info-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .award-item i {
        font-size: 2rem;
    }
}