/* Legal Documents Stylesheet */

/* ========================================
   LEGAL DOCUMENTS PAGE STYLES
   ======================================== */

/* Base Styles */
.legal-documents-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    color: #333333;
    max-width: 100%;
    margin-top: 76px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

/* Container */
.legal-documents-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.legal-documents-page .header {
    text-align: center;
    border-bottom: 3px solid #ff6600;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}

.legal-documents-page .header::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ffaa00, #ff6600);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.legal-documents-page .header h1 {
    color: #ffffff;
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.legal-documents-page .header .subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    font-weight: 300;
    margin-top: 0.5rem;
}

.legal-documents-page .effective-date {
    text-align: center;
    color: #ff6600;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,102,0,0.1);
    border-radius: 10px;
    border: 1px solid rgba(255,102,0,0.3);
}

/* Document Sections */
.legal-documents-page .section,
.legal-documents-page .document-section {
    margin-bottom: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #ff6600;
    border-top: 5px solid #ff6600;
    border-bottom: 5px solid #ff6600;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}

.legal-documents-page .section::before,
.legal-documents-page .document-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6600, #ffaa00, #ff6600);
    animation: shimmer 3s linear infinite;
}

.legal-documents-page .section h2,
.legal-documents-page .document-section h2 {
    color: #ff6600;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid #ff6600;
    padding-bottom: 15px;
    position: relative;
}

.legal-documents-page .section h2::after,
.legal-documents-page .document-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ffaa00, #ff6600);
    animation: shimmer 3s linear infinite;
}

.legal-documents-page .section h3 {
    color: #1a1a1a;
    margin: 25px 0 15px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-documents-page .section h4 {
    color: #2d2d2d;
    margin: 20px 0 10px 0;
    font-size: 1.3rem;
    font-weight: 500;
}

/* Paragraph and Text Styling */
.legal-documents-page p {
    margin-bottom: 18px;
    color: #333333;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-documents-page p.highlight {
    background: linear-gradient(135deg, rgba(255,102,0,0.1) 0%, rgba(204,82,0,0.1) 100%);
    border-left: 4px solid #ff6600;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    font-weight: 500;
    color: #1a1a1a;
}

.legal-documents-page ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-documents-page li {
    margin-bottom: 12px;
    color: #333333;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Links */
.legal-documents-page a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.legal-documents-page a:hover {
    color: #cc5200;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Contact Info Section */
.legal-documents-page .contact-info {
    background: linear-gradient(135deg, rgba(255,102,0,0.1) 0%, rgba(204,82,0,0.1) 100%);
    border-left: 4px solid #ff6600;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.legal-documents-page .contact-info h3 {
    color: #ff6600;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-documents-page .contact-info p {
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Legal Header */
.legal-header {
    background: linear-gradient(135deg, #ff6600 0%, #cc5200 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.legal-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.legal-back-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-back-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.legal-back-link i {
    margin-right: 0.5rem;
}

.legal-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-logo .logo-placeholder {
    background-color: #fff;
    color: #ff6600;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
}

.legal-logo span {
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-contact {
    display: flex;
    align-items: center;
}

.legal-phone {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-phone:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.legal-phone i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-documents-page {
        padding: 15px;
        margin-top: 60px;
    }
    
    .legal-documents-page .section {
        padding: 20px;
    }
    
    .legal-documents-page .header h1 {
        font-size: 2rem;
    }
    
    .legal-documents-page .section h2 {
        font-size: 1.5rem;
    }
    
    .legal-documents-page .section h3 {
        font-size: 1.3rem;
    }
    
    .legal-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-logo {
        order: 2;
    }
    
    .legal-contact {
        order: 1;
    }
}

@media (max-width: 480px) {
    .legal-documents-page {
        padding: 10px;
    }
    
    .legal-documents-page .section {
        padding: 15px;
    }
    
    .legal-documents-page .header h1 {
        font-size: 1.8rem;
    }
    
    .legal-documents-page .section h2 {
        font-size: 1.4rem;
    }
    
    .legal-documents-page .section h3 {
        font-size: 1.2rem;
    }
    
    .legal-documents-page p {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .legal-header {
        position: static;
        background: none;
        color: #000;
        box-shadow: none;
    }
    
    .legal-back-link,
    .legal-contact {
        display: none;
    }
    
    .legal-documents-page {
        background-color: #fff;
        color: #000;
        margin-top: 0;
    }
    
    .legal-documents-page .section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .legal-documents-page .section h2 {
        color: #000;
        border-color: #000;
    }
    
    .legal-documents-page a {
        color: #000;
        text-decoration: underline;
    }
}