/* CSS Variables */
:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #a78bfa;
    --color-accent-light: #c4b5fd;
    --color-accent-dark: #7c3aed;
    --color-border: #e5e5e5;
    --font-display: 'Instrument Serif', serif;
    --font-body: 'Space Mono', monospace;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: normal;
    color: var(--color-text);
    text-decoration: none;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s var(--transition);
}

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

.nav-cta {
    background: var(--color-text);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('town_hall_background.png') center/cover;
    opacity: 0.15;
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 1s var(--transition);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    animation: fadeInUp 1s var(--transition) 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: normal;
    line-height: 1;
    margin-bottom: 24px;
    font-style: italic;
    animation: fadeInUp 1s var(--transition) 0.4s both;
}

.hero-tagline {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s var(--transition) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--transition) 0.8s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    animation: fadeIn 1s var(--transition) 1s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.6; }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-text);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-text);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-accent-dark);
    border: 1px solid var(--color-accent);
    padding: 12px 24px;
    font-size: 13px;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-large {
    padding: 18px 40px;
    font-size: 14px;
}

/* Section Styling */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: normal;
    margin-bottom: 16px;
    font-style: italic;
}

.section-line {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--color-bg);
}

.about-description {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 80px;
    color: var(--color-text-muted);
}

.focus-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.focus-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s var(--transition);
}

.focus-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.focus-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.focus-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 16px;
    font-style: italic;
}

.focus-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Projects Section */
.projects {
    background: #fafafa;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.project-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo-img {
    max-width: 100%;
    height: auto;
}

.project-content h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 16px;
    font-style: italic;
}

.project-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.projects-note {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Team Section */
.team {
    background: var(--color-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 24px;
    font-family: var(--font-display);
}

.team-member h3 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 8px;
}

.team-title {
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Financials Section */
.financials {
    background: #fafafa;
}

.financials-intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--color-text-muted);
}

.financials-status {
    max-width: 700px;
    margin: 0 auto 60px;
}

.status-card {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.status-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.status-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 16px;
    font-style: italic;
}

.status-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.financials-commitment {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(167, 139, 250, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.financials-commitment h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 16px;
    font-style: italic;
}

.financials-commitment p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.financials-commitment ul {
    list-style: none;
    padding-left: 0;
}

.financials-commitment li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-muted);
}

.financials-commitment li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Footer */
.footer {
    background: var(--color-text);
    color: white;
    padding: 100px 0 40px;
}

.footer h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: normal;
    margin-bottom: 16px;
    font-style: italic;
}

.footer h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.footer p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: var(--color-accent-light);
}

.footer-content {
    margin-bottom: 80px;
}

.footer-main {
    text-align: center;
    margin-bottom: 80px;
}

.footer-main p {
    font-size: 18px;
    margin-bottom: 40px;
}

.footer-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-section p {
    margin-top: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 16px;
    font-size: 13px;
}

.footer-disclaimer {
    font-size: 12px !important;
    opacity: 0.6;
}

.footer-address {
    font-size: 11px !important;
    opacity: 0.4;
    margin-bottom: 16px;
}

.footer-link {
    font-size: 13px;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--color-border);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .focus-areas {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-actions {
        flex-direction: column;
    }

    .footer-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }
}
