/* Auxiliary Pages CSS */

/* CSS Variables */
:root {
    --primary-color: #2D3748;
    --accent-color: #E53E3E;
    --background-color: #F7FAFC;
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --text-light: #A0AEC0;
    --border-color: #E2E8F0;
    --shadow-light: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-large: 0 10px 15px rgba(0,0,0,0.1);
}

/* Reset and Base Styles */
.cookie-info h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-info p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* Header */
.header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 3rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
}

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

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

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

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

.section-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.section-text p:last-child {
    margin-bottom: 0;
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, #EDF2F7 0%, #E2E8F0 100%);
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23A0AEC0" opacity="0.1"/><circle cx="80" cy="40" r="0.5" fill="%23A0AEC0" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23A0AEC0" opacity="0.1"/><circle cx="60" cy="10" r="0.8" fill="%23A0AEC0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.placeholder-image.medium { 
    height: 300px; 
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-medium);
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
}

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

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

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

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.placeholder-text {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 3rem;
    background: var(--background-color);
    border-radius: 0.5rem;
    border: 2px dashed var(--border-color);
}

/* SVG Illustrations */
.svg-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
}

.svg-illustration svg {
    max-width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

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

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

.footer-brand-name {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

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

.footer-column a {
    color: #E2E8F0;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-info h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-info p {
    margin: 0;
    color: #E2E8F0;
    font-size: 0.9rem;
}

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

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: #C53030;
}

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

.cookie-btn.reject:hover {
    background: #4A5568;
    color: white;
}

.cookie-btn.customize {
    background: #4A5568;
    color: white;
    border: 1px solid #718096;
}

.cookie-btn.customize:hover {
    background: #2D3748;
}

.cookie-btn.save {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.save:hover {
    background: #C53030;
}

.cookie-btn.cancel {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.cookie-btn.cancel:hover {
    background: var(--background-color);
}

.cookie-link {
    color: #E2E8F0;
    text-decoration: underline;
    font-size: 0.875rem;
}

.cookie-link:hover {
    color: var(--accent-color);
}

/* Cookie Customization Panel */
.cookie-customization {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.cookie-custom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-custom-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    background: var(--background-color);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.cookie-category-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 0.5rem;
}

.cookie-category-label input[type="checkbox"] {
    margin-right: 0.5rem;
    align-self: flex-start;
}

.cookie-category-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.cookie-category-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cookie-custom-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4A5568;
    color: #A0AEC0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .brand {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-text {
        text-align: center;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .svg-illustration {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .page-header {
        margin-bottom: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .brand-tagline {
        font-size: 0.625rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .page-header p {
        font-size: 1rem;
        flex-wrap: wrap;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-custom-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}