html {
    scroll-behavior: smooth;
}

body {
    background-color: #0c0c14;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Segoe UI', 'Verdana', sans-serif;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    padding-top: 60px; 
    scroll-behavior: smooth;
}

.duz-cizgi {
    border-top: 6.5px solid rgba(65, 65, 65, 0.65);
    border-radius: 10px;
    width: 92.7%;
    margin: 20px auto;
}

.taskbar {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent), linear-gradient(to top, rgba(45, 45, 45, 0.7), rgba(66, 66, 66, 0.75));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15); 
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 1000;
}

.start-menu-orb {
    width: auto;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
}

.start-menu-orb a:hover img {
    filter: drop-shadow(0 0 5px #48add8);
}

.start-menu-orb a {
    display: flex;
}

.start-menu-orb::after {
    content: '';
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 16px;
}

.start-menu-orb img {
    width: 32px;
    height: 32px;
    transition: filter 0.3s ease-in-out;
}

.taskbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    height: 100%;
}

.taskbar li {
    margin: 0;
    display: flex;
    align-items: center;
}

.taskbar li:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.taskbar li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    background: transparent;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 70%;
    font-family: 'Segoe UI Semilight', 'Segoe UI', sans-serif;
}

.taskbar li a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.taskbar li:not(.active) a:hover {
    text-decoration: underline;
    text-decoration-color: #48add8;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.taskbar li.active a {
    background: transparent;
    color: #48add8;
    text-shadow: 0 0 8px #2a7291;
    box-shadow: none;
}

.taskbar li a iconify-icon {
    font-size: 20px;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 28px;
    cursor: pointer;
    padding: 0 10px;
    z-index: 1001; 
}

.hamburger-menu iconify-icon {
    pointer-events: none;
}

.taskbar-right {
    margin-left: auto;
}

.audio-player {
    display: grid;
    grid-template-columns: auto 1fr; 
    grid-template-rows: auto auto; 
    row-gap: 2px; 
    column-gap: 8px; 
    align-items: center; 
    width: 200px;
    color: #e0e0e0;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.3s ease-in-out, filter 0.3s ease-in-out;
}

#play-pause-btn { grid-area: 1 / 1; }
.progress-bar-container { grid-area: 1 / 2; }
.volume-icon { grid-area: 2 / 1; }
.volume-slider-container { grid-area: 2 / 2; }

.volume-slider-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.volume-icon {
    font-size: 20px;
    width: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease-in-out, filter 0.3s ease-in-out;
    grid-area: 2 / 1 / 3 / 3;
}

.volume-icon:hover {
    color: #fff;
    filter: drop-shadow(0 0 4px #fff);
}

.audio-player button {
    background: none;
    border: none;
    color: #e0e0e0;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease-in-out, filter 0.3s ease-in-out;
    flex-shrink: 0;
    width: 20px; 
    margin: 0; 
}

.audio-player button:hover {
    color: #fff;
    filter: drop-shadow(0 0 4px #fff);
}

.progress-bar-container {
    position: relative;
    width: calc(100% - 20px);
    height: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    cursor: pointer;
    overflow: visible;
    margin-right: 20px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #48add8;
    border-radius: 2px;
    box-shadow: 0 0 5px #48add8;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-area: 2 / 1 / 3 / 3;
}

.volume-bar-track {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    height: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    pointer-events: none;
    z-index: 2;
}

.volume-bar {
    width: var(--volume-progress, 100%);
    height: 100%;
    background-color: #48add8;
    border-radius: 2px;
    box-shadow: 0 0 5px #48add8;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: calc(100% - 20px);
    height: 10px;
    background: transparent;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    margin: 0;
    position: relative;
    z-index: 2;
}

#volume-slider {
    background: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
}

.content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start; 
}

.window {
    width: fit-content; 
    max-width: 90vw; 
    min-width: 300px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent), rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.window:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.window-content {
    padding: 20px;
    line-height: 1.6;
    font-family: 'Segoe UI', sans-serif;
}

.window-content h2 {
    font-family: 'Segoe UI Semilight', 'Segoe UI', sans-serif;
    font-size: 2.2em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.window-content h2:has(+ h4) {
    margin-bottom: 0px;
}

.window-content h4 {
    font-family: 'Segoe UI Semilight', 'Segoe UI', sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.window-content ul {
    padding-left: 20px;
}

.window-content li {
    padding-left: 10px;
    margin-bottom: 5px;
}

.social-container {
  display: flex;
  flex-direction: column; 
  align-items: center;   
  gap: 4px;
}

.icon-link {
  display: inline-flex; 
  align-items: center;
  gap: 6px; 
  color: white;   
  text-decoration: none; 
  outline: none;
}

.icon-link iconify-icon {
  font-size: 26px; 
}

.icon-link:hover span {
  text-decoration: underline;
}

.icon-link:active, .icon-link:focus {
  color: white;
}

.icon-download {
    display: inline-flex; 
    align-items: center;
    gap: 6px; 
    color: white;   
    text-decoration: none; 
    outline: none;
}
  
.icon-download iconify-icon {
    font-size: 28px; 
}
  
.icon-download:hover span {
    text-decoration: none;
}
  
.icon-download:active, .icon-download:focus {
    color: white;
}

.skill-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 16px; 
}

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-txt {
  display: flex; 
  align-items: center;
  gap: 8px; 
  color: white;   
  text-decoration: none; 
  outline: none;
}

.icon-txt iconify-icon {
  font-size: 28px; 
}

.image-box img {
    max-width: 66%;
    max-height: 384px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lineup-container {
    display: flex;          
    flex-wrap: wrap;        
    gap: 20px;              
    max-width: 90vw; 
    min-width: 300px; 
    justify-content: center;
}

.lineup-container .window {
    flex-basis: calc(33.333% - 20px);
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
}

.button-container .window {
    width: auto;
    min-width: 0;
}

.button-container .window-content {
    padding: 10px 15px;
}

.button-container .icon-link {
    font-size: 1.2rem;
    gap: 12px;
}

.button-container .icon-link iconify-icon {
    font-size: 32px;
}

.dikey-grup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dikey-grup .button-container {
    padding-bottom: 0;
}

/*==========================================================================
   Responsive
========================================================================== */

@media (max-width: 992px) {
    .lineup-container .window {
        flex-basis: calc(50% - 20px);
    }

    .window {
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    .taskbar {
        padding: 0 5px;
        align-items: center;
    }

    .taskbar li:not(:last-child)::after {
        display: none;
    }

    .hamburger-menu {
        display: block; 
        order: -1; 
        margin-right: 10px; 
    }

    .taskbar-links-container {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: rgba(45, 45, 45, 0.9);
        backdrop-filter: blur(10px);
        
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;

        flex-direction: column;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        padding: 0; 
    }

    .taskbar-links-container.active {
        max-height: 500px;
        opacity: 1;
        padding: 10px 0;
    }

    .taskbar-links-container ul {
        flex-direction: column;
        height: auto;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .taskbar-links-container ul li {
        margin: 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .taskbar-links-container ul li:last-child {
        border-bottom: none;
    }

    .taskbar-links-container ul li a {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center; 
        padding: 10px 15px;
        box-sizing: border-box;
        height: auto;
        border-radius: 0;
        gap: 12px;
    }
    
    .content {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 15px;
    }
    
    .lineup-container {
        flex-direction: column;
        width: 100%;
        max-width: 95vw;
        gap: 15px;
    }
    
    .lineup-container .window,
    .dikey-grup {
        width: 100%;
        max-width: 95vw;
    }
    
    .window {
        width: 100%;
        min-width: unset;
    }

    .window-content h2 {
        font-size: 1.8em;
    }

    .image-box img {
        max-width: 80%;
    }

    .dikey-grup {
        gap: 15px;
    }
}

@media (max-width: 480px) {

    .taskbar-links-container {
        top: 45px;
    }

    .duz-cizgi {
        width: 95%;
    }

    .window-content {
        padding: 15px;
    }

    .window-content h2 {
        font-size: 1.6em;
    }
    
    .window-content h4 {
        font-size: 1.1em;
    }
}