/* Auxiliary Pages Styles */
/* Inherits base styles from main styles.css */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: clamp(32px, 6vw, 64px) 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: #1e40af;
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.page-header p {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    padding: clamp(40px, 6vw, 64px) 0;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.content-block {
    background: white;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.content-block h2 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 2px;
}

.content-block h3 {
    color: #374151;
    margin-bottom: 16px;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
}

.content-block p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.content-block ul, .content-block ol {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-block li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Team Grid for About Us */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.team-member {
    background: white;
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.team-avatar svg {
    width: 40px;
    height: 40px;
    fill: #1e40af;
}

.team-member h4 {
    color: #1f2937;
    margin-bottom: 4px;
    font-weight: 600;
}

.team-member .role {
    color: #1e40af;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

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

.value-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.value-icon svg {
    width: 24px;
    height: 24px;
    fill: #1e40af;
}

.value-card h4 {
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 600;
}

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

/* Contact Info for Legal Pages */
.contact-info {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 28px;
    border-radius: 12px;
    border-left: 6px solid #1e40af;
    margin: 24px 0;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.contact-info h4 {
    color: #1e40af;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info a {
    color: #1e40af;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #1e3a8a;
}

/* Effective Date */
.effective-date {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #1e3a8a;
}

.breadcrumb-nav span {
    color: #6b7280;
    font-weight: 500;
}

/* Cookie Banner Styles for Auxiliary Pages */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    border-top: 2px solid #1e40af;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #d1d5db;
}

.cookie-banner-text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #93c5fd;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.cookie-btn-reject {
    background-color: transparent;
    color: #d1d5db;
    border: 1px solid #4b5563;
}

.cookie-btn-reject:hover {
    background-color: #374151;
    color: white;
    transform: translateY(-1px);
}

.cookie-btn-customize {
    background-color: transparent;
    color: #60a5fa;
    border: 1px solid #60a5fa;
}

.cookie-btn-customize:hover {
    background-color: #60a5fa;
    color: white;
    transform: translateY(-1px);
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-modal-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    color: #374151;
    background-color: #f3f4f6;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.cookie-category:hover {
    border-color: #1e40af;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

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

.cookie-category-header h4 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

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

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 24px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #1e40af;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-btn-primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.cookie-modal-btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.cookie-modal-btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cookie-modal-btn-secondary:hover {
    background-color: #e5e7eb;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: clamp(24px, 5vw, 40px) 0;
    }
    
    .page-header h1 {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }
    
    .page-header {
        padding: 32px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: clamp(24px, 5vw, 48px) 0;
    }
    
    .content-block {
        padding: clamp(16px, 4vw, 28px);
        margin-bottom: clamp(16px, 4vw, 32px);
    }
    
    .content-image img {
        height: 200px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: clamp(20px, 4vw, 32px) 0;
    }
    
    .content-block {
        padding: clamp(12px, 3vw, 24px);
    }
    
    .content-image img {
        height: 150px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
    
    .cookie-modal-content {
        padding: 24px;
        margin: 10px;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-modal-btn {
        width: 100%;
    }
}