/* Demokrat Parti - Seçim 2025 Styles */

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-section {
    background: linear-gradient(135deg, #B80E01 0%, #B80E01 48%, #f8f8f8 48%, #f8f8f8 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 52%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    transform: translateX(50%);
}

.event-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d773e, #B80E01);
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.countdown-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 18px 12px;
    min-width: 90px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-box {
    transition: all 0.3s ease;
}

.search-box:focus {
    box-shadow: 0 0 0 3px rgba(13, 119, 62, 0.3);
}

.filter-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 2px;
    white-space: nowrap;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.filter-btn:hover {
    border-color: #0d773e;
    color: #0d773e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 119, 62, 0.2);
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: #0d773e;
    border-color: #0d773e;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 119, 62, 0.3);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-section {
        background: #B80E01;
    }
    
    .hero-section::before {
        display: none;
    }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(13, 119, 62, 0.7);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 119, 62, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13, 119, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 119, 62, 0); }
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #0d773e, #B80E01);
    border-radius: 2px;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d773e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0d773e, #0a5d2f);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.map-marker {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.map-marker::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 119, 62, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-shape 15s infinite linear;
}

@keyframes float-shape {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-duration: 20s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 8%;
    animation-duration: 25s;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #0d773e, #0a5d2f);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(13, 119, 62, 0.3);
}

/* Kullanıcı tercihlerine göre düzenlenen stiller */
/* Gradient geçişlerini kaldırıldı, sadece düz renkler kullanıldı */
.hero-section {
    background: #B80E01;
}

.hero-section::before {
    display: none;
}

.event-card::before {
    background: #0d773e;
}

.filter-btn.active {
    background: #0d773e;
    color: white;
}

.section-title::after {
    background: #0d773e;
}

.progress-fill {
    background: #0d773e;
}

.event-badge {
    background: #0d773e;
}

/* İkonlar için ince stil */
.fas, .fab, .far {
    font-weight: 300;
}

/* Animasyonları azaltıldı - sadece scroll efektleri korundu */
.floating-element {
    animation: none;
}

.floating-shape {
    animation: none;
}

.map-marker::after {
    animation: none;
}

.pulse-animation {
    animation: none;
    box-shadow: none;
}

/* Scroll efektleri - kullanıcı scroll efektlerini seviyor */
.scroll-effect {
    transition: all 0.3s ease;
}

.scroll-effect:hover {
    transform: translateY(-2px);
}

/* İnce ikonlar için ek stil */
.nav-link i,
.filter-btn i,
button i {
    font-weight: 300;
}

/* Hover efektleri - gradient olmadan */
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stats-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}
