﻿/* ===================================
   LEGAL PAGES STYLES
   ================================== */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #B47EB2 0%, #8B5A9B 100%);
    padding: 50px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.legal-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Legal Content Section */
.legal-content {
    padding: 80px 0;
    background: #fafafa;
}

.legal-content .container {
    max-width: 900px;
}

/* Legal Text Container */
.legal-text {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.legal-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #B47EB2;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #3c3c3c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.2rem;
}

.legal-text ul,
.legal-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-text ul li,
.legal-text ol li {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.legal-text ul li {
    list-style-type: disc;
}

.legal-text ul li::marker {
    color: #B47EB2;
}

.legal-text strong {
    color: #2c2c2c;
    font-weight: 600;
}

.legal-text a {
    color: #B47EB2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: #8B5A9B;
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-table thead {
    background: linear-gradient(135deg, #B47EB2 0%, #8B5A9B 100%);
    color: white;
}

.cookie-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #555;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: #fafafa;
    transition: background 0.3s ease;
}

/* Contact Info Box */
.contact-info-box {
    background: #f8f4f8;
    border-left: 4px solid #B47EB2;
    padding: 25px 30px;
    margin: 2rem 0;
    border-radius: 8px;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box strong {
    color: #B47EB2;
    font-size: 1.15rem;
}

/* Legal Footer */
.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.legal-footer p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.legal-footer strong {
    color: #B47EB2;
    font-size: 1.1rem;
}

/* External Resources */
.external-resources {
    background: #f0f7ff;
    border-left: 4px solid #4a90e2;
    padding: 20px 25px;
    margin: 2rem 0;
    border-radius: 8px;
}

.external-resources p {
    margin: 0;
    color: #555;
}

.external-resources a {
    color: #4a90e2;
    font-weight: 600;
}

.external-resources a:hover {
    color: #357abd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-hero {
        padding: 80px 0 60px;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-hero p {
        font-size: 1rem;
    }

    .legal-content {
        padding: 50px 0;
    }

    .legal-text {
        padding: 30px 20px;
    }

    .legal-text h2 {
        font-size: 1.6rem;
    }

    .legal-text h3 {
        font-size: 1.2rem;
    }

    .legal-text p,
    .legal-text ul li,
    .legal-text ol li {
        font-size: 0.95rem;
    }

    .cookie-table {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px 12px;
    }

    .contact-info-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .legal-hero h1 {
        font-size: 1.6rem;
    }

    .legal-text {
        padding: 25px 15px;
    }

    .legal-text h2 {
        font-size: 1.4rem;
    }

    .legal-text h3 {
        font-size: 1.1rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}