/* Pages CSS - Styles for auxiliary pages (About, Privacy, Terms, Cookies) */

/* Page Header */
.page-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

.page-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

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

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

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.last-updated {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

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

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

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

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.content-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

/* Mission Points */
.mission-points {
    margin-top: 2rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.mission-point img {
    width: 32px;
    height: 32px;
    margin-top: 4px;
}

.mission-point h3 {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 8px;
}

.mission-point p {
    color: #6b7280;
    margin: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

.value-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.value-card h3 {
    color: #1e3a8a;
    margin-bottom: 16px;
}

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

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
}

.member-image {
    margin-bottom: 24px;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
    color: #1e3a8a;
    margin-bottom: 8px;
}

.member-title {
    color: #059669;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
}

.team-member p:last-child {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Manufacturing Stats */
.manufacturing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 2rem 0;
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 12px;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
}

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

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

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

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

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 2rem;
}

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

.legal-section strong {
    color: #374151;
    font-weight: 600;
}

/* Contact Details in Legal Pages */
.contact-details {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
    margin: 1.5rem 0;
}

.contact-details p {
    margin-bottom: 1rem;
}

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

/* Cookie Tables */
.cookie-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.cookie-table td {
    color: #6b7280;
}

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

/* Links in Legal Content */
.legal-content a {
    color: #1e3a8a;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #1e40af;
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-nav {
        gap: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .manufacturing-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }
    
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .mission-point {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .value-card,
    .team-member {
        padding: 30px 20px;
    }
    
    .legal-section ul {
        margin-left: 1rem;
    }
    
    .contact-details {
        padding: 20px;
    }
}

/* Print Styles for Legal Pages */
@media print {
    .page-header,
    .footer {
        display: none;
    }
    
    .page-hero {
        background: none;
        padding: 20px 0;
    }
    
    .legal-content {
        padding: 0;
    }
    
    .legal-section {
        break-inside: avoid;
    }
    
    .cookie-table table {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}