/* ===== CSS Variables - ALMA Brand Colors (from logo) ===== */
:root {
    --color-primary: #0F4C81;
    --color-primary-dark: #1A2F4B;
    --color-primary-navy: #0d2137;
    --color-accent: #84cc16;
    --color-accent-hover: #a3e635;
    --color-accent-olive: #65a30d;
    --color-text: #1a1a1a;
    --color-text-muted: #475569;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0a0a0a;
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

ul {
    list-style: none;
}

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

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    z-index: 10000;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 1rem;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

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

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

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

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #0a0a0a;
    overflow: hidden;
}

.hero-bg-accent {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Overlay for readability over full-bleed photo */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.32) 100%);
    z-index: 1;
}

.hero-photo-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-image: url('assets/michalis-photo-v2.png');
    background-size: cover;
    background-position: 28% top;
    background-repeat: no-repeat;
    animation: heroPhotoEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(25px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    width: 100%;
    min-height: 90vh;
}

@keyframes heroPhotoEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero content entrance */
.hero-content-animate {
    animation: heroContentEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroContentEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* animate-on-scroll: no scroll animation, elements visible by default */
.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.hero-content {
    flex: 0 1 55%;
    max-width: 600px;
    padding: 2rem 0;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #d1fae5;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-logo-wrap {
    margin-top: 2rem;
}

.hero-logo {
    width: clamp(100px, 12vw, 160px);
    height: auto;
    display: block;
}

/* ===== Sections Preview ===== */
.sections-preview {
    padding: 3rem 1.5rem;
    background: var(--color-bg);
}

.preview-cards {
    display: flex;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.preview-card {
    flex: 1;
    min-width: 280px;
    padding: 3rem 2rem;
    background: var(--color-primary);
    color: white;
    text-align: center;
    border-radius: 8px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.preview-card h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
}

/* ===== Quote Section ===== */
.quote-section {
    padding: 4rem 1.5rem;
    background: var(--color-bg-alt);
}

.quote {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    text-align: center;
    font-style: italic;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0.5;
}

/* ===== Section Common ===== */
.section {
    position: relative;
    padding: 4rem 1.5rem;
    overflow-x: hidden;
    overflow-y: visible;
}

/* Green diagonal band - accent inspired by ALMA logo */
.section::after {
    display: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-top: 1.25rem;
}

/* Decorative lines inspired by ALMA logo (blue square, wavy motifs) */
.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary) 30%, var(--color-accent-olive) 50%, var(--color-primary) 70%, transparent);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 76, 129, 0.3) 20%, rgba(15, 76, 129, 0.5) 50%, rgba(15, 76, 129, 0.3) 80%, transparent);
}

.section-link {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: white;
    background: var(--color-accent-olive);
    border-radius: 9999px;
    transition: background var(--transition), transform var(--transition);
}

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

/* ===== Proposals Section ===== */
.proposals-section {
    background: var(--color-bg);
}

.proposals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.proposal-card {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.proposal-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}

.proposal-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.proposal-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ===== Actions Section ===== */
.actions-section {
    background: var(--color-bg-alt);
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    transition: box-shadow var(--transition);
}

.action-item:hover {
    box-shadow: var(--shadow);
}

.action-item time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    flex-shrink: 0;
}

.action-item h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

/* ===== Bio Section ===== */
.bio-section {
    background: var(--color-bg);
}

.bio-content {
    max-width: 700px;
    margin: 0 auto;
}

.bio-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* ===== Bio Page (biografiko.html) ===== */
.bio-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-primary-navy) 100%);
    overflow: hidden;
}

.bio-hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/michalis-photo-v2.png') center right / 55% auto no-repeat;
    opacity: 0.15;
    filter: grayscale(100%);
}

.bio-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
    width: 100%;
}

.bio-hero-photo {
    flex: 0 0 320px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    background-image: url('assets/michalis-photo-v2.png');
    background-size: cover;
    background-position: center;
}

.bio-hero-content {
    flex: 1;
    text-align: center;
}

.bio-hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.bio-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.bio-hero-logo-img {
    height: 48px;
    width: auto;
    opacity: 0.95;
}

.bio-page-section {
    background: var(--color-bg-alt);
}

.bio-page-section::after {
    display: none;
}

.bio-page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 0;
}

.bio-intro {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.bio-section-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent-olive);
}

.bio-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.bio-milestones {
    list-style: none;
    margin-bottom: 2rem;
}

.bio-milestone {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent-olive);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition);
}

.bio-milestone:hover {
    box-shadow: var(--shadow);
}

.bio-milestone-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-olive);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.bio-milestone span:last-child {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.bio-quote {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-primary);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    background: white;
    border-radius: 12px;
    border-left: 5px solid var(--color-accent-olive);
    box-shadow: var(--shadow);
}

.bio-quote::before {
    content: '"';
    font-size: 2.5rem;
    color: var(--color-accent-olive);
    opacity: 0.6;
}

.bio-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Legal pages (Όροι Χρήσης, Πολιτική Απορρήτου) */
.legal-page-section {
    background: var(--color-bg-alt);
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.legal-page-section::after {
    display: none;
}

.legal-page-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.legal-section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-accent-olive);
}

.legal-page-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.legal-page-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-page-content a:hover {
    text-decoration: underline;
}

.legal-list {
    margin: 0.5rem 0 1.5rem 1.25rem;
    padding-left: 1.25rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}

.legal-cta {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .bio-hero-inner {
        flex-direction: column;
        text-align: center;
        padding-top: 5rem;
    }
    .bio-hero-photo {
        flex: 0 0 auto;
        width: 240px;
    }
    .bio-hero-title {
        font-size: 1.85rem;
    }
    .bio-hero-subtitle {
        font-size: 1rem;
    }
}

/* ===== News Section - Video Carousel ===== */
.news-section {
    background: var(--color-bg-alt);
}

.video-carousel {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.carousel-track-wrap {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.video-wrapper {
    position: relative;
    width: min(100%, 420px);
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
}

.video-wrapper iframe[src]:not([src=""]) + .video-placeholder,
.video-wrapper:has(iframe[src]:not([src=""])) .video-placeholder {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: background var(--transition), color var(--transition), transform var(--transition);
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--color-accent-olive);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.carousel-dots button:hover {
    background: rgba(0,0,0,0.35);
}

.carousel-dots button.active {
    background: var(--color-accent-olive);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .video-wrapper {
        width: min(100%, 340px);
    }

    .carousel-prev {
        left: 8px;
    }
    .carousel-next {
        right: 8px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--color-primary);
    color: white;
}

.contact-section .section-title,
.contact-section .page-title {
    color: white;
}

.contact-section .section-title::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5) 30%, rgba(132,204,22,0.8) 50%, rgba(255,255,255,0.5) 70%, transparent);
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.2) 80%, transparent);
}

.contact-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
}

.contact-page .page-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-top: 1.25rem;
}

.contact-page .page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5) 30%, rgba(132,204,22,0.8) 50%, rgba(255,255,255,0.5) 70%, transparent);
    border-radius: 2px;
}

.contact-page .page-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.2) 80%, transparent);
}

.contact-content {
    text-align: center;
}

.contact-message {
    max-width: 56rem;
    margin: 0 auto 2.5rem;
}

.contact-message p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-message p:last-child {
    margin-bottom: 0;
}

.contact-ways-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.contact-ways-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.contact-ways-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-ways-list a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-ways-list a:hover {
    color: white;
    text-decoration: underline;
}

.contact-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.social-links a,
.social-icon-link {
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), transform var(--transition);
}

.social-links a:hover,
.social-icon-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.social-icon {
    width: 28px;
    height: 28px;
}

.social-links .social-icon {
    width: 36px;
    height: 36px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-primary-navy);
    color: white;
    padding: 3rem 1.5rem 4rem;
}

.footer .container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr;
    align-items: start;
    gap: 1.5rem 2rem;
}

.footer-content {
    text-align: left;
    margin-bottom: 0;
}

.footer-party-logo {
    display: block;
    width: clamp(150px, 18vw, 230px);
    height: auto;
    margin: 0.35rem 0 0.65rem;
    filter: brightness(1.12) contrast(1.18) saturate(1.08) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    opacity: 0.98;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
}

.footer-nav a {
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.9);
}

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

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    padding-bottom: 0;
}

.footer-social .social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icon-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-social .social-icon {
    width: 22px;
    height: 22px;
}

.footer-credit {
    margin-top: 0.5rem;
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.85;
    grid-column: 3;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.9);
}

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

/* Hide LinkedIn icon across all pages */
.social-icon-link[aria-label="LinkedIn"] {
    display: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-content,
    .footer-nav,
    .footer-social,
    .footer-credit {
        grid-column: auto;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-party-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .logo-img {
        height: 40px;
    }

    .hero-photo-wrap {
        width: 100%;
        height: 100%;
        background-position: 30% top;
    }

    .hero-inner {
        flex-direction: column;
        justify-content: center;
        min-height: 90vh;
        padding-top: 6rem;
        padding-bottom: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-logo-wrap {
        display: flex;
        justify-content: center;
    }

    .hero-logo {
        margin: 0 auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

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

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

    .preview-cards {
        flex-direction: column;
    }

    .action-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

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

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