/* دکمه ثابت */
#fixedButton {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color, #007BFF);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

#fixedButton:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* پنل جاذبه‌ها با انیمیشن زیبا */
#attractionsPanel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 250px;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

/* حالت نمایش پنل */
#attractionsPanel.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#attractionsPanel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#attractionsPanel li {
    margin-bottom: 0.8rem;
}

#attractionsPanel li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

#attractionsPanel li a:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

/* سازگاری با موبایل */
@media (max-width: 768px) {
    #fixedButton {
        bottom: 10px;
        left: 10px;
        padding: 0.5rem 1rem;
        font-size: 14px;
    }
    
    #attractionsPanel {
        bottom: 60px;
        left: 10px;
        width: 200px;
        padding: 0.8rem;
    }
    
    #attractionsPanel li a {
        font-size: 14px;
    }
}

/* دکمه شناور جاذبه‌ها */
.attractions-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.attractions-button:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.attractions-icon {
    font-size: 20px;
}

/* پنل جاذبه‌ها */
.attractions-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.attractions-panel.show {
    display: flex;
}

.attractions-panel-content {
    background-color: white;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.attractions-panel-header {
    padding: 16px 24px;
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attractions-panel-header h3 {
    margin: 0;
    font-size: 20px;
}

.close-panel {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}

.attractions-panel-content {
    padding: 24px;
    overflow-y: auto;
}

/* گرید جاذبه‌ها */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 16px;
}

/* کارت جاذبه */
.attraction-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-4px);
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.attraction-card h4 {
    margin: 16px;
    color: #2c3e50;
    font-size: 18px;
}

.attraction-card p {
    margin: 0 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.attraction-link {
    display: block;
    margin: 16px;
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.attraction-link:hover {
    background-color: #2980b9;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.attractions-panel.show {
    animation: fadeIn 0.3s ease;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .attractions-button {
        bottom: 16px;
        right: 16px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .attractions-panel-content {
        width: 95%;
        padding: 16px;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
} 