/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #E63946;
    --dark-red: #C1121F;
    --accent-red: #FF6B6B;
    --black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --light-gray: #2A2A2A;
    --white: #FFFFFF;
    --gray: #E5E5E5;
    --gradient-red: linear-gradient(135deg, #E63946 0%, #C1121F 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-red);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-red), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(193, 18, 31, 0.1) 0%, transparent 50%);
    animation: heroGradient 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGradient {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-2%, -2%) rotate(5deg);
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(230, 57, 70, 0.08) 50%, transparent 51%);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 20px;
    margin-top: 20px;
}

.hero-logo-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(230, 57, 70, 0.5));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-red {
    display: block;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.title-black {
    display: block;
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 5px 25px rgba(230, 57, 70, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(230, 57, 70, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-red);
}

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

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--dark-gray);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-red);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Ideology Section */
.ideology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ideology-card {
    background: linear-gradient(145deg, var(--light-gray), var(--dark-gray));
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ideology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ideology-card:hover::before {
    transform: scaleX(1);
}

.ideology-card:hover {
    transform: translateY(-12px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.25);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.25);
}

.ideology-card:hover .card-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.35);
}

.ideology-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.ideology-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.leader-card {
    background: linear-gradient(145deg, var(--light-gray), var(--dark-gray));
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.leader-card:hover {
    transform: translateY(-12px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.2);
}

.main-leader {
    border-color: var(--primary-red);
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.3);
}

.leader-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.leader-card:hover .leader-avatar {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.4);
}

.leader-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--white);
}

.leader-role {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.subsection-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 700;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.member-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--white);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.member-card:hover {
    border-color: var(--primary-red);
    background: var(--dark-gray);
}

/* Candidates Section */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.candidate-card {
    background: linear-gradient(145deg, var(--light-gray), var(--dark-gray));
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.candidate-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-red);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.candidate-card:hover::before {
    opacity: 1;
}

.candidate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(230, 57, 70, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.candidate-badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.candidate-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.candidate-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
}

/* Goals Section */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateX(10px);
    background: var(--dark-gray);
}

.goal-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
    min-width: 80px;
}

.goal-item h3 {
    font-size: 1.3rem;
    color: var(--white);
}

/* Directions Section */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.direction-card {
    background: linear-gradient(145deg, var(--light-gray), var(--dark-gray));
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.direction-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2);
}

.direction-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.25);
}

.direction-card:hover .direction-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(230, 57, 70, 0.35);
}

.direction-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.direction-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Reforms Section */
.reforms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.reform-item {
    background: linear-gradient(145deg, var(--light-gray), var(--dark-gray));
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reform-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-red);
}

.reform-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.15);
}

.reform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reform-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.25);
}

.reform-header h3 {
    font-size: 1.2rem;
    color: var(--white);
}

.reform-list {
    list-style: none;
}

.reform-list li {
    color: var(--gray);
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.reform-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.membership-card,
.contact-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid var(--primary-red);
}

.membership-card h3,
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--white);
    text-align: center;
}

.membership-list {
    list-style: none;
}

.membership-list li {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-gray);
}

.membership-list li:last-child {
    border-bottom: none;
}

.list-number {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.membership-list li span:last-child {
    color: var(--gray);
    padding-top: 8px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.25);
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    margin: 5px 0;
}

.contact-btn {
    display: block;
    text-align: center;
    width: 100%;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: 40px 0;
    border-top: 2px solid var(--primary-red);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-slogan {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        border-bottom: 2px solid var(--primary-red);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .goal-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* News Page Styles */
.news-header {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.news-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
    animation: heroGradient 15s ease-in-out infinite;
    pointer-events: none;
}

.news-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.news-content {
    padding: 80px 0;
}

.news-item {
    background: linear-gradient(145deg, var(--light-gray), var(--dark-gray));
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-red);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.news-item:hover::before {
    opacity: 0.6;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.2);
}

.news-date {
    display: inline-block;
    background: var(--gradient-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.news-heading {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.3;
}

.news-body {
    color: var(--gray);
    line-height: 1.8;
}

.news-body p {
    margin-bottom: 20px;
}

.news-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--white);
}

.news-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.news-body li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.news-body blockquote {
    background: rgba(230, 57, 70, 0.1);
    border-left: 4px solid var(--primary-red);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
}

.news-body blockquote strong {
    color: var(--white);
    font-weight: 700;
}

.nav-menu a.active {
    color: var(--primary-red);
    font-weight: 700;
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .news-item {
        padding: 30px 25px;
    }

    .news-heading {
        font-size: 1.4rem;
    }
}
