/* Legal Pages Styles */

/* Legal Header */
.legal-header {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-accent) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.effective-date {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
    background: var(--white);
    min-height: 60vh;
}

.legal-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-intro {
    padding: 2rem;
    background: var(--light-accent);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.legal-intro p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

/* Legal Sections */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.legal-section p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

/* Legal Lists */
.legal-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.legal-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Highlight Box */
.highlight-box {
    padding: 1rem 1.5rem;
    background: var(--light-accent);
    border-radius: 8px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

/* Links in Legal Content */
.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--text-dark);
}

/* Table of Contents (optional) */
.toc {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.toc h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    background: var(--white);
    color: var(--primary-color);
    padding-left: 1rem;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-wrapper {
        padding: 0 1rem;
    }
    
    .legal-intro {
        padding: 1.5rem;
    }
    
    .legal-intro p {
        font-size: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .section-number {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .legal-section p,
    .legal-list li {
        font-size: 0.95rem;
    }
    
    .highlight-box {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    .legal-header {
        background: none;
        border-bottom: 2px solid #000;
    }
    
    .legal-content {
        padding: 2rem 0;
    }
    
    .legal-section {
        page-break-inside: avoid;
    }
    
    .highlight-box {
        border: 1px solid #000;
        background: none;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    fill: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Working Hours Specific Styles */
.working-hours-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.working-hours-time {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.response-time {
    margin-top: 1.5rem;
}

.response-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.response-value {
    color: var(--text-dark);
    font-size: 0.9rem;
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    color: var(--text-dark);
}

.contact-quick-links {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.contact-quick-links li {
    margin-bottom: 0.5rem;
}

.contact-quick-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-quick-links a:hover {
    text-decoration: underline;
}

.contact-info {
    background: var(--light-accent);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-faq {
    margin-top: 2rem;
}

.contact-faq h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
}

.faq-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        min-height: auto;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}