/* styles.css */
:root {
    --primary-color: #FF6B6B;
    --accent-color: #4CAF50;
    --text-color: #333333;
    --bg-color: #F8F9FA;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --nav-bg: #F0F0F0;
    --nav-active: #E0E0E0;
    --border-color: #E0E0E0;
}

.dark-theme {
    --primary-color: #FF8080;
    --accent-color: #5CCA5C;
    --text-color: #F0F0F0;
    --bg-color: #121212;
    --card-bg: #1E1E1E;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --nav-bg: #2A2A2A;
    --nav-active: #3A3A3A;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    position: relative;
}

.tomato {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.leaf {
    width: 15px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 0 50% 0 50%;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(-20deg);
}

h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

#theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.fa-moon, .fa-sun {
    position: absolute;
    transition: transform 0.3s ease;
}

body:not(.dark-theme) .fa-moon {
    transform: translateY(0);
}

body:not(.dark-theme) .fa-sun {
    transform: translateY(40px);
}

body.dark-theme .fa-moon {
    transform: translateY(-40px);
}

body.dark-theme .fa-sun {
    transform: translateY(0);
}

/* Navigation Styles */
.policy-nav {
    background-color: var(--nav-bg);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    box-shadow: var(--card-shadow);
}

.policy-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    white-space: nowrap;
}

.policy-nav li {
    display: inline-block;
}

.policy-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.policy-nav a:hover, .policy-nav a.active {
    background-color: var(--nav-active);
    color: var(--primary-color);
}

/* Main Content Styles */
.policy-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.policy-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 30px;
    font-style: italic;
}

section {
    margin-bottom: 30px;
}

h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 10px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Footer Styles */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-color);
}

.footer-links a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .policy-title {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .policy-content {
        padding: 20px;
    }
    
    footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .policy-title {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .policy-nav a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}