/* FuFuTurtles Legal Pages Styles */
:root {
    --primary-green: #2e7d32;
    --light-green: #4caf50;
    --dark-green: #1b5e20;
    --accent-green: #81c784;
    --background-light: #f1f8e9;
    --text-primary: #212121;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f1f8e9 0%, #ffffff 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
    box-shadow: var(--shadow);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

.logo {
    position: relative;
    z-index: 1;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-image {
    width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

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

.document-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--accent-green);
}

.document-header h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Content Sections */
.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--light-green);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.section h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section h3::before {
    content: '🏃';
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.section h4 {
    color: var(--dark-green);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 500;
}

.section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.section li::marker {
    color: var(--light-green);
}

/* Contact Info */
.contact-info {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid var(--accent-green);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-green);
}

.footer-links a.current {
    background: var(--accent-green);
    color: var(--primary-green);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    
    .header {
        padding: 1.5rem 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .document-header h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section h3 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 1rem;
        border-left-width: 3px;
    }
    
    .section ul {
        padding-left: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
    }
    
    .header {
        background: var(--primary-green) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
    
    .footer {
        background: var(--primary-green) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

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

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid var(--light-green);
    outline-offset: 2px;
}

/* Loading animation for dynamic content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-green);
}