/* Legal Pages Styles */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a3a4e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-hero p {
    font-size: 16px;
    opacity: 0.8;
}

/* Legal Content Section */
.legal-content {
    padding: 60px 0;
    background-color: white;
}

.legal-content .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Legal Navigation */
.legal-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.legal-nav h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav ul li {
    margin-bottom: 12px;
}

.legal-nav ul li a {
    color: var(--gray-color);
    font-size: 14px;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.legal-nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Legal Text Content */
.legal-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-color);
}

.legal-text section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.legal-text section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
    padding-top: 20px;
}

.legal-text h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: var(--dark-color);
}

.legal-text p {
    margin-bottom: 15px;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-text ul li, .legal-text ol li {
    margin-bottom: 10px;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .legal-content .container {
        grid-template-columns: 1fr;
    }
    
    .legal-nav {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0;
    }
    
    .legal-hero h1 {
        font-size: 32px;
    }
    
    .legal-content {
        padding: 40px 0;
    }
    
    .legal-text h2 {
        font-size: 24px;
    }
    
    .legal-text h3 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .legal-hero h1 {
        font-size: 28px;
    }
    
    .legal-text {
        font-size: 15px;
    }
    
    .legal-text h2 {
        font-size: 22px;
    }
    
    .legal-text h3 {
        font-size: 17px;
    }
}