﻿/* privacy.css - Privacy Policy Page Styles */

/* Reset for privacy page only */
.privacy-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.privacy-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e6f0fa 0%, #d4e4f7 100%);
}

/* Container */
.privacy-container {
    width:90%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.privacy-hero {
    color: black;
    padding: 10px 0;
    text-align: center;
}

    .privacy-hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .privacy-hero .last-updated {
        font-size: 0.9rem;
        opacity: 0.9;
        margin-bottom: 20px;
    }

    .privacy-hero p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto;
        opacity: 0.95;
    }

/* Main Content Layout */
.privacy-content {
    display: flex;
    gap: 50px;
    padding: 10px;
}

/* Table of Contents Sidebar */
.toc-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 20px;
    height: fit-content;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
}

    .toc-sidebar h3 {
        color: #2d3748;
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

.toc-nav ul {
    list-style: none;
}

.toc-nav li {
    margin-bottom: 12px;
}

.toc-link {
    color: black;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .toc-link:hover {
        color: white;
        background-color: black;
        transform: translateX(5px);
    }

    .toc-link.active {
        color: white;
        background-color: black;
        font-weight: 600;
    }

/* Policy Content */
.policy-content {
    flex: 1;
}

.policy-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

    .policy-section h2 {
        color: #2d3748;
        font-size: 2rem;
        margin-bottom: 10px;
        display:flex;
        align-items:center;
        justify-content:center;
        padding-bottom: 10px;
        border-bottom: 2px solid #e2e8f0;
    }

    .policy-section h3 {
        color: #4a5568;
        font-size: 1.4rem;
        margin: 25px 0 15px 0;
    }

    .policy-section p {
        margin-bottom: 16px;
        color: #4a5568;
        font-size: 1.05rem;
    }

    .policy-section ul {
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .policy-section li {
        margin-bottom: 10px;
        color: #4a5568;
    }

/* Information Categories */

.info-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 15px 0;
}
.info-category {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
}

    .info-category h3 {
        color: #2d3748;
        margin-top: 0;
    }

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 5px 0;
}

.usage-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .usage-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.usage-icon {
    background-color: #3498db;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin: 0 auto 20px;
}
    .usage-icon:hover {
        animation: rotateIcon 2s linear infinite;
    }
/* Rotate animation */
@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
    .usage-icon i {
        font-size: 1.5rem;
        color: white;
        display:flex;
        justify-content:center;
        align-items:center;
    }

.usage-card h3 {
    color: black;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

/* Disclosure List */
.disclosure-list {
    margin: 25px 0;
}

.disclosure-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .disclosure-item h3 {
        color: black;
        margin: 0 0 10px 0;
    }

/* Security Features */
.security-features {
    margin: 25px 0;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

    .security-feature i {
        font-size: 1.8rem;
        color: #3498db;
        margin-right: 20px;
        margin-top: 5px;
    }

    .security-feature h4 {
        color: black;
        margin: 0 0 8px 0;
        font-size: 1.2rem;
    }

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.right-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

    .right-card h3 {
        color: #2d3748;
        font-size: 1.2rem;
        margin: 0 0 10px 0;
    }
.policy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Responsive */
@media (max-width: 900px) {
    .policy-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.cookie-type {
    background: #fffaf0;
    border: 1px solid #fbd38d;
    border-radius: 8px;
    padding: 20px;
}

    .cookie-type h3 {
        color: #c05621;
        margin: 0 0 10px 0;
    }

.cookie-controls {
    background: #ebf8ff;
    border: 1px solid #90cdf4;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
}

.btn-cookie-settings {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

    .btn-cookie-settings:hover {
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

/* GDPR Info */
.gdpr-info {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

    .gdpr-info h3 {
        color: #22543d;
        margin: 20px 0 10px 0;
    }

        .gdpr-info h3:first-child {
            margin-top: 0;
        }

/* Contact Details */
.contact-details {
    margin: 25px 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

    .contact-method i {
        font-size: 1.5rem;
        color: #667eea;
        margin-right: 20px;
        margin-top: 5px;
    }

    .contact-method h3 {
        color: #2d3748;
        margin: 0 0 8px 0;
        font-size: 1.2rem;
    }

.contact-action {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .privacy-content {
        flex-direction: column;
    }

    .toc-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .privacy-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 0;
    }

        .privacy-hero h1 {
            font-size: 2rem;
        }

    .policy-section h2 {
        font-size: 1.6rem;
    }

    .usage-grid,
    .rights-grid,
    .cookie-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        padding: 0 15px;
    }

    .privacy-hero h1 {
        font-size: 1.8rem;
    }

    .policy-section {
        margin-bottom: 40px;
    }

    .usage-card,
    .right-card,
    .cookie-type {
        padding: 20px;
    }
}
