/*
Theme Name: Protivalce Modern
Theme URI: https://protivalce.cz
Description: Modern, clean theme for peace initiative website - Iniciativa proti válce
Version: 1.0.0
Author: Custom Development
Author URI: https://protivalce.cz
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: protivalce
Tags: one-page, activism, responsive, modern
*/

:root {
    --primary: #2d5016;
    --primary-light: #4a7c2a;
    --primary-dark: #1a3009;
    --accent: #7fb069;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.cta-button {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.cta-button::after {
    display: none;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://protivalce.cz/wp-content/uploads/2025/10/ComfyUI_00004_.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(127, 176, 105, 0.3), transparent);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

/* Stats */
.stats-section {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 2rem;
}

.stats-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.stats-intro h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.stats-intro p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: rgba(127, 176, 105, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.stat-description {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-light);
    line-height: 1.7;
}

.alt-section {
    background: var(--bg-light);
}

/* Contact */
.contact-section {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    padding: 6rem 2rem;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Contact Form 7 Styles */
.contact-form .wpcf7 {
    width: 100%;
}

.contact-form .wpcf7-form p {
    margin-bottom: 1.5rem;
}

.contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid #e9ecef !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1) !important;
}

.contact-form .wpcf7-form textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

.contact-form .wpcf7-form .wpcf7-checkbox,
.contact-form .wpcf7-form .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-form .wpcf7-form .wpcf7-list-item {
    margin: 0 !important;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-form .wpcf7-form .wpcf7-list-item label {
    margin: 0 !important;
    font-weight: 400 !important;
    color: var(--text-light) !important;
    font-size: 0.95rem !important;
}

.contact-form .wpcf7-form input[type="checkbox"],
.contact-form .wpcf7-form input[type="radio"] {
    width: auto !important;
    margin-top: 0.25rem !important;
}

.contact-form .wpcf7-form input[type="submit"] {
    background: var(--primary) !important;
    color: white !important;
    padding: 1rem 3rem !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.contact-form .wpcf7-form input[type="submit"]:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.3) !important;
}

.contact-form .wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

.contact-form .wpcf7-form .wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 10px !important;
}

.contact-form .wpcf7-form .wpcf7-validation-errors {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 2px solid #f5c6cb !important;
}

.contact-form .wpcf7-form .wpcf7-mail-sent-ok {
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #c3e6cb !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.95rem;
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45, 80, 22, 0.3);
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

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

/* Form Messages */
.form-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Petition Page Styles */
.petition-page {
    padding: 8rem 2rem 4rem;
    background: var(--bg-light);
    min-height: 100vh;
}

.petition-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.petition-title {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.petition-intro p,
.petition-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.petition-request {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.petition-request p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.referendum-question {
    background: white;
    border-left: 5px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
}

.petition-body h2 {
    color: var(--primary);
    margin: 2rem 0 1.5rem;
    font-size: 1.8rem;
}

.petition-demands {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.petition-demands li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    line-height: 1.8;
    color: var(--text-dark);
    border-bottom: 1px solid #e9ecef;
}

.petition-demands li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.petition-closing {
    font-weight: 600;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.petition-contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.petition-contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.petition-contact-info p {
    margin-bottom: 0.75rem;
}

.petition-signature-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 3px solid var(--primary);
}

.petition-signature-section h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.petition-signature-section > p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.petition-form-container {
    margin: 2rem 0;
}

.petition-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
}

.petition-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.petition-form-container iframe {
    border: none;
    border-radius: 10px;
}

.share-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    border-radius: 20px;
    text-align: center;
}

.share-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.share-section > p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.share-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.facebook-btn {
    background: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background: #145dbf;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.twitter-btn {
    background: #000000;
    color: white;
}

.twitter-btn:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.email-btn {
    background: #ea4335;
    color: white;
}

.email-btn:hover {
    background: #c5342a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.3);
}

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

.copy-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .main-nav ul { flex-direction: column; gap: 1rem; }
    .header-inner { flex-direction: column; gap: 1.5rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .cards-grid, .stats-grid { grid-template-columns: 1fr; }
    
    .petition-content {
        padding: 2rem;
    }
    
    .petition-title {
        font-size: 1.8rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
    }
}
