/* Cookie Policy Page Styles */

/* =============================================
   CSS VARIABLES (matching main stylesheet)
   ============================================= */
:root {
    --accent: #F21517;
    --accent-hover: #d40f11;
    --navy: #001A56;
    --navy-light: #002a7a;
    --text: #444444;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --border-color: #e5e5e5;
    --max-width: 1300px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
}

/* =============================================
   BASE STYLES
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-gray);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* =============================================
   HEADER STYLES
   ============================================= */
.site-header {
    background: var(--bg-white);
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: block;
}

.logo {
    height: 60px;
    width: auto;
}

.logo-area span {
    display: none;
}

/* =============================================
   LEGAL CONTENT SECTION
   ============================================= */
.legal-content-section {
    padding: 60px 0;
    background: var(--bg-gray);
    min-height: calc(100vh - 200px);
}

.legal-content-section .container {
    max-width: 900px;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.legal-page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--accent);
}

.legal-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.last-updated {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Legal Content */
.legal-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin: 35px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin: 25px 0 15px 0;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0 20px 20px;
    list-style: disc;
}

.legal-content ul li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 10px;
    padding-left: 5px;
}

.legal-content ul li::marker {
    color: var(--accent);
}

.legal-content strong {
    color: var(--navy);
    font-weight: 600;
}

/* =============================================
   LEGAL FOOTER NAV
   ============================================= */
.legal-footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.legal-footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-white);
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.legal-footer-nav a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.legal-footer-nav a i {
    font-size: 16px;
}

/* =============================================
   FOOTER STYLES
   ============================================= */
.site-footer {
    background: linear-gradient(180deg, #001A56 0%, #000d30 100%);
    color: white;
    margin-top: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.copyright a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.copyright a:hover {
    text-decoration: underline;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent);
}

.legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablet */
@media (max-width: 768px) {
    .logo {
        height: 50px;
    }
    
    .legal-content-section {
        padding: 40px 0;
    }
    
    .legal-page-header h1 {
        font-size: 28px;
    }
    
    .legal-content {
        padding: 30px 25px;
    }
    
    .legal-content h2 {
        font-size: 20px;
    }
    
    .legal-content h3 {
        font-size: 16px;
    }
    
    .legal-content p {
        font-size: 15px;
    }
    
    .legal-footer-nav {
        gap: 15px;
    }
    
    .legal-footer-nav a {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    .header-top {
        padding: 8px 10px;
    }
    
    .legal-content-section {
        padding: 30px 0;
    }
    
    .legal-page-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .legal-page-header h1 {
        font-size: 24px;
    }
    
    .legal-content {
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .legal-content h2 {
        font-size: 18px;
        margin: 25px 0 15px 0;
    }
    
    .legal-content h3 {
        font-size: 15px;
    }
    
    .legal-content p {
        font-size: 14px;
    }
    
    .legal-content ul {
        margin-left: 15px;
    }
    
    .legal-content ul li {
        font-size: 14px;
    }
    
    .legal-footer-nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .legal-footer-nav a {
        width: 100%;
        justify-content: center;
    }
    
    .copyright p {
        font-size: 12px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .legal-links a {
        font-size: 12px;
    }
}

/* =============================================
   DARK MODE
   ============================================= */
body.dark-mode {
    background-color: #0f0f0f;
    color: #e0e0e0;
}

body.dark-mode .site-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

body.dark-mode .legal-content-section {
    background: #0f0f0f;
}

body.dark-mode .legal-page-header h1 {
    color: #e0e0e0;
}

body.dark-mode .legal-page-header {
    border-bottom-color: #333;
}

body.dark-mode .legal-content {
    background: #1a1a1a;
    border: 1px solid #333;
}

body.dark-mode .legal-content h2 {
    color: #e0e0e0;
    border-bottom-color: #333;
}

body.dark-mode .legal-content h3 {
    color: #e0e0e0;
}

body.dark-mode .legal-content p {
    color: #ccc;
}

body.dark-mode .legal-content ul li {
    color: #ccc;
}

body.dark-mode .legal-footer-nav a {
    background: #1a1a1a;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .legal-footer-nav a:hover {
    background: var(--accent);
    color: white;
}

body.dark-mode .legal-footer-nav {
    border-top-color: #333;
}

body.dark-mode .site-footer {
    background: linear-gradient(180deg, #0a1628 0%, #050d1a 100%);
}

body.dark-mode .footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    border-top-color: #333;
}

body.dark-mode .copyright p {
    color: #888;
}

body.dark-mode .legal-links a {
    color: #888;
}

body.dark-mode .legal-links a:hover {
    color: #fff;
}

body.dark-mode .legal-links .separator {
    color: #444;
}

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

.legal-page-header {
    animation: fadeInUp 0.6s ease forwards;
}

.legal-content {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.legal-footer-nav {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* Staggered animation for content sections */
.legal-content h2,
.legal-content h3,
.legal-content p,
.legal-content ul {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.legal-content h2:nth-child(1) { animation-delay: 0.3s; }
.legal-content h2:nth-child(2) { animation-delay: 0.35s; }
.legal-content h2:nth-child(3) { animation-delay: 0.4s; }
.legal-content h2:nth-child(4) { animation-delay: 0.45s; }
.legal-content h2:nth-child(5) { animation-delay: 0.5s; }
.legal-content h2:nth-child(6) { animation-delay: 0.55s; }
.legal-content h2:nth-child(7) { animation-delay: 0.6s; }
.legal-content h2:nth-child(8) { animation-delay: 0.65s; }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

