body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #222;
}
header {
    background: #222;
    color: #9f9f9f;
    padding: 1rem 0 1rem 0;
    text-align: left;
    font-size: 1.2rem;
}        
.job-title {
    font-size: 1.2rem;
    color: #777;
    font-style: italic;
    margin-left: 1.2rem;
}
.lang-toggle {
    position: absolute;
    right: 5%;
    bottom: 15%;
    color: inherit;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1200;
    transition: color 0.2s, opacity 0.2s;
}
.lang-toggle:hover {
    color: #ffb347;
}
body.modal-open .lang-toggle {
    opacity: 0.3;
    pointer-events: none;
}
.name {
    font-size: 2rem;
    color: #bbb;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-left: 1rem;
}
.container {
    display: flex;
    min-height: 80vh;
}
.sidebar {
    width: 1fr;
    background: #222;
    color: #fff;
    padding: 2rem 1rem;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    margin-bottom: 1.5rem;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.sidebar a:hover, .sidebar a.active {
    color: #ffb347;
}
.sidebar img {
    position: relative;
}
.sidebar img:hover{
    transform: scale(1.4);
}
.sidebar .icon-tooltip {
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    left: 30%;
    top: 50%; 
    background: none;
    color: #fff;
    padding: 0.4em 1em;
    border-radius: 6px;
    font-size: 1rem;
    white-space: nowrap;
    z-index: 1300;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.sidebar li {
    position: relative;
}
.content {
    flex: 1;
    padding: 2rem;
    background: #222;
    min-height: 400px;
}
.home-gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
    gap: 10px;
}
.home-thumb{    
    cursor:pointer;
    position:relative;
    max-width:320px;
}
.home-thumb-img{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 4px 24px rgba(0,0,0,0.18);
}
.home-thumb-label{
    display:none;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(0,0,0,0.65);
    color:#bbb;
    font-size:1.3rem;
    font-weight:bold;
    text-align:center;
    padding:0.7em 0;
    border-radius:0 0 8px 8px;
    letter-spacing:1px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 40px;
}
.gallery img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    display: block;
}
.gallery img:hover {
    transform: scale(1.25);
}
/* Video thumbnail overlay */
.video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}
.video-thumb-wrapper .video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.video-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    border-radius: 8px;
    transition: background 0.2s, opacity 0.2s;
    pointer-events: none;
}
.video-thumb-wrapper:hover .video-thumb-overlay {
    background: rgba(0,0,0,0.55);
    opacity: 1;
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.modal.open {
    display: flex;
}
.modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
}