/* ===== ALT DIT GAMLE CSS BLIVER BEVARET 1:1 ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #1a1a1a;
    /*background: #FFFFFF;*/
    color: #f0f0f0;
}

.top-menu {
    /*background: #2a2a2a;*/
    background: #2e2e2e;
    padding: 10px 20px;
    display: flex;
    gap: 15px;
}

.top-menu a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
}

.top-menu a:hover {
    background: gold;
    color: black;
}

.profile-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 40px 40px 40px;
}

.top-section {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-image {
    width: 260px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #2e2e2e;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 24px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.fav-btn.active { color: red; }

.profile-info h1 { margin: 0; font-size: 32px; }

.profile-info span { color: gold; }

.meta { margin-top: 10px; color: #ccc; }

.bio {
    margin-top: 15px;
    line-height: 1.5;
    max-width: 450px;   /* mindre bredde */
    color: #ccc;        /* mindre visuelt “tung” */
}

.cta-btn {
    margin-top: 20px;
    padding: 12px 20px;
    border: none;
    background: gold;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #2e2e2e;
    padding: 20px;
    border-radius: 12px; 
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.label { color: #ccc; }
.value { font-weight: bold; }

footer {
    margin-top: 60px;
    padding: 30px;
    text-align: center;
    /*background: #2a2a2a;*/
    background: #2e2e2e;
    color: #ccc;
}



.gallery-section {
    margin-top: 30px;
}

.gallery-section h3 {
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2 kolonner */
    gap: 10px;
}

.gallery-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/**evt***/
@media(max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}