@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-color: #2c3e50;
    --accent-color: #c44536;
    --text-light: #7f8c8d;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding-top: 80px;
}

.animated-text-container {
    max-width: 800px;
    z-index: 10;
    position: relative;
    padding: 0 2rem;
}

.text-block {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.text-block:nth-child(1) { animation-delay: 0.2s; }
.text-block:nth-child(2) { animation-delay: 0.4s; }
.text-block:nth-child(3) { animation-delay: 0.6s; }
.text-block:nth-child(4) { animation-delay: 0.8s; }
.text-block:nth-child(5) { animation-delay: 1.0s; }

.text-line {
    margin: 0;
}

.text-item {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: -0.01em;
    line-height: 1.7;
}

.text-item .highlight {
    font-weight: 500;
    color: var(--text-dark);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}


.spaceship-text {
    position: fixed;
    right: 12%;
    top: 70%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.3em;
    opacity: 0.3;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
}

.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.star-text {
    position: absolute;
    font-size: 1rem;
    font-weight: 600;
    color: #D4AF37;
    opacity: 0.4;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: none;
}

.moon-text {
    font-size: 1.5rem;
    color: #C0C0C0;
    opacity: 0.5;
}

.mars-text {
    font-size: 1.5rem;
    color: #CD5C5C;
    opacity: 0.5;
}

.pencil {
    position: absolute;
    width: 80px;
    height: 12px;
    background: linear-gradient(90deg, #3498db 0%, #5dade2 100%);
    border-radius: 6px;
    animation: rotate 30s infinite linear;
}

.pencil-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.pencil-2 {
    bottom: 30%;
    left: 25%;
    animation-delay: 5s;
}

.pencil-3 {
    top: 70%;
    right: 30%;
    animation-delay: 10s;
}


@keyframes rotate {
    0% { transform: rotate(0deg) translateX(0); }
    50% { transform: rotate(180deg) translateX(20px); }
    100% { transform: rotate(360deg) translateX(0); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.about-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Insights Section */
.insights-section {
    padding: 4rem 0 6rem;
    background: var(--white);
    position: relative;
    min-height: 200vh;
}

.insights-section .container {
    z-index: 10;
    position: relative;
    max-width: none;
    padding: 0 5%;
}

.bio-section {
    margin-bottom: 4rem;
    text-align: left;
}

.name-heading {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.name-heading-link {
    text-decoration: none;
}

.name-heading-link:hover .name-heading {
    color: var(--accent-color);
}

.bio-box {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.news-box {
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}

.news-link {
    color: #B22234;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 400;
    display: block;
}

.news-link:hover {
    color: #8B1A28;
}

.date-box {
    color: var(--text-dark);
    padding: 0.5rem 0;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.progress-text {
    color: var(--primary-color);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.bio-line {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: -0.01em;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
}

.bio-line .highlight {
    font-weight: 500;
    color: var(--text-dark);
}

.highlight-link {
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.highlight-link:hover {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.flag-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.flag-link:hover {
    opacity: 0.8;
}

.american-flag {
    width: 50px;
    height: auto;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
}

.news-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 1rem;
    padding: 10px 16px;
    background-color: #B22234;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-button:hover {
    background-color: #8B1A28;
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-link {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-separator {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.5;
}

.insights-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.thoughts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thought-item {
    border-bottom: 1px solid var(--border-color);
}

.thought-item:last-child {
    border-bottom: none;
}

.thought-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    text-decoration: none;
    transition: padding-left 0.3s ease;
}

.thought-link:hover {
    padding-left: 1rem;
}

.thought-title {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.thought-link:hover .thought-title {
    color: var(--accent-color);
}

.thought-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: nowrap;
    margin-left: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-value {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-value {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact-item:hover {
    opacity: 0.7;
}

.footer-separator {
    opacity: 0.5;
}

.footer-copyright {
    margin: 0;
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .insights-section {
        padding: 3rem 0 4rem;
        min-height: 200vh;
    }

    .spaceship-text {
        right: 2%;
        font-size: 1.3rem;
        top: 60%;
        letter-spacing: 0.2em;
    }

    .star-text {
        font-size: 0.65rem;
        opacity: 0.3 !important;
    }

    .moon-text {
        font-size: 0.9rem;
        opacity: 0.4 !important;
    }

    .mars-text {
        font-size: 0.9rem;
        right: 3% !important;
        left: auto !important;
        opacity: 0.4 !important;
    }

    .insights-section .container {
        padding: 0 1.5rem;
    }

    .name-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

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

    .bio-line {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.6rem;
    }

    .contact-info {
        margin-top: 1.5rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .contact-link {
        font-size: 0.85rem;
    }

    .contact-separator {
        font-size: 0.85rem;
    }

    .american-flag {
        width: 40px;
        margin-top: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .text-item {
        font-size: 1rem;
    }

    .animated-text-container {
        padding: 0 1rem;
    }

    .text-block {
        margin-bottom: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .insights-section h2 {
        font-size: 1.5rem;
    }

    .thought-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 0;
    }

    .thought-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .thought-date {
        margin-left: 0;
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .insights-section {
        padding: 2rem 0 3rem;
        min-height: 200vh;
    }

    .spaceship-text {
        right: 1%;
        font-size: 1rem;
        top: 55%;
        letter-spacing: 0.15em;
    }

    .star-text {
        font-size: 0.55rem;
        opacity: 0.25 !important;
    }

    .moon-text {
        font-size: 0.8rem;
        opacity: 0.35 !important;
    }

    .mars-text {
        font-size: 0.8rem;
        right: 2% !important;
        left: auto !important;
        opacity: 0.35 !important;
    }

    .insights-section .container {
        padding: 0 1rem;
    }

    .name-heading {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .bio-line {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .contact-info {
        margin-top: 1rem;
    }

    .contact-link {
        font-size: 0.8rem;
    }

    .american-flag {
        width: 35px;
        margin-top: 1rem;
        margin-bottom: 0.3rem;
    }
}