/* ========================================
   PETICION KOMBËTAR - Modern Design
   ======================================== */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B0000;
    --primary-light: #A52A2A;
    --primary-dark: #5C0000;
    --gold-color: #B8860B;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.main-header {
    background: var(--card-bg);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--primary-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.image-section {
    flex: 0 0 auto;
}

.petition-image {
    width: 60%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: block;
}

.title-section {
    flex: 0 0 auto;
    text-align: center;
}

.main-title {
    font-size: 38px;
    color: var(--primary-color);
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 17px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.cta-button:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
}

.cta-button-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    padding: 30px 0;
}

.content-card {
    background: var(--card-bg);
    padding: 40px 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

/* Addressee Section */
.addressee {
    margin-bottom: 25px;
}

.we-are {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.address-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.to-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.recipient {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Introduction */
.introduction {
    margin-bottom: 25px;
}

.introduction > p {
    margin-bottom: 20px;
}

.accused-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.accused-item {
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.accused-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

/* Context Section */
.context {
    margin-bottom: 25px;
}

.highlight-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    padding: 20px;
    background: #fef9f3;
    border-left: 4px solid var(--gold-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 25px;
}

.we-emphasize {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 15px;
}

.bullet-points {
    list-style: none;
    padding: 0;
}

.bullet-points li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.bullet-points li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

/* Demands Section */
.demands {
    margin-bottom: 25px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    max-width: 100px;
}

.title-line:last-child {
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.demands-list {
    list-style: decimal;
    padding-left: 25px;
    margin: 0;
}

.demands-list li {
    margin-bottom: 20px;
    padding-left: 15px;
    line-height: 1.8;
}

.demand-text {
    display: block;
}

/* Closing */
.closing {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: var(--radius-md);
    font-style: italic;
    font-size: 17px;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

/* ========================================
   BOTTOM CTA
   ======================================== */
.bottom-cta-section {
    margin: 10px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-card h3 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.cta-card .cta-button {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-card .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--text-color);
    color: rgba(255,255,255,0.6);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.close:hover {
    color: white;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 35px 30px 25px;
    text-align: center;
    color: white;
}

.modal-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-header p {
    opacity: 0.8;
    font-size: 14px;
}

.modal-content form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.required {
    color: var(--primary-color);
}

.optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 12px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Messages */
.message {
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
    text-align: center;
}

.message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .main-header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .image-section {
        flex: none;
    }
    
    .petition-image {
        width: 60%;
        max-width: 200px;
    }
    
    .main-title {
        font-size: 26px;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .content-card {
        padding: 25px 20px;
    }
    
    .accused-list {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .section-title {
        font-size: 20px;
        gap: 10px;
    }
    
    .title-line {
        max-width: 50px;
    }
    
    .demands-list {
        padding-left: 20px;
    }
    
    .demands-list li {
        padding-left: 10px;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .cta-card h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .cta-button-large {
        padding: 16px 30px;
        font-size: 16px;
    }
}
