/* Legal Pages Styles */

:root {
    --legal-bg: #f8f9fa;
    --legal-text: #333;
    --legal-heading: #1a1a1a;
    --legal-accent: #d32f2f; /* Webbyacad Red */
    --legal-border: #e0e0e0;
}

body {
    background-color: var(--legal-bg);
    color: var(--legal-text);
    font-family: 'Inter', sans-serif; /* Assuming Inter is used elsewhere, fallback to sans-serif */
}

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern-dot.png') repeat; /* Optional pattern */
    opacity: 0.05;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.legal-hero .breadcrumbs {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.legal-hero .breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-hero .breadcrumbs a:hover {
    color: var(--legal-accent);
}

/* Legal Container */
.legal-container {
    max-width: 900px;
    margin: -40px auto 60px; /* Overlap hero */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.legal-content {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Typography & Content */
.legal-content h2 {
    color: var(--legal-heading);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--legal-accent);
    padding-bottom: 10px;
    display: inline-block;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--legal-heading);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.legal-content ul li::before {
    content: '✓';
    color: var(--legal-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-content strong {
    color: var(--legal-heading);
    font-weight: 600;
}

.legal-content a {
    color: var(--legal-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* Updates Box */
.last-updated {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
    font-style: italic;
    border-bottom: 1px solid var(--legal-border);
    padding-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0 50px;
    }
    
    .legal-hero h1 {
        font-size: 2.2rem;
    }

    .legal-container {
        margin-top: -30px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }
}
