/* CSS for auxiliary pages (About, Privacy, Terms, Cookies) */
@import url('cookie-banner.css');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #fffef7;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 0.5em;
}

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

p {
    margin-bottom: 1em;
    line-height: 1.7;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: #fffef7;
    border-bottom: 1px solid #e5e7eb;
}

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

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

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #4338ca;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

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

/* Main Content */
.main {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

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

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    font-style: italic;
}

/* Content Blocks */
.content-block {
    margin-bottom: 80px;
}

.block-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    text-align: left;
}

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

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

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

.block-text h2 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 2rem;
}

.block-text p {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

.image-placeholder,
.photo-frame,
.illustration-frame {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.image-placeholder {
    min-height: 200px;
    max-width: 400px;
}

.photo-frame {
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.illustration-frame {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fffef7;
    padding: 20px;
}

/* Policy Content */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.placeholder-text {
    color: #6b7280;
    font-style: italic;
    text-align: center;
    font-size: 1.125rem;
    padding: 60px 0;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-name {
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f9fafb;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section h4 {
    color: #f9fafb;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #4338ca;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .block-content,
    .block-content.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .block-content.reverse .block-text,
    .block-content.reverse .block-image {
        order: initial;
    }

    .block-text h2 {
        font-size: 1.75rem;
    }

    .block-text p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-content {
        padding: 20px;
    }

    .main {
        padding: 40px 0;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .content-block {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.875rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .block-text h2 {
        font-size: 1.5rem;
    }

    .main {
        padding: 30px 0;
    }

    .content-block {
        margin-bottom: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cookie-policy-link {
    color: #4338ca;
    text-decoration: underline;
}

.cookie-policy-link:hover {
    color: #3730a3;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}