/* Main CSS - Demokrat Parti Mobil Uygulama */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Header Styles */
.header-bg {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.header-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #87646400 0%, #f8f9fa00 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.floating-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-active {
    color: #dc2626;
    transform: scale(1.1);
}

.nav-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .nav-icon {
    transform: translateY(-2px) scale(1.1);
}

.nav-item {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-active::before {
    width: 24px;
}

.nav-item:hover::before {
    width: 20px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Share Button Styles */
.share-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

/* Search Input Styles */
.search-input {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
}

/* Form Input Styles - Mavi efektleri kaldır */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    background-color: white !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
    outline: none !important;
}

input[type="text"]:autofill,
input[type="email"]:autofill,
input[type="tel"]:autofill,
input[type="number"]:autofill,
input[type="date"]:autofill,
input[type="password"]:autofill {
    background-color: white !important;
    color: #374151 !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    box-shadow: 0 0 0 1000px white inset !important;
}

/* Chrome autofill override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Card Styles */
.card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dc2626;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Icon Styles */
.bell-icon {
    transition: all 0.3s ease;
    cursor: pointer;
}

.bell-icon:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fbbf24;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Poll Styles */
.poll-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.poll-option {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #374151;
}

.poll-option span {
    color: #374151 !important;
}

.poll-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.poll-option:hover span {
    color: #374151 !important;
}

.poll-option:active {
    transform: translateY(0);
}

.poll-option-selected {
    background: rgba(254, 226, 226, 0.5) !important;
    border: 2px solid #dc2626 !important;
    color: #374151 !important;
}

.poll-option-selected .text-gray-700 {
    color: #374151 !important;
}

.poll-option-selected .text-gray-800 {
    color: #374151 !important;
}

.poll-option-selected .text-gray-500 {
    color: #6b7280 !important;
}

.poll-option-selected span {
    color: #374151 !important;
}

/* Utility Classes */
.scroll-smooth {
    scroll-behavior: smooth;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Story Circle Styles - Karartma efekti kaldırıldı */
.story-circle {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border: none !important;
}

.story-circle.green {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

.story-circle.pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
}

.story-circle.yellow {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%) !important;
}

.story-circle.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

.story-circle.gray {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
}

.story-circle.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%) !important;
}

/* Story Modal Styles */
#storyModal {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
}

#storyModal.hidden {
    opacity: 0;
    pointer-events: none;
}

#storyModal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

#storyModal .relative {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Story kartları hover efekti */
.story-circle:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Modal close button hover */
#closeStoryModal:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Contact Button Styles */
.contact-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.contact-btn:hover {
    transform: scale(1.1);
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.1);
}

.notifications-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.notifications-panel.open {
    right: 0;
}

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notification-item {
    transition: all 0.2s ease;
}

.notification-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
