/* --- Global & SPA Layout (from V_06) --- */
body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background-color: #f5f5f5;
    padding-top: 80px; /* Space for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* --- Responsive Header (from V_06) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem;
    z-index: 1000;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #2E3440;
    letter-spacing: -1px;
    text-decoration: none;
}
.logo:hover {
    color: #007bff;
}

.main-nav a {
    margin-left: 2rem;
    font-weight: 500;
    font-size: 1rem;
    color: #4C566A;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    text-decoration: none;
}
.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}
/* Underline only for the active link */
.main-nav a.active:after {
    width: 100%;
}
/* Color change for active link and any link on hover */
.main-nav a.active, 
.main-nav a:hover {
    color: #007bff;
}


/* --- Hamburger Menu (from V_06) --- */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* --- Responsive Styles for Mobile (from V_06) --- */
@media (max-width: 992px) { /* Angepasst für die längeren Namen */
    .main-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: white;
        height: 100vh;
        width: 100%;
        text-align: center;
        padding: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    .main-nav.nav-open {
        transform: translateX(0);
    }
    .main-nav a {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }
    .hamburger-menu {
        display: flex;
    }
}


.site-footer {
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* --- General Overlay Styles (from V_06) --- */
.overlay-container {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.6);
}

.overlay-content-small, .overlay-content-large {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.5s;
}

.overlay-content-small {
    width: 90%;
    max-width: 500px;
}

.overlay-content-large {
    width: 90%;
    max-width: 800px;
    text-align: left;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover, .close-btn:focus {
    color: black;
}


/* --- Playlist Section Styles (from V_06) --- */
.header-image {
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.playlist-section a:hover .header-image {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.btn-spotify {
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 500px;
    padding: 15px 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-spotify:hover {
    background-color: #1ed760;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-spotify .fab {
    margin-right: 10px;
    font-size: 1.5rem;
}
.about-me-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
.about-me-section h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.about-me-section p {
    color: #6c757d;
    line-height: 1.7;
}


/* --- STYLES FROM V_progress/css/styles.css --- */
.tuner-app-container {
  padding-top: 2rem;
}
.tuner-app-container body { /* scoping to the tuner container */
  font-family: sans-serif;
}

.arrow-up { color: green; }
.arrow-down { color: red; }
.no-change { color: gray; }

.btn-tune { min-width: 90px; }
.btn-active { font-weight: bold; }

#note {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
}

.arrow-indicator {
  font-size: 2.5em;
  color: #6c757d;
  width: 50px;
  display: inline-block;
  font-weight: bold;
  vertical-align: middle;
}
#flat-indicator { text-align: right; padding-right: 15px; }
#sharp-indicator { text-align: left; padding-left: 15px; }


#feedbackContainer {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto;
}

.btn-blink {
  animation: blink 0.2s ease;
}
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.btn-flash {
  background-color: #dee2e6 !important;
  transition: background-color 0.2s ease;
}

#flipTunings {
  background-color: white;
  border-color: #ced4da;
  color: #212529;
}

#flipTunings.btn-flash {
  background-color: #dee2e6 !important;
}

[draggable="true"] {
  cursor: grab;
}

[draggable="true"]:active {
  cursor: grabbing;
}

.dragging {
  opacity: 0.5;
  border: 2px dashed #007bff !important;
}

.collapsible-header {
  cursor: pointer;
  user-select: none;
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
  font-size: 0.8em;
  vertical-align: middle;
}

.collapsible-header.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.waveform-container {
  height: 60px;
  cursor: pointer;
}

.player-control-btn {
  width: 30px;
  height: 30px;
  font-size: 1.2em;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
