/* ==========================================================================
   JODII Legal Pages Stylesheet (legal.css)
   Premium aesthetics for terms, privacy, etc.
   ========================================================================== */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #4A081A 0%, #29020C 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 100 100'%3E%3Cpath fill='%23F5C542' fill-opacity='0.12' d='M50 0C50 27.6 27.6 50 0 50c27.6 0 50 22.4 50 50 0-27.6 22.4-50 50-50-27.6 0-50-22.4-50-50z'/%3E%3C/svg%3E");
    pointer-events: none;
}

.legal-hero h1 {
    font-family: var(--font-heading);
    color: #F5C542;
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.legal-hero p {
    color: #F3E5F5;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.legal-breadcrumb {
    color: #F3E5F5;
    font-size: 14px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.legal-breadcrumb a {
    color: #F5C542;
    text-decoration: none;
    transition: all 0.2s;
}

.legal-breadcrumb a:hover {
    text-decoration: underline;
}

.legal-breadcrumb span {
    margin: 0 8px;
    opacity: 0.6;
}

/* Legal Content Section */
.legal-content-wrapper {
    background: #FAF5F7;
    padding: 60px 20px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(74, 8, 26, 0.08);
    padding: 50px 60px;
    border-top: 4px solid #E91E63;
}

.legal-update-date {
    display: inline-block;
    background: #FCE4EC;
    color: #C2185B;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: var(--font-heading);
    color: #29020C;
    font-size: 24px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F0E0E5;
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #F5C542;
}

.legal-section h3 {
    font-family: var(--font-heading);
    color: #4A081A;
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-section p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #E91E63;
    font-size: 12px;
}

.legal-section a {
    color: #E91E63;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #C2185B;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 40px 15px;
    }

    .legal-hero h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .legal-hero p {
        font-size: 13px;
    }

    .legal-breadcrumb {
        font-size: 11px;
        margin-top: 10px;
    }

    .legal-container {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .legal-section h2 {
        font-size: 18px;
    }
    
    .legal-section p, .legal-section ul li {
        font-size: 13px;
        text-align: justify;
    }
}
