/*
  © 2025 Milos Saric. All rights reserved.
  This CSS file is protected by copyright law and international treaties.
  Unauthorized reproduction or redistribution is strictly prohibited.
  Contact: milossaric@outlook.com
*/

/* TABLE OF CONTENTS
 * 1. Privacy Hero Styles
 * 2. Privacy Content Layout
 * 3. Privacy Blocks
 * 4. Information Lists
 * 5. Usage Cards
 * 6. Cookie Types
 * 7. Service Cards
 * 8. Security Features
 * 9. Rights Section
 * 10. Animations
 * 11. Media Queries
 */

/* ======================= */
/* 1. Privacy Hero Styles  */
/* ======================= */

.privacy-hero {
    padding: 80px 0 50px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
}

.privacy-hero h1 {
    margin-bottom: 15px;
    font-size: 48px;
    font-weight: 600;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 10px;
    color: #666;
    font-size: 18px;
}

.last-updated {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

/* =========================== */
/* 2. Privacy Content Layout   */
/* =========================== */

.privacy-section {
    padding: 60px 0;
    background-color: #fff;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ===================== */
/* 3. Privacy Blocks     */
/* ===================== */

.privacy-block {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.privacy-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.privacy-block h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.privacy-block h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 30px 0 15px;
    color: #333;
}

.privacy-block h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.privacy-block p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

/* ======================= */
/* 4. Information Lists    */
/* ======================= */

.info-list {
    margin: 20px 0;
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-label {
    font-weight: 600;
    color: #1d1d1f;
    flex-shrink: 0;
    width: 140px;
}

.info-desc {
    color: #666;
    flex: 1;
    text-align: right;
}

/* =================== */
/* 5. Usage Cards      */
/* =================== */

.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.usage-card {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.usage-card h4 {
    margin-bottom: 10px;
    color: #0071e3;
}

.usage-card p {
    margin-bottom: 0;
    font-size: 15px;
}

/* =================== */
/* 6. Cookie Types     */
/* =================== */

.cookie-types {
    margin: 25px 0;
}

.cookie-card {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
    border-left: 4px solid #0071e3;
}

.cookie-card.essential {
    border-left-color: #34c759;
}

.cookie-card.analytics {
    border-left-color: #0071e3;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-header h4 {
    margin: 0;
}

.cookie-badge {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.cookie-badge.required {
    background-color: #34c759;
    color: white;
}

.cookie-badge.optional {
    background-color: #0071e3;
    color: white;
}

.cookie-duration,
.cookie-provider {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.cookie-control {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-top: 30px;
}

.cookie-control p {
    margin-bottom: 20px;
}

#manage-cookies-btn {
    background-color: #0071e3;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#manage-cookies-btn:hover {
    background-color: #0059b3;
}

/* =================== */
/* 7. Service Cards    */
/* =================== */

.service-card {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.service-card h4 {
    color: #0071e3;
    margin-bottom: 12px;
}

.service-link {
    margin-top: 12px;
}

.service-link a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.service-link a:hover {
    text-decoration: underline;
}

/* ======================= */
/* 8. Security Features    */
/* ======================= */

.security-features {
    margin: 25px 0;
}

.security-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f5f5f7;
    border-radius: 12px;
}

.security-icon {
    font-size: 32px;
    margin-right: 20px;
    flex-shrink: 0;
}

.security-item p {
    margin: 0;
}

/* =================== */
/* 9. Rights Section   */
/* =================== */

.rights-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.right-item {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 20px;
}

.right-item h4 {
    color: #0071e3;
    margin-bottom: 8px;
}

.right-item p {
    margin: 0;
    font-size: 15px;
}

.rights-note {
    margin-top: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.rights-note a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.rights-note a:hover {
    text-decoration: underline;
}

/* ======================= */
/* Data Retention          */
/* ======================= */

.retention-info {
    background-color: #f5f5f7;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.retention-info p {
    margin-bottom: 15px;
}

.retention-info p:last-child {
    margin-bottom: 0;
}

/* ======================= */
/* Contact Block           */
/* ======================= */

.contact-block {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.contact-info-privacy {
    margin: 20px 0;
    font-size: 16px;
}

.contact-info-privacy p {
    margin-bottom: 10px;
}

.contact-info-privacy a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-privacy a:hover {
    text-decoration: underline;
}

.contact-response-time {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* =================== */
/* 10. Animations      */
/* =================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================= */
/* 11. Media Queries       */
/* ======================= */

@media (max-width: 992px) {
    .privacy-hero h1 {
        font-size: 40px;
    }
    
    .usage-grid,
    .rights-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 0 40px;
    }
    
    .privacy-hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .privacy-section {
        padding: 40px 20px;
    }
    
    .privacy-block h2 {
        font-size: 26px;
    }
    
    .privacy-block h3 {
        font-size: 20px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .info-desc {
        text-align: left;
    }
    
    .security-item {
        flex-direction: column;
        text-align: center;
    }
    
    .security-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-block {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .privacy-hero h1 {
        font-size: 28px;
    }
    
    .privacy-block {
        margin-bottom: 40px;
    }
    
    .cookie-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-badge {
        margin-top: 8px;
    }
}