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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Genel Header Stili */
header {
    background-color: #333;
    color: white;
    padding: 1rem;
    position: relative;
    z-index: 1001;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
}

/* Ana Sayfa için Özel Header Stili */
.home-header {
    background: transparent;
    position: fixed;
    width: 100%;
    transition: all 0.3s ease;
}

.home-header.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.home-header nav a {
    color: #333;
    font-weight: 500;
}

.home-header .login-btn {
    background: #2196F3;
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
}

.home-header .logo {
    color: #2196F3;
    font-size: 1.5em;
    font-weight: 600;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: 600;
    color: #2196F3;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2196F3;
}

.login-btn {
    background: #2196F3;
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Ana İçerik */
main {
    padding: 0;
    max-width: none;
    margin: 0;
    position: fixed;
    width:100%;
    height: 100vh;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 1001;
    bottom: 0;
    width: 100%;
}

/* Harita ve Panel Stilleri */
.discover-container {
    position: relative;
    height: calc(100vh - 90px);
    margin-top: 90px;
    width: 100%;
    background: #f8f9fa;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#map {
    width: 100%;
    height: 100%;
    margin: 0;
}

.recommendations-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 380px;
    max-height: calc(100vh - 130px);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 2;
}

.panel-header {
    padding: 20px;
    background: white;
    border-bottom: 1px solid #eee;
}

.panel-header h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.filter-toggle {
    display: none;
}

.filter-container {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

#filterType {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    background: white;
}

.distance-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group .checkbox-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 5px 0;
}

.checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.checkbox-wrapper:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    user-select: none;
    padding-left: 35px;
    position: relative;
}

.checkbox-wrapper label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #2196F3;
    border-radius: 6px;
    background: white;
    transition: all 0.2s ease;
}

.checkbox-wrapper label:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform-origin: center;
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + label:before {
    background: #2196F3;
    border-color: #2196F3;
}

.checkbox-wrapper input[type="checkbox"]:checked + label:after {
    transform: translateY(-70%) rotate(45deg) scale(1);
}

.checkbox-wrapper .counter {
    margin-left: auto;
    background: white;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.checkbox-wrapper:hover .counter {
    background: #2196F3;
    color: white;
}

/* Aktif Checkbox Stili */
.checkbox-wrapper.active {
    background: #e3f2fd;
}

.checkbox-wrapper.active label {
    color: #2196F3;
}

/* Animasyonlar */
@keyframes checkmark {
    0% {
        transform: translateY(-70%) rotate(45deg) scale(0);
    }
    100% {
        transform: translateY(-70%) rotate(45deg) scale(1);
    }
}

.checkbox-wrapper input[type="checkbox"]:checked + label:after {
    animation: checkmark 0.2s ease forwards;
}

/* Hover Efektleri */
.checkbox-wrapper:hover label:before {
    border-color: #1976D2;
    transform: translateY(-50%) scale(1.05);
}

/* Disabled Durumu */
.checkbox-wrapper.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkbox-wrapper.disabled label {
    cursor: not-allowed;
}

.filter-group label {
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
}

select, input[type="range"] {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9em;
    background: white;
    color: #333;
}

.radius-options {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.radius-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.radius-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#radiusValue {
    font-size: 14px;
    color: #2196F3;
    font-weight: 500;
    min-width: 70px;
}

#radiusFilter {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

#radiusFilter::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #2196F3;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(33, 150, 243, 0.3);
}

#recommendations-list {
    
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.recommendation-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #2196F3;
}

.recommendation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.recommendation-item h4 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.recommendation-item .distance {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.recommendation-item .distance::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #2196F3;
}

.recommendation-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.recommendation-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.recommendation-buttons button {
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8em;
    transition: all 0.3s ease;
    color:#fff;
}

.recommendation-buttons button:first-child {
    background: #2196F3;
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.recommendation-buttons button:first-child:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.recommendation-buttons .route-btn {
    background: #0f4cba!important;
    color: #fff;
    border: 1px solid #e0e0e0;
}

.recommendation-buttons .route-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recommendation-buttons i {
    font-size: 0.8em;
}

/* Farklı tip kartları için renkler */
.recommendation-item.stores {
    border-left-color: #2196F3;
}

.recommendation-item.events {
    border-left-color: #4CAF50;
}

.recommendation-item.campaigns {
    border-left-color: #FF9800;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
    .recommendation-item {
        padding: 20px;
    }

    .recommendation-buttons {
        flex-direction: column;
    }

    .recommendation-buttons button {
        width: 100%;
    }
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.recommendation-title {
    font-size: 1.1em;
    color: #333;
    font-weight: 600;
}

.recommendation-distance {
    font-size: 0.9em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recommendation-content {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.recommendation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommendation-rating {
    color: #ffc107;
    font-size: 0.9em;
}

.recommendation-actions {
    display: flex;
    gap: 10px;
}

.action-button {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details {
    background: #2196F3;
    color: white;
}

.get-directions {
    background: #f5f5f5;
    color: #666;
}

.action-button:hover {
    transform: translateY(-1px);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .notification-container{
        top:100px;
    }
    .notification-actions, .notification-dismiss{
        display: none!important;
    }
    .recommendations-panel {
        position: fixed;
        width: 100%;
        height: auto;
        max-height: 75vh;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
        transform: translateY(calc(100% - 50px));
        transition: transform 0.3s ease;
        background: #fff;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
        margin: 0;
        z-index: 1000;
    }

    .recommendations-panel.expanded {
        transform: translateY(0);
    }
    #mobile_auth .auth-icon{
        POSITION: absolute;
        right: 70px;
        top: 20px;
    }

    .panel-header {
        padding: 15px;
        position: relative;
        cursor: pointer;
    }

    .panel-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }

    .filter-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: none;
        color: #2196F3;
        padding: 5px 10px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-toggle:hover {
        color: #1976D2;
    }

    .filter-container {
        padding: 10px 15px;
    }

    #filterType {
        padding: 10px;
        margin-bottom: 10px;
    }

    .distance-filter {
        flex-direction: column;
        gap: 10px;
    }

    #recommendations-list {
        max-height: calc(75vh - 180px);
        padding: 15px;
        overflow-y: auto;
    }

    .recommendation-item {
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .recommendation-item h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .recommendation-buttons {
        flex-direction: row;
        gap: 8px;
        margin-top: 12px;
    }

    .recommendation-buttons button {
        flex: 1;
        padding: 10px;
        font-size: 13px;
        min-height: 40px;
        border-radius: 8px;
    }

    .map-container {
        height: calc(100vh - 90px);
    }

    #map {
        height: 100%;
    }
}

/* Notification Styles */
.notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    width: 350px;
    transform: translateX(-120%);
    transition: transform 0.3s ease;
    pointer-events: auto;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
}

.notification-header {
    background: #2196F3;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.notification-close {
    cursor: pointer;
    font-size: 20px;
    padding: 0 5px;
}

.notification-content {
    padding: 15px;
    cursor: pointer;
}

.notification-content:hover {
    background: #f8f9fa;
}

.campaign-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification .discount-badge {
    background: #ff4444;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.notification-actions {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    background: #f8f9fa;
}

.notification-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.notification-view {
    background: #2196F3;
    color: white;
}

.notification-view:hover {
    background: #1976D2;
}

.notification-dismiss {
    background: #e9ecef;
    color: #495057;
}

.notification-dismiss:hover {
    background: #dee2e6;
}

/* Marker stilleri */
.custom-marker {
    background: none !important;
    border: none;
}

.marker-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.marker-content:hover {
    transform: scale(1.1);
}

/* Her tip için özel renkler */
.stores-marker .marker-content {
    color: #2196F3;
    border: 2px solid #2196F3;
}

.events-marker .marker-content {
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.campaigns-marker .marker-content {
    color: #FF9800;
    border: 2px solid #FF9800;
}

/* Kullanıcı marker stili */
.user-marker {
    background: none !important;
    border: none;
}

.user-marker .marker-content {
    color: #E91E63;
    border: 2px solid #E91E63;
    font-size: 24px;
    background: white;
}

/* İkon boyutları */
.custom-marker .fas {
    font-size: 18px;
}

.user-marker .fas {
    font-size: 24px;
}

/* Hover efektleri */
.marker-content:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Popup stilleri */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}

.recommendation-popup {
    padding: 15px;
}

.recommendation-popup h4 {
    color: #333;
    margin-bottom: 8px;
}

.recommendation-popup button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.recommendation-popup button:hover {
    background: #45a049;
}

/* Etkinlik kartları için özel stiller */
.recommendation-item.event {
    border-left: 4px solid #4CAF50;
}

.recommendation-item .event-date {
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 5px;
}

.recommendation-item .event-price {
    color: #666;
    font-size: 0.9em;
}

/* Popup stillerini de güncelleyelim */
.leaflet-popup-content {
    font-size: 14px;
    min-width: 200px;
}

/* Öneriler panelini güncelle */
.recommendations-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 350px;
    max-height: calc(100vh - 160px);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 1000;
}

/* Öneriler panel başlığı */
.recommendations-panel h3 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #333;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .recommendations-panel {
        width: calc(100% - 40px);
        max-height: 50vh;
        bottom: 70px;
        left:20px;
        top: auto;
    }
}

/* Buton grupları için stil */
.popup-buttons, .recommendation-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.route-btn {
    background: #2196F3 !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.route-btn:hover {
    background: #1976D2 !important;
}

/* Rota çizgisi için stil */
.leaflet-routing-container {
    display: none;
}

/* Popup içindeki butonların responsive olması için */
@media (max-width: 400px) {
    .popup-buttons, .recommendation-buttons {
        flex-direction: column;
    }
}

/* Panel başlık ve filtre stilleri */
.panel-header {
    margin-bottom: 20px;
}

.panel-header h3 {
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #333;
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

#filterType {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

#filterType:hover {
    border-color: #2196F3;
}

#filterType:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.distance-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

#radiusFilter {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

#radiusFilter::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #2196F3;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

#radiusFilter::-webkit-slider-thumb:hover {
    background: #1976D2;
}

#radiusValue {
    min-width: 45px;
    font-size: 14px;
    color: #666;
}

/* Ana sayfa özel stilleri */
.hero {
    padding: 180px 8% 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/pattern.svg') no-repeat center right;
    opacity: 0.1;
}

.hero-content {
    max-width: 600px;
    position: relative;
}

.hero h1 {
    font-size: 4em;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.25em;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn, .secondary-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #2196F3;
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.secondary-btn {
    background: white;
    color: #2196F3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

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

/* Özellikler bölümü */
.features {
    padding: 100px 8%;
    background: white;
}

.features h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3em;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nasıl Çalışır bölümü */
.how-it-works {
    padding: 100px 8%;
    background: #f8f9fa;
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin: 0 auto 20px;
}

/* CTA Bölümü */
.cta {
    padding: 100px 8%;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') no-repeat center;
    opacity: 0.1;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 8%;
    background: #2c3e50;
    color: white;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px 8%;
    background: #243342;
    color: #ccc;
    text-align: center;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 150px 5% 80px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3em;
    }

    .features, .how-it-works, .cta {
        padding: 80px 5%;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .feature-card, .step {
    animation: fadeInUp 0.6s ease forwards;
}

/* Sağ Panel Buton Stilleri */
.panel-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 5px;
    overflow: hidden;
}

.primary-btn {
    background: #2196F3;
    color: #fff;
    box-shadow: 0px 8px 15px rgba(33, 150, 243, 0.2);
}

.primary-btn:hover {
    background: #1976D2;
    transform: translateY(-3px);
    box-shadow: 0px 10px 20px rgba(33, 150, 243, 0.3);
}

.secondary-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.secondary-btn:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Filtre Butonları */
.filter-button {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 20px;
    margin: 3px;
}

/* Aksiyon Butonları */
.action-button {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-button i {
    font-size: 16px;
}

/* Mobil için buton düzenlemeleri */
@media (max-width: 768px) {
    .panel-button {
        width: 100%;
        margin: 5px 0;
    }
    
    .action-button {
        padding: 12px 20px;
    }
}

/* Popup Stilleri */
.location-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.location-popup.active {
    display: flex;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.popup-header {
    padding: 20px;
    background: #2196F3;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-header h3{
    color:#fff;
}
.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
}

.popup-body {
    padding: 20px;
    overflow-y: auto;
}

.location-info {
    margin-bottom: 20px;
}

.location-address {
    color: #666;
    margin-bottom: 10px;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.detail-item i {
    color: #2196F3;
}

.location-campaigns {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.campaigns-list {
    margin-top: 10px;
}

.campaign-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.popup-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.get-directions {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2196F3;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.get-directions:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Popup Stilleri */
.custom-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    width: 350px !important;
}

.custom-popup .leaflet-popup-close-button {
    color: white;
    font-size: 20px;
    padding: 8px;
    right: 8px;
    top: 8px;
}

.custom-popup .leaflet-popup-close-button:hover {
    color: rgba(255, 255, 255, 0.8);
    background: none;
}

.custom-popup-content {
    max-height: 500px;
    overflow-y: auto;
}

.custom-popup .popup-header {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Bilgi Satırları */
.location-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.info-row {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    padding: 8px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-row i {
    color: #2196F3;
    font-size: 16px;
    width: 30px;
    text-align: center;
}

.info-row p {
    margin: 0;
    color: #444;
    font-size: 14px;
}

/* Açıklama Bölümü */
.location-description {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.location-description p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Kampanyalar Bölümü */
.location-campaigns {
    margin-top: 20px;
}

.location-campaigns h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.campaign-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.discount-badge {
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.campaign-date {
    color: #666;
    font-size: 12px;
}

/* Yol Tarifi Butonu */
.popup-actions {
    margin-top: 20px;
}

.get-directions {
    width: 100%;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.get-directions:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Leaflet Popup Düzenlemeleri */
.custom-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    width: 350px !important;
}

.custom-popup .leaflet-popup-close-button {
    color: white;
    font-size: 20px;
    padding: 8px;
    right: 8px;
    top: 8px;
    z-index: 2;
}

.custom-popup .leaflet-popup-close-button:hover {
    color: rgba(255, 255, 255, 0.8);
    background: none;
}

/* Checkbox Stilleri */
.filter-group .checkbox-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    user-select: none;
    transition: all 0.2s ease;
}

.checkbox-wrapper label:before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #2196F3;
    border-radius: 4px;
    display: inline-block;
    background: white;
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + label:before {
    background: #2196F3;
    border-color: #2196F3;
}

.checkbox-wrapper input[type="checkbox"]:checked + label:after {
    content: '\2714';
    position: absolute;
    left: 4px;
    color: white;
    font-size: 14px;
}

.checkbox-wrapper label:hover {
    color: #2196F3;
}

.checkbox-wrapper label:hover:before {
    border-color: #1976D2;
    transform: scale(1.05);
}

/* Checkbox Grup Başlığı */
.filter-group .checkbox-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

/* Checkbox Grup Container */
.checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding: 5px;
}

/* Checkbox Counter */
.checkbox-wrapper .counter {
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

/* Aktif Checkbox */
.checkbox-wrapper.active label {
    color: #2196F3;
    font-weight: 500;
}

/* Hover Efektleri */
.checkbox-wrapper:hover .counter {
    background: #e3f2fd;
    color: #1976D2;
}

/* Register Sayfası Checkbox Stilleri */
.register .checkbox-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.register .checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.register .checkbox-wrapper:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    border-color: #2196F3;
}

.register .checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.register .checkbox-wrapper label {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    padding-left: 35px;
    position: relative;
}

.register .checkbox-wrapper label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #2196F3;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
}

.register .checkbox-wrapper label:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translateY(-65%) rotate(45deg) scale(0);
    transition: all 0.2s ease;
}

.register .checkbox-wrapper input[type="checkbox"]:checked + label:before {
    background: #2196F3;
    border-color: #2196F3;
}

.register .checkbox-wrapper input[type="checkbox"]:checked + label:after {
    transform: translateY(-65%) rotate(45deg) scale(1);
}

/* Form Label Stili */
.register .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .register .checkbox-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .register .checkbox-container {
        grid-template-columns: 1fr;
    }
}

/* Tercih Grupları Arası Boşluk */
.register .form-group + .form-group {
    margin-top: 30px;
}

/* Tercih Başlıkları */
.register .form-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
}

/* Her Tercih Grubu İçin Farklı Renkler */
.register .checkbox-wrapper[id^="style"] label:before {
    border-color: #2196F3;
}

.register .checkbox-wrapper[id^="food"] label:before {
    border-color: #4CAF50;
}

.register .checkbox-wrapper[id^="drink"] label:before {
    border-color: #FF9800;
}

.register .checkbox-wrapper[id^="style"] input[type="checkbox"]:checked + label:before {
    background: #2196F3;
    border-color: #2196F3;
}

.register .checkbox-wrapper[id^="food"] input[type="checkbox"]:checked + label:before {
    background: #4CAF50;
    border-color: #4CAF50;
}

.register .checkbox-wrapper[id^="drink"] input[type="checkbox"]:checked + label:before {
    background: #FF9800;
    border-color: #FF9800;
}

/* Hover Efektleri */
.register .checkbox-wrapper[id^="food"]:hover {
    background: #E8F5E9;
    border-color: #4CAF50;
}

.register .checkbox-wrapper[id^="drink"]:hover {
    background: #FFF3E0;
    border-color: #FF9800;
}

/* Alışveriş Alışkanlıkları için Özel Renkler */
.register .checkbox-wrapper[id^="shop"] label:before {
    border-color: #9C27B0;
}

.register .checkbox-wrapper[id^="shop"] input[type="checkbox"]:checked + label:before {
    background: #9C27B0;
    border-color: #9C27B0;
}

.register .checkbox-wrapper[id^="shop"]:hover {
    background: #F3E5F5;
    border-color: #9C27B0;
}

.login-required-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-required-popup .popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.login-required-popup h3 {
    margin-bottom: 15px;
    color: #333;
}

.login-required-popup p {
    margin-bottom: 20px;
    color: #666;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.popup-buttons a {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Mobil Header Butonları */
.mobile-header-buttons {
    display: none;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

@media (max-width: 991px) {
    .mobile-header-buttons {
        display: flex;
    }

    #mobile_auth {
        display: flex;
        align-items: center;
        order: 1;
    }

    #mobile_menu {
        order: 2;
    }

    #mobile_auth .auth-icon {
        color: #333;
        font-size: 24px;
        padding: 5px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    #mobile_auth .auth-icon:hover {
        color: #2196F3;
    }

    #mobile_auth .auth-dropdown {
        position: absolute;
        top: 100%;
        right: 10px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 8px 0;
        display: none;
        z-index: 1000;
    }

    #mobile_auth .auth-dropdown.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    #mobile_auth .auth-dropdown a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 15px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: background 0.3s ease;
        white-space: nowrap;
    }

    #mobile_auth .auth-dropdown a:hover {
        background: #f8f9fa;
    }

    #mobile_auth .auth-dropdown i {
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* SlickNav menü stilini düzelt */
    .slicknav_menu {
        padding: 0;
        background: none;
    }

    .slicknav_btn {
        margin: 0;
        padding: 0;
        background: none;
    }

    .slicknav_icon {
        margin: 0;
    }
} 