/* Legal Pages Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Navbar */
.navbar {
    background: #8B3A3A;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.btn-secondary {
    background: white;
    color: #8B3A3A;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Legal Container */
.legal-container {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.legal-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.legal-content h1 {
    color: #8B3A3A;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-meta {
    color: #757575;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.legal-meta p {
    margin: 0.3rem 0;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #8B3A3A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-section p {
    color: #424242;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: #424242;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: #212121;
    font-weight: 600;
}

/* Legal Notice Box */
.legal-notice {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-left: 4px solid #FF8F00;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-content p {
    color: #424242;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #8B3A3A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
}

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

.footer-logo .logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8B3A3A;
    transform: translateY(-3px);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.5rem 1rem;
    }

    .legal-content h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }

    .legal-notice {
        padding: 1rem;
    }
}
