/*
Theme Name: Minerva
Theme URI: https://minerva-invest.com
Author: Minerva Investment Firm
Author URI: https://minerva-invest.com
Description: A minimalist, elegant theme for an independent investment firm with multi-language support
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minerva
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #2C2C2C;
    --light-gray: #F5F5F5;
    --gold: #C9A961;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Navigation */
nav.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    backdrop-filter: blur(10px);
}

nav.main-nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 2px;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-switcher::before {
    content: '';
    width: 1px;
    height: 20px;
    background: rgba(201, 169, 97, 0.3);
    margin-right: 0.5rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--charcoal);
    font-size: 0.85rem;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    letter-spacing: 2px;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.9;
    font-family: 'Helvetica Neue', sans-serif;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    border: 2px solid var(--gold);
}

.btn:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--charcoal);
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--gold);
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-text {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Mission Section */
.mission {
    background-color: var(--charcoal);
    color: var(--white);
    text-align: center;
}

.mission .section-title {
    color: var(--white);
}

.mission-quote {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: var(--gold);
    line-height: 1.6;
}

.mission-text {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    color: #CCC;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Insights Section */
.insights {
    background-color: var(--white);
}

.insights-posts {
    display: grid;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.insights-posts article {
    padding: 2.5rem;
    background: var(--light-gray);
    border-left: 3px solid var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insights-posts article:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.insights-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.insights-posts h3 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.insights-posts h3 a:hover {
    color: var(--gold);
}

.post-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
    font-family: 'Helvetica Neue', sans-serif;
}

.insights-posts p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    font-family: 'Helvetica Neue', sans-serif;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--charcoal);
}

.insights-placeholder {
    font-size: 1.15rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    border-left: 3px solid var(--gold);
    background-color: var(--light-gray);
    font-family: 'Helvetica Neue', sans-serif;
    text-align: center;
}

/* Single Post */
.single-post {
    padding: 10rem 5% 5rem;
    max-width: 800px;
    margin: 0 auto;
}

.single-post h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    font-weight: 400;
}

.single-post .post-meta {
    font-size: 1rem;
    color: #999;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gold);
}

.single-post .post-content {
    font-size: 1.2rem;
    line-height: 2;
    color: #555;
}

.single-post .post-content p {
    margin-bottom: 1.5rem;
}

.single-post .post-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.single-post .post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.back-to-insights {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.8rem 2rem;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-insights:hover {
    background-color: var(--charcoal);
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    text-align: center;
}

.contact-text {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2rem;
    font-family: 'Helvetica Neue', sans-serif;
}

.email-link {
    font-size: 1.5rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--charcoal);
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 1.1rem;
    }

    .nav-right {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .language-switcher::before {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-quote {
        font-size: 1.5rem;
    }

    section {
        padding: 5rem 5%;
    }

    .single-post h1 {
        font-size: 2rem;
    }
}