/* ========== LEGAL HERO ========== */
.legal-hero {
    background-color: #000;
    padding: 12rem 2rem 6rem;
    text-align: center;
    color: #fff;
}

.legal-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-hero p {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========== INFORMATION CONTENT ========== */
.legal-content {
    padding: 8rem 2rem;
    background-color: #fff;
}

.legal-text {
    max-width: 850px;
    margin: 0 auto;
}

/* Hierarchy & Headings */
.legal-text h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 4rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-text h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

/* High-Readability Body */
.legal-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

/* Lists and Bullet Points */
.legal-text ul, .legal-text ol {
    margin: 0 0 2.5rem 1.5rem;
    list-style-type: disc;
}

.legal-text li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    font-weight: 300;
}

.legal-text li strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Contact/Alert Box */
.legal-contact-box {
    background-color: #f9f9f9;
    padding: 2.5rem;
    border-left: 3px solid #1a1a1a;
    margin: 4rem 0;
}

.legal-contact-box h4 {
    margin-top: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* ========== FOOTER OVERRIDES FOR LEGAL PAGES ========== */
/* Since we aren't touching style.css, we use this file to 
   fix the footer links specifically for the legal pages */

.site-footer .footer-links a[href="cookies.html"],
.site-footer .footer-links a[href="terms.html"],
.site-footer .footer-links a[href="privacy.html"] {
    color: #aaaaaa; /* Matching your style.css variable */
    text-decoration: none;
}

.site-footer .footer-links a:hover {
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .legal-hero {
        padding: 10rem 1rem 4rem;
    }
    
    .legal-content {
        padding: 4rem 1rem;
    }

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

/* ========== COOKIE CONSENT BANNER ========== */
/* Add this to your legalities.css if not already there */
#cookie-banner {
    position: fixed;
    bottom: -100%; 
    left: 0;
    width: 100%;
    background-color: #1a1a1a; /* Dark to match your navbar */
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

#cookie-banner.show {
    bottom: 0;
}

#cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
    color: #ccc;
    font-family: "DM Sans", sans-serif;
}

.cookie-buttons .btn-cookie.accept {
    padding: 0.6rem 1.5rem;
    background: #fff;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "DM Sans", sans-serif;
    transition: opacity 0.3s ease;
}

#cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.6rem 1.5rem;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cookie.accept {
    background: #fff;
    color: #1a1a1a;
}

.btn-cookie:hover {
    opacity: 0.8;
}

/* ========== SCROLL TO TOP ========== */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}