/* Haupt-CSS-Datei für Angelpark Pfeffer */

/* Allgemeine Stile */
:root {
    --primary-color: #28a745;
    --secondary-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --third-color:#0D6EFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 56px; /* Für fixierte Navigation */
}

.footerlinks a:link {
  text-decoration: none;
  color: var(--primary-color);
}

.footerlinks a:visited {
  text-decoration: none;
  color: var(--primary-color);
}

.footerlinks a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.footerlinks a:active {
  text-decoration: underline;
  color: var(--primary-color);
}


/* Dirty Hack weil ich faul bin */
a:link:not([class]) {
  text-decoration: none;
  color: var(--primary-color);
}

a:visited:not([class]) {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover:not([class]) {
  text-decoration: underline;
  color: var(--secondary-color);
}

a:active:not([class]) {
  text-decoration: underline;
  color: var(--primary-color);
}
/* Dirty Hack weil ich faul bin */



/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #28a745 0%, #17a2b8 100%);
    margin-top: 56px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Features */
.features {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-radius: 10px;
    background: #white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-light:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero .btn {
        margin-top: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .features {
        padding: 2rem 0;
    }
    
    .about {
        padding: 2rem 0;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        margin: 5px 0;
    }
        .fishlanding {
        max-width: 45%;
        height: auto; 
        margin-top: 25px;
    
    }
    

}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    .fishlanding {
        width: 65%;
        height: auto; 
        padding-top: 25px;
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

}

/* Accessibility */
a:focus, button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar, 
    .btn, 
    footer {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}


/* GS Navi Override */

.topL {
  flex: 1 1 auto;
  text-align: center;
  color: var(--bs-nav-tabs-link-active-color);
  background-color: var(--bs-nav-tabs-link-active-bg);
  border-color: var(--bs-nav-tabs-link-active-border-color);
}

.topL-a {
  padding: 8px;
  margin: 5px;
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--bs-nav-link-color);
  text-decoration: none;
  background: none;
  border: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.topL-a:hover, .topL-a:focus {
  color: var(--primary-color);
  background-image: url('../img/aplogofish_b.png');
  background-repeat: no-repeat;   
  background-size: 25px 16px;
  left:100px;
  top:100px;
}

.topL-a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.topL-a.disabled, .topL-a:disabled {
  color: var(--bs-nav-link-disabled-color);
  pointer-events: none;
  cursor: default;
}

.cur-act-a {
  background-color: #f3f3f3 ;
  border-bottom-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 650;
}

.fishheader {
  max-width: 100%;
  height: auto; 
  margin-bottom: 8px;
  padding-right: 10px;
}

.fishlanding {
  max-width: 65%;
  height: auto; 
  margin: 20px;
}
.bildergalerie-container {

    justify-content: center; 
    flex-wrap: wrap; 
  
}
.bildergalerie-container img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0; 
}

/* Maps Blödsinn */

#map-container {
    position: relative; 
}

#opt-in-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; 
}

#google-map-iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.map-hidden {
    display: none !important; 
}

.video-container {
    
    position: relative; /* Wichtig für die Positionierung des Iframes */
    width: 100%; 
    height: 0; 
    
    /* 16:9 Verhältnis: (9 / 16) * 100% = 56.25% */
    padding-bottom: 56.25%; 
    
    overflow: hidden; /* Verhindert, dass Ränder außerhalb des Containers sichtbar werden */
}

.video-container iframe {
    
    position: absolute;
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
}