﻿/* ===== LEGAL PAGES (Conditions of Use, Privacy, etc.) ===== */

/* Page Header */
.legal-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/legal/legal-header.jpg') center/cover;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 2px;
}

.breadcrumb {
    font-size: 1rem;
    color: #ccc;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Last Updated */
.legal-updated {
    padding: 2rem 0 0;
    background: var(--bg-light);
}

.last-updated {
    text-align: right;
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
}

/* Main Content */
.legal-content {
    padding: 2rem 0 5rem;
    background: var(--bg-light);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Legal Sections */
.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.legal-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1.5rem;
}

.legal-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Lists */
.legal-list {
    margin: 1rem 0 1.5rem 2rem;
    color: #555;
    line-height: 1.8;
}

.legal-list li {
    margin-bottom: 0.5rem;
}

/* Definition List */
.definition-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.definition-item {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.definition-term {
    font-weight: 700;
    color: var(--primary-color);
    width: 180px;
    font-size: 1rem;
}

.definition-desc {
    color: #555;
    flex: 1;
    line-height: 1.6;
}

/* Links */
.legal-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-info p {
    color: #555;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    margin-top: 3px;
}

/* Return to Top */
.return-top {
    padding: 0 0 3rem;
    background: var(--bg-light);
    text-align: center;
}

.btn-return-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
}

.btn-return-top:hover {
    background: var(--primary-color);
    color: white;
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .legal-container {
        padding: 2rem;
    }
    
    .definition-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .definition-term {
        width: 100%;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-container {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .legal-header,
    .breadcrumb,
    .return-top,
    footer {
        display: none;
    }
    
    .legal-container {
        box-shadow: none;
        padding: 0;
    }
    
    .legal-content {
        background: white;
    }
}

/* ===== PRIVACY PAGE SPECIFIC STYLES ===== */

/* Privacy Header */
.privacy-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/legal/privacy-header.jpg') center/cover;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.purpose-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    transition: var(--transition);
}

    .purpose-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(197,165,114,0.1);
    }

.purpose-icon {
    flex-shrink: 0;
}

    .purpose-icon i {
        color: var(--primary-color);
        font-size: 1.3rem;
    }

.purpose-content h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.purpose-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Cookies Table */
.cookies-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

    .cookie-row:last-child {
        border-bottom: none;
    }

    .cookie-row.header {
        background: var(--primary-color);
        color: var(--secondary-color);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .cookie-row:nth-child(even) {
        background: #f9f9f9;
    }

    .cookie-row span {
        color: #555;
    }

    .cookie-row.header span {
        color: var(--secondary-color);
    }

/* Contact Methods */
.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    transition: var(--transition);
}

    .contact-method:hover {
        transform: translateY(-3px);
        background: rgba(197,165,114,0.05);
    }

    .contact-method i {
        font-size: 1.5rem;
        color: var(--primary-color);
        width: 30px;
        text-align: center;
    }

    .contact-method h4 {
        font-size: 1rem;
        color: var(--secondary-color);
        margin-bottom: 0.3rem;
    }

    .contact-method p {
        color: #666;
        line-height: 1.5;
        font-size: 0.9rem;
    }

/* Responsive */
@media (max-width: 768px) {
    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .cookie-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

        .cookie-row.header {
            display: none;
        }

        .cookie-row span {
            padding: 0.2rem 0;
        }

            .cookie-row span::before {
                content: attr(data-label);
                font-weight: 600;
                color: var(--primary-color);
                display: inline-block;
                width: 100px;
            }

    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}