/* Political Party Theme - PRP */
/* Custom styles for حزب التجديد والتقدم */

:root {
    --primary-color: #8B0000;
    --primary-dark: #6B0000;
    --secondary-color: #D4AF37;
    --accent-color: #006400;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 54, 93, 0.8);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 54, 93, 0.15) 0%, rgba(26, 54, 93, 0.45) 55%, rgba(248, 249, 250, 0.8) 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
    color: var(--white);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 180px;
    height: auto;
}

.party-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.mission-statement {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: #1a3a5c;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    color: #1a3a5c;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: white;
    color: #1a3a5c;
}

.social-sidebar {
    position: fixed;
    left: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3a5c;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
    color: #1a3a5c;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Heritage Section */
.heritage-section {
    padding: 100px 0;
    background: var(--white);
}

.heritage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.heritage-gallery-placeholder {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.placeholder {
    width: 280px;
    height: 210px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.placeholder-image {
    font-size: 3.5rem;
    color: #adb5bd;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: var(--white);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-article {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-right: 4px solid #1a3a5c;
    transition: all 0.3s ease;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-date {
    display: inline-block;
    background: #f0f0f0;
    color: #1a3a5c;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-summary {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: #1a3a5c;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.value-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 15px;
}

.value-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 50px;
    font-size: 15rem;
    color: rgba(255,255,255,0.03);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.quote-section blockquote {
    font-size: 1.8rem;
    line-height: 2;
    font-weight: 400;
    border: none;
    padding: 0;
    margin: 0;
}

.quote-section .highlight {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: inherit;
}

.quote-author {
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Announcements Section */
.announcements-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.announcement-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    border-right: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.announcement-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.announcement-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.announcement-type {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 100%);
    color: var(--white);
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.announcement-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 10px;
    line-height: 1.5;
}

.announcement-summary {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.home-page main {
    padding-top: 0;
}

.inner-page main {
    padding-top: 140px;
}

.inner-page-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0 1rem;
}

.inner-page-section .section-header {
    margin-bottom: 2rem;
}

.inner-page-section .section-title {
    color: #1a3a5c !important;
    opacity: 1;
    visibility: visible;
    text-shadow: none;
}

.inner-page-section .section-subtitle {
    color: var(--text-muted);
    opacity: 1;
}

.inner-page-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 0;
}

.page-header .page-title {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header .page-title::after {
    background: var(--secondary-color);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.mission-vision {
    padding: 60px 0;
    background: var(--bg-light);
}

.mission-box,
.vision-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.mission-box h3,
.vision-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

/* Media Gallery */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

.videos-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* News List Page */
.news-list-page {
    padding: 60px 0;
}

.news-section,
.announcements-section,
.contact-section,
.gallery-section,
.videos-section {
    position: relative;
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-card .news-image {
    height: 200px;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-content {
    padding: 25px;
}

/* Statements List Page */
.statements-list-page {
    padding: 60px 0;
}

.statements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.statement-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-right: 4px solid var(--primary-color);
    transition: box-shadow 0.3s ease;
}

.statement-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.statement-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.statement-title a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .party-name {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .mission-statement {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .values-grid,
    .gallery-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-section blockquote {
        font-size: 1.2rem;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .social-sidebar {
        left: 10px;
        bottom: 80px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .quote-section {
        background: var(--primary-color) !important;
        -webkit-print-color-adjust: exact;
    }
}
