/* Top Museums CSS - Similar to Harta.html Museum Display */

/* Remove all borders and separators */
.museum-card *, 
.museum-card *:before, 
.museum-card *:after {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.museums-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    margin: 0;
    padding: 0px;
}

/* Mobile responsive - reduce gaps */
@media (max-width: 768px) {
    .museums-grid {
        gap: 25px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .museums-grid {
        gap: 20px;
        padding: 10px;
    }
}

.museum-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    min-height: 300px;
}

.museum-image {
    width: 25%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.museum-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.museum-content {
    width: 75%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Mobile responsive - reduce padding significantly */
@media (max-width: 768px) {
    .museum-card {
        flex-direction: column;
        min-height: auto;
        padding: 20px;
    }
    
    .museum-image {
        width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
    
    .museum-content {
        width: 100%;
        padding: 15px;
    }
    
    .museum-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .museum-content {
        padding: 12px;
    }
    
    .museum-title {
        font-size: 22px;
    }
    
    .museum-image {
        height: 180px;
    }
}

.museum-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Museum Sections - Similar to harta.html style */
.museum-section {
    margin-bottom: 0px;
    border: none;
    border-bottom: none;
    border-top: none;
}

.museum-section:not(:last-child) {
    margin-bottom: 12px;
}

.museum-title {
    font-weight: 500; 
    color: #000000; 
    font-size: 28px; 
    margin-bottom: 8px; 
    font-family: 'Barlow Condensed';
}

.museum-title .ranking-number {
    color: #ff00a1; 
    font-weight: 700; 
    margin-right: 0.5em;
}

.museum-info-section {
    margin-bottom: 8px;
    font-size: 14px !important;
    font-family: 'Prompt', sans-serif !important;
    font-weight: 300 !important;
}

.museum-info-section:last-child {
    margin-bottom: 0;
}

.museum-section-number {
    min-width: 2em;
    font-weight: bold;
    color: #ff00a1;
    font-size: 20px;
    text-align: right;
    padding-top: 0px;
    font-family: 'Barlow Condensed', sans-serif;
}

.museum-section-title-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 0;
    color: #333;
    border: none;
}

.museum-section-content {
    font-size: 18px;
    color: #222;
    font-family: 'Prompt', sans-serif !important;
    font-size: 14px !important; 
    font-weight: 300 !important;
    margin-top: 0.2em;
    line-height: 1.3;
    border: none;
    border-bottom: none;
    border-top: none;
}

/* Social Icons - Using existing CSS classes from style.css */
.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

/* Specific social icon backgrounds (black versions) */
.social-icon.website {
    background-image: url('/img/new_site/icons/icon-website.svg');
    filter: brightness(0); /* Make icon black */
}

.social-icon.facebook {
    background-image: url('/img/new_site/icons/icon-facebook.svg');
    filter: brightness(0); /* Make icon black */
}

.social-icon.instagram {
    background-image: url('/img/new_site/icons/icon-instagram.svg');
    filter: brightness(0); /* Make icon black */
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Navigation Button */
.museum-navigation {
    margin-top: 5px;
    text-align: center;
}

.nav-button {
    background-color: #ff00a1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-button:hover {
    background-color: #ffffff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 0, 140, 0.3);
}

/* Toggle Description Button */
.museum-section-content button {
    background: none;
    border: none;
    color: #ff00a1;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    padding: 0;
    margin-top: 8px;
}

.museum-section-content button:hover {
    color: #ff00a1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .museums-grid {
        padding: 0px;
        gap: 30px;
    }
    
    .museum-content {
        padding: 0px;
        padding-top: 0px;
    }
    
    .ranking-badge {
        top: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
    }
    
    .ranking-number {
        font-size: 28px;
    }
    
    .museum-section-number {
        font-size: 18px;
    }
    
    .museum-section-title-label {
        font-size: 18px;
    }
    
    .museum-section-content {
        font-size: 16px;
    }
    
    /* Mobile specific image layout */
    .museum-content div[style*="float: right"] {
        float: none !important;
        margin: 12px 0 12px 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .museums-grid {
        gap: 25px;
    }
    
    .museum-content {
        padding: 15px;
        padding-top: 10px;
    }
    
    .ranking-badge {
        top: 10px;
        left: 10px;
        width: 45px;
        height: 45px;
    }
    
    .ranking-number {
        font-size: 28px;
    }
}
