/* Navigation Bar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.logo a {
    color: var(--rust-orange);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--rust-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--rust-orange);
    background: rgba(205, 65, 43, 0.1);
}

.nav-links a:hover i {
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--rust-orange);
    background: rgba(205, 65, 43, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .logo a {
        font-size: 1.5rem;
    }
}

:root {
    --rust-orange: #CD412B;
    --rust-orange-hover: #E84B32;
    --rust-dark: #1A1A1A;
    --rust-gray: #2A2A2A;
    --rust-light: #FFFFFF;
    --rust-accent: #FF7F50;
}

.vote-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://i.ibb.co/qN0MpR8/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 40px;
}

.vote-hero h1 {
    color: var(--rust-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.vote-hero p {
    color: var(--rust-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Fixed duplicate vote-hero class */
.vote-hero-alt {
    background-size: cover;
    background-position: center center;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.voting-section {
    padding: 50px 20px;
    background-color: var(--rust-dark);
}

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

.voting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.vote-card {
    background: linear-gradient(145deg, var(--rust-gray), var(--rust-dark));
    border-radius: 12px;
    border: 1px solid rgba(205, 65, 43, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.vote-card:hover {
    transform: translateY(-5px);
    border-color: var(--rust-orange);
    box-shadow: 0 5px 15px rgba(205, 65, 43, 0.2);
}

.vote-header {
    background: linear-gradient(45deg, var(--rust-orange), var(--rust-orange-hover));
    padding: 20px;
    text-align: center;
}

.vote-header i {
    font-size: 2.5rem;
    color: var(--rust-light);
    margin-bottom: 10px;
}

.vote-header h3 {
    color: var(--rust-light);
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
}

.vote-content {
    padding: 25px;
}

.vote-content p {
    color: var(--rust-light);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.vote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vote-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vote-option:hover {
    background: rgba(205, 65, 43, 0.1);
}

.vote-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--rust-orange);
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.vote-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--rust-orange);
    border-radius: 50%;
}

.vote-option label {
    color: var(--rust-light);
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
}

.vote-button {
    background: linear-gradient(45deg, var(--rust-orange), var(--rust-orange-hover)) !important;
    color: var(--rust-light);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vote-button:hover {
    background: linear-gradient(45deg, var(--rust-orange-hover), var(--rust-orange));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.vote-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vote-results {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    color: var(--rust-light);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease forwards;
    border: 1px solid rgba(205, 65, 43, 0.2);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-item {
    margin: 15px 0;
}

.percentage-bar {
    height: 12px;
    background: linear-gradient(145deg, var(--rust-gray), var(--rust-dark));
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(205, 65, 43, 0.3);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.percentage-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--percentage, 0%);
    background: linear-gradient(90deg, var(--rust-orange), var(--rust-orange-hover));
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.percentage-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(200%); }
}

.result-item span {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.result-item span:last-child {
    float: right;
    font-weight: bold;
    color: var(--rust-orange);
}

@media (max-width: 768px) {
    .voting-grid {
        grid-template-columns: 1fr;
    }
    
    .vote-hero h1 {
        font-size: 2.5em;
    }
    
    .vote-hero p {
        font-size: 1em;
        padding: 0 20px;
    }
}