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

:root {
    --color-dark: #1e2d2b;
    --color-darker: #141f1e;
    --color-accent: #0d9488;
    --color-accent-light: #2dd4bf;
    --color-warm: #0d9488;
    --color-text: #334040;
    --color-text-light: #7a8a8a;
    --color-bg: #ffffff;
    --color-bg-alt: #f3f7f6;
    --color-card-dark: #1e2d2b;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-weight: 900;
    font-size: 0.85rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.7;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-text);
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.lang-buttons {
    display: flex;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-dark);
}

.lang-btn {
    background: transparent;
    color: var(--color-dark);
    border: none;
    padding: 0.35rem 0.6rem;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.lang-btn:not(:last-child) {
    border-right: 1px solid var(--color-dark);
}

.lang-btn.active {
    background: var(--color-dark);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: var(--color-accent);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #e2e8f0 100%);
    padding-top: 70px;
    overflow: hidden;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    display: block;
}

.hero-accent {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-party-logo {
    display: inline-block;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}

.hero-party-logo:hover {
    opacity: 0.8;
}

.party-logo {
    height: 40px;
    width: auto;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: var(--font);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #0a7a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    max-height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* ========== Themes Section ========== */
.themes {
    padding: 8rem 0;
    background: var(--color-bg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-title.light {
    color: white;
}

.section-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text);
    max-width: 800px;
    margin-bottom: 4rem;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.themes-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.theme-card {
    background: var(--color-bg-alt);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.theme-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.theme-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.theme-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* ========== About Section ========== */
.about-section {
    padding: 0;
    background: var(--color-dark);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-facts {
    list-style: none;
    margin-bottom: 2rem;
}

.about-facts li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 50%;
}

.about-quote {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent-light);
    font-style: italic;
    line-height: 1.5;
}

/* ========== Positions Section ========== */
.positions-section {
    padding: 6rem 0;
    background: var(--color-bg-alt);
}

.positions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.positions-column h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-accent);
    letter-spacing: -0.01em;
}

.positions-list {
    list-style: none;
}

.positions-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 1rem;
}

.positions-list li:last-child {
    border-bottom: none;
}

.position-title {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.4;
    flex: 1;
}

.position-year {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.position-year.current {
    color: var(--color-accent);
    font-weight: 800;
}

/* ========== Banner Section ========== */
.banner-section {
    overflow: hidden;
}

.banner-image {
    height: 45vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 45, 43, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.banner-text {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    color: white;
    text-align: center;
    max-width: 700px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

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

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-email a {
    font-size: 1.2rem;
    color: var(--color-accent-light);
    transition: color 0.2s;
}

.contact-email a:hover {
    color: white;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: white;
}

.social-link svg {
    flex-shrink: 0;
}

.contact-message {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Footer ========== */
.footer {
    padding: 2rem 0;
    background: var(--color-darker);
    text-align: center;
}

.footer p {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* ========== Animations ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-image img {
        max-height: 50vh;
    }

    .themes-grid,
    .themes-grid.three-col {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-height: 400px;
    }

    .about-text {
        padding: 3rem 2rem;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 4rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .themes {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .banner-image {
        height: 30vh;
        min-height: 200px;
    }

    .positions-section {
        padding: 4rem 0;
    }

    .positions-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .position-year {
        font-size: 0.8rem;
    }

    .contact-name {
        font-size: 1.2rem;
    }

    .contact-message {
        font-size: 1.1rem;
    }
}
