/* Custom CSS für Fanuc Robo Trainer - Glassmorphism Design */

/* Haupthintergrund mit dunkelblauen Farbverlauf und Bild - sehr durchscheinend */
body {
    background: 
        linear-gradient(135deg, rgba(8, 16, 48, 0.3) 0%, rgba(21, 45, 90, 0.2) 25%, rgba(30, 60, 114, 0.1) 50%, rgba(21, 45, 90, 0.2) 75%, rgba(8, 16, 48, 0.3) 100%),
        url('img/HG_Blau.JPG');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: #ffffff;
}


/* Navbar mit Schatten */
.navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 10;
}

/* Navbar Text-Styling */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Navbar Divider - maximal sichtbar außerhalb der Navbar */
.navbar-divider-visible {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0.1rem 0 0 0;
    width: 100%;
}

/* Card-Styling mit transparentem Glassmorphism */
.fixed-card-height {
    height: 520px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
}

/* Entfernt - kein zusätzlicher Gradient-Overlay mehr nötig */


.fixed-card-height .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0 0 25px 25px;
    min-height: 200px;
}

.fixed-card-height .card-title {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.fixed-card-height .card-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.fixed-image-height {
    height: 300px;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
    position: relative;
    z-index: 1;
    filter: brightness(1.1) contrast(1.1);
    opacity: 0.3;
    transition: all 0.4s ease;
    mix-blend-mode: multiply;
}

/* Buttons mit Glassmorphism - optimiert für Cards */
.fixed-card-height .btn {
    margin-top: auto;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    align-self: flex-start;
    white-space: nowrap;
}

.btn-primary {
    background: rgba(0, 123, 255, 0.3) !important;
    border: 1px solid rgba(0, 123, 255, 0.5) !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: rgba(0, 123, 255, 0.5) !important;
    border: 1px solid rgba(0, 123, 255, 0.7) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: rgba(108, 117, 125, 0.3) !important;
    border: 1px solid rgba(108, 117, 125, 0.5) !important;
    color: #ffffff !important;
}

.btn-secondary:hover {
    background: rgba(108, 117, 125, 0.5) !important;
    border: 1px solid rgba(108, 117, 125, 0.7) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Sektionen mit Glassmorphism - durchscheinend für Hintergrundbild */
.glass-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.glass-section h2 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.glass-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* List Group mit Glassmorphism */
.list-group-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(5px);
}

.list-group-item a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-group-item a:hover {
    color: #ffffff !important;
}

/* Kleine Cards für programming.html - transparentes Glassmorphism */
.fixed-card-height-small {
    height: 380px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
}

/* Entfernt - kein zusätzlicher Gradient-Overlay mehr nötig */

.fixed-card-height-small .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 0 25px 25px;
    min-height: 133px;
}

.fixed-card-height-small .card-title {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.fixed-card-height-small .card-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.fixed-image-height-small {
    height: 200px;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
    position: relative;
    z-index: 2;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.4s ease;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .glass-section {
        padding: 1.5rem;
    }
    
    .fixed-card-height {
        height: auto;
        min-height: 400px;
    }
    
    .fixed-card-height-small {
        height: auto;
        min-height: 300px;
    }
}
