/* Auxiliary Pages 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;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    text-decoration: none;
}

.logo-link .logo-container {
    width: 40px;
    height: 40px;
}

.logo-link .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
}

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

.page-nav a {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-nav a:hover,
.page-nav a.active {
    color: #2563EB;
    text-decoration: none;
}

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

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-title p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

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

.content-section.alt-bg {
    background-color: #F9FAFB;
}

.content-section.cta-section {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 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-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Specific Styles */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    color: #6B7280;
    font-size: 0.875rem;
}

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

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.expertise-icon svg {
    width: 100%;
    height: 100%;
}

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

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

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

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

.legal-text {
    line-height: 1.7;
}

.legal-text h2 {
    color: #1F2937;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4B5563;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #4B5563;
}

.contact-info {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

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

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Cookie Policy Specific Styles */
.cookie-table {
    margin: 2rem 0;
}

.cookie-table h3 {
    color: #1F2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
    vertical-align: top;
    text-align: left;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:first-child {
    background-color: #F9FAFB;
}

.cookie-table tr:first-child td {
    font-weight: 600;
    color: #1F2937;
}

/* Footer Updates for Auxiliary Pages */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #60A5FA;
    text-decoration: none;
}

/* Content Images for About Page */
.content-image {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .page-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .page-title {
        padding: 3rem 0 2rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .content-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-split.reverse {
        direction: ltr;
    }
    
    .tech-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cookie-table table {
        font-size: 0.875rem;
    }
    
    .cookie-table td {
        padding: 0.75rem;
    }
    
    .story-content {
        padding: 0 1rem;
    }
    
    .content-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 1.75rem;
    }
    
    .page-title p {
        font-size: 1rem;
    }
    
    .logo-link .brand-name {
        font-size: 1.25rem;
    }
    
    .logo-link .logo-container {
        width: 32px;
        height: 32px;
    }
    
    .expertise-card,
    .value-item {
        padding: 1.5rem;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.25rem;
    }
    
    .content-image {
        height: 200px;
    }
}