/* Auxiliary Pages Styles */
/* Import base styles from main CSS with modifications for secondary pages */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: #374151;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.5;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
}

.nav-links a {
    color: #4338ca;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    background-color: #f3f4f6;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

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

.bg-light {
    background-color: #f9fafb;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.content-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-grid.reverse .content-visual {
    order: -1;
}

.content-text {
    font-size: 1.125rem;
}

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

/* Photo Placeholders */
.photo-placeholder {
    background: linear-gradient(45deg, #e5e7eb, #f3f4f6);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
}

.photo-placeholder.large {
    height: 350px;
}

/* About Images */
.about-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* SVG Illustrations */
.illustration {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

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

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.placeholder-content {
    text-align: center;
    color: #6b7280;
    padding: 4rem 2rem;
}

.placeholder-content h2 {
    color: #4338ca;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #374151;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand .brand-name {
    color: white;
}

.footer-brand p {
    color: #d1d5db;
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.25rem 0;
    margin-bottom: 0.5rem;
}

.link-group a:hover {
    color: #f9a8d4;
}

.link-group p {
    color: #d1d5db;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #374151;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 3px solid #4338ca;
}

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

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #4338ca;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #3730a3;
}

.cookie-btn-reject {
    background-color: #dc2626;
    color: white;
}

.cookie-btn-reject:hover {
    background-color: #b91c1c;
}

.cookie-btn-customize {
    background-color: transparent;
    color: #d1d5db;
    border: 1px solid #6b7280;
}

.cookie-btn-customize:hover {
    background-color: #4b5563;
    color: white;
    border-color: #9ca3af;
}

.cookie-btn-primary {
    background-color: #4338ca;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #3730a3;
}

.cookie-link {
    color: #f9a8d4;
    text-decoration: none;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

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

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

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

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

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

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

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

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

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

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    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: #4338ca;
}

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

input:disabled + .cookie-slider {
    background-color: #10b981;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        grid-template-columns: 1fr;
    }
    
    .content-grid.reverse .content-visual {
        order: 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}