/* Turkey Map Page Styles */

.map-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.map-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.map-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    color: white;
}

.map-container-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.map-wrapper {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.interactive-map {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(to bottom, #87CEEB 0%, #f0f0f0 100%);
    border-radius: 8px;
    overflow: hidden;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.3s ease;
    z-index: 10;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 20;
}

.marker-pin {
    width: 100%;
    height: 100%;
    background: #e74c3c;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    position: relative;
}

.marker-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.marker-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 30;
}

.map-marker:hover .marker-label {
    opacity: 1;
}

/* Site Details Panel */
.site-details-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.4s ease;
}

.site-details-panel.active {
    right: 0;
}

.close-panel {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.close-panel:hover {
    background: #e74c3c;
    color: white;
    border-color: #c0392b;
    transform: scale(1.1) rotate(90deg);
}

.site-content {
    padding: 2rem;
}

.site-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.site-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.site-location {
    color: #e74c3c;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.site-location::before {
    content: '📍';
    font-size: 1.2rem;
}

.site-description {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.site-info-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-item strong {
    color: #2c3e50;
    font-size: 0.9rem;
}

.info-item span {
    color: #666;
}

.site-highlights {
    margin-bottom: 1.5rem;
}

.site-highlights h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.site-highlights ul {
    list-style: none;
    padding: 0;
}

.site-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.site-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.site-actions {
    display: flex;
    gap: 1rem;
}

.site-actions .btn {
    flex: 1;
}

/* Sites Grid Section */
.sites-grid-section {
    padding: 3rem 0;
}

.sites-grid-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.site-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.site-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.site-card-content {
    padding: 1.5rem;
}

.site-card-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.site-card-city {
    color: #e74c3c;
    font-size: 0.9rem;
.site-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .map-hero h1 {
        font-size: 1.8rem;
        color: white;
    }

    .map-hero p {
        font-size: 1rem;
        color: white;
    }

    .interactive-map {
        height: 400px;
    }

    .site-details-panel {
        width: 100%;
        right: -100%;
    }

    .site-details-panel.active {
        right: 0;
    }

    .map-marker {
        width: 30px;
        height: 30px;
    }

    .marker-label {
        font-size: 0.65rem;
        top: -30px;
    }

    .sites-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        padding: 1rem;
    }
}
