/* ============================================================================ */
/* LEGAL MENTIONS PAGE STYLES */
/* ============================================================================ */

:root {
    --primary-red: #8f0000;
    --dark-bg: #0a0a0a;
    --light-text: #f5f5f5;
    --border-color: #2a2a2a;
}

/* Navigation styles for legal page */
.navbar {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--border-color);
}

.navbar-logo {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Main container */
.legal-container {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    color: var(--light-text);
}

/* Page title */
.legal-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-text);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-red);
}

/* Introduction text */
.legal-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section styling */
.legal-section {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.legal-section:hover {
    border-color: rgba(143, 0, 0, 0.5);
    box-shadow: 0 6px 20px rgba(143, 0, 0, 0.2);
}

/* Section titles */
.legal-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section-title i {
    color: var(--primary-red);
    font-size: 1.3rem;
}

/* Section content */
.legal-content {
    color: #d0d0d0;
    line-height: 1.8;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content strong {
    color: var(--light-text);
    font-weight: 600;
}

.legal-content a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.legal-content a:hover {
    color: #b30000;
    text-decoration: underline;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.legal-content ul li::marker {
    color: var(--primary-red);
}

/* Footer section */
.legal-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--border-color);
    color: #a0a0a0;
}

.legal-footer em {
    font-size: 0.9rem;
}

/* Back to home button */
.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-back-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-back-home:hover {
    color: #ffffff;
    border-color: var(--primary-red);
    box-shadow: 0 4px 16px rgba(143, 0, 0, 0.4);
}

.btn-back-home:hover::before {
    left: 0;
}

/* Footer styles are defined in wwp-v4.css and reused here */

/* Responsive design */
@media (max-width: 991px) {
    .legal-title {
        font-size: 2.5rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .legal-title {
        font-size: 2rem;
    }

    .legal-intro {
        font-size: 0.95rem;
    }

    .legal-section {
        padding: 1.25rem;
    }

    .legal-section-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .legal-content {
        font-size: 0.9rem;
    }

    .btn-back-home {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .legal-title {
        font-size: 1.75rem;
    }

    .legal-section {
        padding: 1rem;
    }

    .navbar-logo {
        max-height: 50px;
    }
}
