/* Page-specific styles for About, Terms, and Privacy pages */

/* Logo as home link */
.logo-section {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo-section:hover {
    opacity: 0.8;
}

/* Navigation Updates */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #1c1c1e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #007aff;
}

.nav-link.active {
    color: #007aff;
}

/* Page Content */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: rgba(0, 0, 0, 0.9);
    line-height: 1.6;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 1);
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(0, 0, 0, 1);
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: rgba(0, 0, 0, 0.95);
}

.content-section p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.content-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Story Content */
.story-content {
    background: transparent;
    padding: 0;
}

/* Temperature Scale Cards */
.temperature-scale {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.temperature-scale h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.scale-info p {
    margin-bottom: 0.8rem;
}

.scale-info strong {
    color: rgba(0, 0, 0, 1);
}

/* Fun Facts */
.fun-facts {
    background: transparent;
    padding: 0;
    margin-top: 1.5rem;
}

.fun-facts h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.fun-facts ul {
    margin: 0;
}

.fun-facts li {
    margin-bottom: 1rem;
}

.fun-facts strong {
    color: rgba(0, 0, 0, 1);
}

/* Legal Content */
.legal-content {
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 1);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.2rem 0 0.8rem 0;
    color: rgba(0, 0, 0, 0.95);
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.4rem;
}

.legal-section strong {
    color: rgba(0, 0, 0, 1);
}

.legal-section a {
    color: #007aff;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Footer - Default (for main page with light theme) */
.footer {
    margin-top: 4rem;
    padding: 2rem 1rem;
    background: transparent;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    font-weight: 400;
}

.footer-links a:hover,
.footer-links a.active {
    color: rgba(0, 0, 0, 0.8);
}

.footer-links .bullet {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-copyright {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-copyright p {
    margin: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { display: flex; align-items: center; gap: 0.75rem; }
    .nav-links .about-link { display: none; }
    
    .page-content {
        padding: 1.5rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .story-content,
    .temperature-scale,
    .fun-facts {
        padding: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .footer-links {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .temperature-scale h3,
    .fun-facts h3 {
        font-size: 1.2rem;
    }
}
