/* ============================================
   LEGAL PAGES - TERMS & PRIVACY
   SeaFood4Africa
============================================ */

/* ============================================
   1. LEGAL PAGE WRAPPER
============================================ */
.legal-page-wrapper {
    min-height: 100vh;
    background: #f8f9fa;
}

/* ============================================
   2. HERO SECTION
============================================ */
.legal-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a2b4a 50%, #0d1b2a 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(255, 255, 255, 0.02) 60px,
            rgba(255, 255, 255, 0.02) 120px
        );
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.legal-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.legal-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

/* ============================================
   3. CONTENT SECTION
============================================ */
.legal-content {
    padding: 60px 0;
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

/* ============================================
   4. LEGAL SECTIONS
============================================ */
.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1a2b4a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #58c0ef;
}

.legal-section h3 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px;
}

.legal-section p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.legal-section ul li {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.legal-section ul li::before {
    content: '•';
    color: #58c0ef;
    font-size: 24px;
    position: absolute;
    left: 8px;
    top: -2px;
}

/* ============================================
   5. LEGAL LINKS
============================================ */
.legal-link {
    color: #58c0ef;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.legal-link:hover {
    color: #0e8296;
    border-bottom-color: #0e8296;
}

/* ============================================
   6. CONTACT SECTION
============================================ */
.legal-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.legal-contact h2 {
    border-bottom-color: #58c0ef;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.contact-list li::before {
    display: none;
}

.contact-list i {
    color: #58c0ef;
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.contact-list a {
    color: #1a2b4a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-list a:hover {
    color: #58c0ef;
}

.contact-list span {
    color: #4a5568;
}

/* ============================================
   7. RESPONSIVE DESIGN
============================================ */

/* Tablet */
@media (max-width: 991px) {
    .legal-hero {
        padding: 60px 0 40px;
    }
    
    .legal-hero h1 {
        font-size: 38px;
    }
    
    .legal-content-wrapper {
        padding: 40px 40px;
    }
    
    .legal-section h2 {
        font-size: 26px;
    }
    
    .legal-section h3 {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .legal-hero {
        padding: 50px 0 30px;
    }
    
    .legal-hero h1 {
        font-size: 32px;
    }
    
    .legal-subtitle {
        font-size: 14px;
    }
    
    .legal-content {
        padding: 40px 0;
    }
    
    .legal-content-wrapper {
        padding: 30px 25px;
    }
    
    .legal-section h2 {
        font-size: 24px;
    }
    
    .legal-section h3 {
        font-size: 19px;
    }
    
    .legal-section p,
    .legal-section ul li {
        font-size: 15px;
    }
    
    .contact-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .legal-hero h1 {
        font-size: 28px;
    }
    
    .legal-content-wrapper {
        padding: 25px 20px;
    }
    
    .legal-section {
        margin-bottom: 30px;
    }
    
    .legal-section h2 {
        font-size: 22px;
    }
    
    .legal-section h3 {
        font-size: 18px;
    }
}

/* ============================================
   8. RTL SUPPORT (for Arabic)
============================================ */
[dir="rtl"] .legal-section ul li {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .legal-section ul li::before {
    left: auto;
    right: 8px;
}

[dir="rtl"] .contact-list i {
    margin-left: 15px;
    margin-right: 0;
}