@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Cormorant+Garamond:wght@500;600&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
    /* Colors - updated for better light/dark mode contrast */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --bg-dark: #1e293b;
    --bg-light: #ffffff;
    --text-dark: #f8fafc;
    --text-light: #1e293b;
    --border-dark: #334155;
    --border-light: #e2e8f0;
    --card-dark: #334155;
    --card-light: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

/* Theme Styles - Updated */
body.light-mode {
    background-color: #f8fafc;
    color: var(--text-light);
}

body.light-mode .navbar {
    background-color: white;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 4px var(--shadow-light);
}

body.light-mode .nav-title {
    color: var(--text-light);
}

body.light-mode .analyzer-container {
    background-color: white;
    box-shadow: 0 4px 6px var(--shadow-light);
}

body.light-mode textarea {
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    color: var(--text-light);
}

body.light-mode .chart-container {
    background-color: white;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px var(--shadow-light);
}

body.light-mode .team-member {
    background-color: white;
    box-shadow: 0 4px 6px var(--shadow-light);
}

body.light-mode .team-member h4,
body.light-mode .team-member p {
    color: var(--text-light);
}

body.light-mode .social-links a {
    color: var(--text-light);
}

body.light-mode .content-block {
    background-color: white;
    box-shadow: 0 2px 4px var(--shadow-light);
}

/* Score display in light mode */
body.light-mode .score-display {
    color: var(--primary);
}

/* Chart containers in light mode */
body.light-mode .chart-container {
    background-color: white;
    border: 1px solid var(--border-light);
}

/* About page text in light mode */
body.light-mode .about-container h2,
body.light-mode .about-container h3 {
    color: var(--primary);
}

body.light-mode .about-container p {
    color: var(--text-light);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
}

/* Theme Styles */
body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

body.light-mode {
    background-color: var(--bg-light);
    color: var(--text-light);
}

/* Navigation */
.nav-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.navbar {
    padding: 1rem;
    border-bottom: 1px solid var(--border-dark);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.nav-link.active {
    background-color: var(--primary);
    color: white;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Page Sections */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Analyzer Section */
.analyzer-container {
    background-color: var(--card-dark);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.input-section {
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-dark);
    color: inherit;
    font-size: 1rem;
    resize: vertical;
}

/* Buttons */
.primary-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
}

/* Results Section */
.results-section {
    margin-top: 2rem;
}

.credibility-score {
    text-align: center;
    margin-bottom: 2rem;
}

.score-display {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Share Section */
.share-section {
    text-align: center;
}

.share-menu {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

/* About Page */
.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--card-dark);
    border-radius: 0.5rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.linkedin-link {
    color: var(--primary);
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-dark);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* Update team member styles */
.team-member {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-dark);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h4 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.team-member p {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}


/* Update social links styling */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-dark);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Social icon specific colors on hover */
.social-links a:hover .fa-linkedin {
    color: #0077b5;
}

.social-links a:hover .fa-github {
    color: #fff;
}

.social-links a:hover .fa-envelope {
    color: #ea4335;
}

.social-links a:hover .fa-globe {
    color: #2ecc71;
}

/* Keep existing team member styles */
.team-member {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-dark);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}
/* about.js styles */

.about-content {
    margin: 2rem 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-block {
    background-color: var(--card-dark);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-block h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.content-block ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

.content-block li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-block li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--card-dark);
    border-radius: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.resource-link:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
}

.resource-link i {
    margin-left: 0.5rem;
}


.about-container h2,
.about-container h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.875rem; /* Reduced from 2.5rem */
    font-weight: bold;
    text-align: left; /* Ensure left alignment */
}

.about-container > h2 {  /* "About The Project" */
    color: var(--primary);
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-container h3 {  /* "Our Team" and other subtitles */
    color: var(--primary);
    font-size: 1.875rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.content-block h3 {  /* For section subtitles */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.about-container > p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    text-align: left;
}

/* Ensure content blocks are left-aligned */
.content-block {
    text-align: left;
}

/* Ensure list items are left-aligned */
.content-block ul li {
    text-align: left;
}
