/* ============================================
   Legal Pages Styles
   ============================================ */

/* Legal Page Layout */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--chocolate-brown);
    margin-bottom: 8px;
    text-align: center;
}

.legal-updated {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

/* Legal Sections */
.legal-section {
    margin-bottom: 32px;
}

.legal-section:last-of-type {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pale-oak);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-section ul li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 8px;
    position: relative;
    list-style-type: disc;
}

.legal-section ul li::marker {
    color: var(--golden-chestnut);
}

.legal-section a {
    color: var(--chocolate-brown);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.legal-section a:hover {
    color: var(--golden-chestnut);
}

/* Info Box */
.legal-info-box {
    background: rgba(225, 199, 168, 0.2);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--golden-chestnut);
    margin: 20px 0;
}

.legal-info-box p {
    margin-bottom: 8px;
    color: var(--gray-700);
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-info-box strong {
    color: var(--gray-800);
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-table th {
    background: var(--porcelain-2);
    font-weight: 600;
    color: var(--gray-800);
}

.cookie-table td {
    color: var(--gray-600);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background: var(--porcelain);
}

/* Cookie Settings CTA */
.cookie-settings-cta {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(74, 103, 65, 0.08), rgba(143, 168, 133, 0.08));
    border-radius: var(--radius-lg);
    text-align: center;
}

.cookie-settings-cta p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.cookie-settings-cta .btn {
    display: inline-flex;
}

/* Simple Footer */
.footer-simple {
    background: var(--gray-800);
    padding: 24px 0;
}

.footer-simple-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-simple-content p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-simple .footer-legal {
    display: flex;
    gap: 24px;
}

.footer-simple .footer-legal a {
    font-size: 13px;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.footer-simple .footer-legal a:hover {
    color: var(--golden-chestnut);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .legal-content {
        padding: 32px 24px;
    }
    
    .legal-content h1 {
        font-size: 28px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section h3 {
        font-size: 16px;
    }
    
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
    
    .footer-simple-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-simple .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 24px 16px;
        border-radius: var(--radius-lg);
    }
    
    .legal-content h1 {
        font-size: 24px;
    }
    
    .legal-info-box {
        padding: 16px;
    }
    
    .cookie-settings-cta {
        padding: 24px 16px;
    }
}
