/* 
 * ====================================================================
 * STRONA KAMPANII WYBORCZEJ: ANTONI MAJEWSKI
 * ====================================================================
 */

:root {
    --navy-900: #101432;
    --navy-800: #171B3E;
    --navy-700: #1F2552;
    --navy-600: #2C356F;
    
    --orange-primary: #F28000;
    --orange-hover: #D96E00;
    --orange-accent: #FFA000;
    --orange-light: #FFF4E5;
    
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0F172A;
    
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(16, 20, 50, 0.05);
    --shadow-md: 0 6px 16px rgba(16, 20, 50, 0.08);
    --shadow-lg: 0 14px 34px rgba(16, 20, 50, 0.12);
    --shadow-orange: 0 6px 20px rgba(242, 128, 0, 0.28);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAGLOWEK */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-main {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--navy-800);
    letter-spacing: 0.03em;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--orange-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-link {
    text-decoration: none;
    color: var(--navy-700);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

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

.nav-btn {
    background: var(--navy-800);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--orange-primary);
    box-shadow: var(--shadow-orange);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--navy-800);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-800);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* SEKUS HERO */
.hero-section {
    padding: 60px 0 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--gray-50) 100%);
    border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 900;
    color: var(--navy-800);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 900;
    color: var(--navy-800);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-block;
    background: var(--orange-primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    box-shadow: var(--shadow-orange);
    margin-bottom: 28px;
}

.hero-list-header {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--navy-800);
    margin-bottom: 12px;
}

.hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-800);
}

.hero-list-bullet {
    color: var(--orange-primary);
    font-weight: 900;
}

.hero-motto-box {
    background: var(--white);
    border-left: 4px solid var(--orange-primary);
    border: 1px solid var(--gray-200);
    border-left-width: 4px;
    border-left-color: var(--orange-primary);
    padding: 18px 22px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 30px;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.hero-quote {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.hero-quote-desc {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange-primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-orange);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy-800);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--navy-700);
    transform: translateY(-2px);
}

/* WIZUALIZACJA PLAKATU */
.hero-visual {
    display: flex;
    justify-content: center;
}

.poster-card {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    max-width: 400px;
    width: 100%;
}

.poster-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

/* POSTULATY */
.section-postulates {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--orange-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--navy-800);
    line-height: 1.2;
    text-transform: uppercase;
}

.postulates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.postulate-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.postulate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-primary);
}

.card-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--orange-primary);
    line-height: 1;
    margin-bottom: 16px;
}

.postulate-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--navy-800);
    margin-bottom: 12px;
    line-height: 1.3;
}

.postulate-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SEKUS SKRZYNKI POMYSLOW */
.section-box {
    padding: 80px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.box-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.box-info {
    background: var(--navy-800);
    color: var(--white);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-info-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.box-info-desc {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--white);
}

.feature-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    stroke: var(--orange-primary);
    margin-top: 2px;
}

.box-note {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.82rem;
    color: var(--gray-300);
}

.box-form-container {
    padding: 40px 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--white);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(242, 128, 0, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    display: block;
    text-align: right;
    font-size: 0.78rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.hp-field {
    display: none !important;
    visibility: hidden;
}

.form-status {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-status.success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #86EFAC;
}

.form-status.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.form-status.info {
    background: #E0F2FE;
    color: #075985;
    border: 1px solid #7DD3FC;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--orange-primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover:not(:disabled) {
    background: var(--orange-hover);
    box-shadow: var(--shadow-orange);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* SEKUS PLAKATY */
.section-posters {
    padding: 70px 0;
    background: var(--white);
}

.posters-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.poster-item {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.poster-item img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
}

.poster-label {
    display: block;
    margin-top: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-800);
}

/* STOPKA */
.site-footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 36px 0;
    border-top: 4px solid var(--orange-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    text-transform: uppercase;
}

.footer-motto {
    font-size: 0.85rem;
    color: var(--orange-primary);
    font-weight: 600;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--gray-300);
}

.footer-author {
    font-size: 0.82rem;
    color: var(--gray-300);
}

.footer-author a {
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-author a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }

    .poster-card {
        max-width: 320px;
    }

    .box-wrapper {
        grid-template-columns: 1fr;
    }

    .posters-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
        display: none;
        gap: 18px;
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .box-info, .box-form-container {
        padding: 28px 20px;
    }

    .hero-section {
        padding: 36px 0 50px 0;
    }

    .hero-actions {
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

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

    .footer-meta {
        align-items: center;
        text-align: center;
    }
}
