/* Auxiliary Pages Specific Styles */

/* Page Header */
.page-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    text-align: center;
}

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

.page-hero .hero-description {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section.bg-light {
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
    font-size: 2rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.content-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.content-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expertise-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.expertise-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Commitment List */
.commitment-list {
    list-style: none;
    padding: 0;
}

.commitment-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.commitment-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: white;
    color: #2563eb;
}

.cta-section .btn-primary:hover {
    background-color: #f8fafc;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: #374151;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.contact-info {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.cookie-text p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-primary {
    background-color: #2563eb;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #1d4ed8;
}

.cookie-btn-secondary {
    background-color: #6b7280;
    color: white;
}

.cookie-btn-secondary:hover {
    background-color: #4b5563;
}

.cookie-btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.cookie-btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.cookie-policy-link {
    position: absolute;
    bottom: 0.5rem;
    right: 1.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.75rem;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h3 {
    color: #1f2937;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #1f2937;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    color: #1f2937;
    margin: 0;
    font-size: 1rem;
}

.cookie-category p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #2563eb;
}

input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-nav {
        gap: 1rem;
    }
    
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-img {
        max-width: 100%;
        height: 250px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-policy-link {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .page-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-small {
        width: 100%;
        max-width: 200px;
    }
    
    .content-img {
        height: 200px;
    }
    
    .value-card,
    .expertise-item {
        padding: 1.5rem 1rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}