/* Legal Pages CSS */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
    padding: 140px 0 60px;
    margin-top: 80px;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    color: #2E3B2C;
    margin-bottom: 0.5rem;
}

.page-header-content p {
    font-size: 1rem;
    color: #666666;
    font-style: italic;
}

/* Terms Content */
.terms-content {
    padding: 60px 0 80px;
    background: #FFFFFF;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.terms-intro {
    background: #F8FBF6;
    padding: 2rem;
    border-left: 4px solid #93B47E;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.terms-intro p {
    color: #2E3B2C;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E0E0E0;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.75rem;
    color: #2E3B2C;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #93B47E;
    display: inline-block;
}

.terms-section h3 {
    font-size: 1.25rem;
    color: #2E3B2C;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.terms-section p {
    color: #444444;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.terms-section li {
    margin-bottom: 0.75rem;
    color: #444444;
    line-height: 1.7;
}

.terms-section li strong {
    color: #2E3B2C;
    font-weight: 700;
}

.terms-section a {
    color: #93B47E;
    text-decoration: none;
    font-weight: 600;
}

.terms-section a:hover {
    color: #35A854;
    text-decoration: underline;
}

/* Table of Contents (if needed for longer legal docs) */
.table-of-contents {
    background: #F5F5F5;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.table-of-contents h3 {
    color: #2E3B2C;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #93B47E;
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.table-of-contents a:hover {
    background: #93B47E;
    color: #FFFFFF;
    transform: translateX(8px);
}

/* Highlight boxes for important information */
.highlight-box {
    background: #E8F5E8;
    border: 1px solid #93B47E;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: #2E3B2C;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight-box p {
    margin-bottom: 0;
    color: #2E3B2C;
}

/* Warning boxes for important notices */
.warning-box {
    background: #FFF5F5;
    border: 1px solid #D9534F;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h4 {
    color: #D9534F;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.warning-box p {
    margin-bottom: 0;
    color: #2E3B2C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-header-content h1 {
        font-size: 2.25rem;
    }
    
    .terms-content {
        padding: 40px 0 60px;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .terms-intro {
        padding: 1.5rem;
    }
    
    .terms-section {
        margin-bottom: 2.5rem;
    }
    
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .terms-section ul {
        padding-left: 1.5rem;
    }
    
    .table-of-contents {
        padding: 1.5rem;
    }
    
    .table-of-contents a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .page-header-content h1 {
        font-size: 1.875rem;
    }
    
    .terms-intro {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .terms-intro p {
        font-size: 1rem;
    }
    
    .terms-section {
        margin-bottom: 2rem;
    }
    
    .terms-section h2 {
        font-size: 1.375rem;
    }
    
    .highlight-box,
    .warning-box {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .page-header {
        background: none;
        padding: 2rem 0 1rem;
        margin-top: 0;
    }
    
    .terms-content {
        padding: 1rem 0;
    }
    
    .content-wrapper {
        max-width: none;
        font-size: 12pt;
        line-height: 1.6;
    }
    
    .terms-section {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .terms-section h2 {
        break-after: avoid;
        font-size: 14pt;
    }
    
    .terms-section h3 {
        break-after: avoid;
        font-size: 12pt;
    }
    
    .terms-intro {
        background: #f0f0f0;
        border: 1px solid #ccc;
    }
    
    .highlight-box,
    .warning-box {
        border: 1px solid #666;
        background: #f9f9f9;
    }
    
    .main-header,
    .main-footer,
    .mobile-menu-toggle {
        display: none;
    }
}