:root {
    --gold: #D4A017;
    --gold-light: #F4D03F;
    --gold-dark: #B8860B;
    --dark: #1a1a2e;
    --darker: #16213e;
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --bg-card: rgba(255,255,255,0.05);
}

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

body {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

body[dir="ltr"] { direction: ltr; text-align: left; }
body[dir="rtl"], body { direction: rtl; text-align: right; }

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

/* Language Bar */
.lang-bar {
    background: var(--darker);
    padding: 8px 0;
    border-bottom: 1px solid rgba(212,160,23,0.2);
}

.lang-selector {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.lang-btn {
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--gold);
    background: rgba(212,160,23,0.1);
}

/* Navbar */
.navbar {
    background: rgba(22,33,62,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--gold);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker) 0%, #0a0a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    object-fit: cover;
    margin-bottom: 30px;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212,160,23,0.3); }
    50% { box-shadow: 0 0 50px rgba(212,160,23,0.6); }
}

.hero h1 {
    font-size: 2.8em;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Sections */
.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2em;
    color: var(--gold);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 2;
}

.about-goals h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.about-goals ul {
    list-style: none;
}

.about-goals li {
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
}

.about-goals li::before {
    content: '\2726';
    color: var(--gold);
    position: absolute;
    right: 0;
}

body[dir="ltr"] .about-goals li {
    padding-right: 0;
    padding-left: 25px;
}

body[dir="ltr"] .about-goals li::before {
    right: auto;
    left: 0;
}

/* Parties */
.parties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.party-card {
    background: var(--bg-card);
    border: 1px solid rgba(212,160,23,0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.party-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212,160,23,0.1);
}

.party-card h3 {
    color: var(--gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid rgba(212,160,23,0.15);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.news-card:hover {
    border-color: var(--gold);
}

.news-date {
    color: var(--gold);
    font-size: 0.9em;
    margin-bottom: 10px;
}

.news-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    display: inline-block;
    color: var(--gold);
    font-size: 1.3em;
    text-decoration: none;
    margin-top: 15px;
    padding: 12px 30px;
    border: 2px solid var(--gold);
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-email:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Footer */
.footer {
    background: #0a0a1a;
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--gold);
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        background: var(--darker);
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid var(--gold);
    }
    .nav-menu.active { display: flex; }
    .hero h1 { font-size: 1.8em; }
    .hero-logo { width: 120px; height: 120px; }
    .about-content { grid-template-columns: 1fr; }
    .nav-title { font-size: 13px; }
}

/* Party tags */
.party-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Party logos */
.party-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.party-card {
    text-align: center;
}
