/* Reset and Base Styles for Auxiliary Pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FEFEFE;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2C2C2C;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2C2C2C;
}

h4 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: #2C2C2C;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Header */
.header {
    background-color: #FEFEFE;
    padding: 1.5rem 0;
    border-bottom: 1px solid #E5E5E5;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-section a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2C2C2C;
    margin-left: 0.75rem;
}

.brand-name:hover {
    color: #8B4513;
}

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

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

.page-header h1 {
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 0;
}

/* Content Blocks */
.content-block {
    margin-bottom: 4rem;
}

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

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

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

.text-content {
    order: 1;
}

.image-content {
    order: 2;
}

.content-grid.reverse .text-content {
    order: 2;
}

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

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

.value-item {
    padding: 2rem;
    background-color: #F8F8F8;
    border-radius: 8px;
}

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

.value-item p {
    margin-bottom: 0;
    color: #666;
}

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.illustration {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
}

/* Placeholder Images */
.placeholder-image {
    background-color: #E5E5E5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-style: italic;
    height: 300px;
}

/* Legal Pages Specific Styles */
.legal-notice {
    background-color: #F8F8F8;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    margin-top: 2rem;
}

.legal-notice p {
    margin-bottom: 0;
    color: #666;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

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

.footer-brand .logo-section {
    margin-bottom: 1rem;
}

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

.footer-brand p {
    color: #CCC;
    margin: 0;
}

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

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

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

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

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

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #CCC;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .text-content,
    .image-content {
        order: unset;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 0;
    }
    
    .content-block {
        margin-bottom: 3rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .placeholder-image {
        height: 250px;
        padding: 1.5rem;
    }
}