/* SKT Tespe Website Styles */

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

html {
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.6) 50%, 
        rgba(0,0,0,0.8) 100%),
        url('../assets/images/hero-bg.jpg') center/cover;
    background-color: #000000;
    display: flex;
    align-items: center;
}

.hero-section .hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section .hero-badge {
    max-width: 250px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .hero-section .hero-badge {
        max-width: 150px;
        margin-top: 2rem;
    }
}

/* Section Styling */
.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #000000;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #000000, #dc3545);
    border-radius: 2px;
}

/* Navigation Enhancements */
.navbar-brand {
    font-size: 1.4rem;
}

.navbar-brand img {
    border-radius: 4px;
    background-color: lightgray;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    transform: translateY(-1px);
}

/* Card Enhancements */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.discipline-card {
    border-left: 4px solid #000000;
}

.discipline-card:hover {
    border-left-color: #dc3545;
}

/* Discipline Icons - Optimized JPG Format for Performance */
.discipline-icon {
    width: 56px;
    height: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
    /* Optimize for smooth rendering of compressed images */
    image-rendering: auto;
}

.discipline-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* Individual icon files - Optimized JPG Format (~20KB each)
   Performance improvement: Reduced from 1MB+ PNG to ~20KB JPG per icon
   Maintains high visual quality while dramatically improving load times */
.luftgewehr-icon {
    background-image: url('../assets/images/disciplines/Luftgewehr.jpg');
}

.kleinkaliber-icon {
    background-image: url('../assets/images/disciplines/Kleinkaliber.jpg');
}

.pistole-icon {
    background-image: url('../assets/images/disciplines/Pistole.jpg');
}

.vorderlader-icon {
    background-image: url('../assets/images/disciplines/Vorderlader.jpg');
}

.bogensport-icon {
    background-image: url('../assets/images/disciplines/Bogensport.jpg');
}

/* Fallback for discipline cards without icons */
.discipline-card .discipline-icon + h5 {
    flex-grow: 1;
}

/* Table Styling */
.table .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Button Enhancements */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: #000000;
    border-color: #000000;
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: #333333;
    border-color: #333333;
}

/* Footer */
footer.bg-black {
    background-color: #000000 !important;
}

/* Make radtke solutions text invisible but present for SEO */
.invisible-text {
    color: #000000 !important;
}

.invisible-text a {
    color: #000000 !important;
}

.invisible-text .bi-heart-fill {
    color: #000000 !important;
}

/* Footer Modal Links */
footer a[data-bs-toggle="modal"] {
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

footer a[data-bs-toggle="modal"]:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Modal Enhancements */
.modal-dialog-scrollable {
    max-height: 90vh;
}

.modal-body h6 {
    color: #000000;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body .h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section h1 small {
        font-size: 1.25rem !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section h1 small {
        font-size: 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar (for webkit browsers) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #000000 0%, #333333 100%) !important;
}

/* Contact Section Enhancements */
#contact .card {
    border: 1px solid rgba(255,255,255,0.1);
}

#contact a {
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #dc3545 !important;
}

/* Training Section */
#training .table th {
    border-top: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#training .table tbody tr {
    transition: all 0.3s ease;
}

#training .table tbody tr:hover {
    position: relative;
    z-index: 1;
}

#training .table td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

#training .table td:first-child {
    width: 12%;
    min-width: 100px;
}

#training .table .badge {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
    min-width: 65px;
    text-align: center;
}

#training .alert {
    border: none;
    border-radius: 8px;
}

/* About Section */
#about .card {
    border-top: 3px solid #000000;
}

#about .card:nth-child(2) {
    border-top-color: #dc3545;
}

#about .card:nth-child(3) {
    border-top-color: #28a745;
}

/* Rental Section */
#rental .card {
    border-top: 3px solid #000000;
    transition: all 0.3s ease;
}

#rental .card:hover {
    border-top-color: #dc3545;
    transform: translateY(-3px);
}

#rental .alert {
    border-left: 4px solid;
}

#rental .alert-info {
    border-left-color: #0dcaf0;
}

#rental .alert-warning {
    border-left-color: #ffc107;
}

/* Price List Collapse */
#priceList .table {
    margin-bottom: 0;
}

#priceList .table th {
    font-size: 0.9rem;
    font-weight: 600;
}

#priceList .table td {
    font-size: 0.9rem;
}

#priceList .table-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

/* Price List Button */
#rental .btn-outline-dark {
    border-width: 2px;
    transition: all 0.3s ease;
}

#rental .btn-outline-dark:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Mobile Responsiveness for Price Table */
@media (max-width: 768px) {
    #priceList .table {
        font-size: 0.8rem;
    }
    
    #priceList .table th,
    #priceList .table td {
        padding: 0.5rem 0.25rem;
    }
    
    #priceList .alert {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Links Section */
#linksCollapse {
    transition: all 0.3s ease;
}

#linksCollapse .card {
    border: 1px solid rgba(0,0,0,0.1);
}

#linksCollapse a {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin-right: 1rem;
}

#linksCollapse a:hover {
    background-color: rgba(0,0,0,0.05);
    color: #000000 !important;
    transform: translateX(3px);
}

#linksCollapse .bi {
    transition: transform 0.3s ease;
}

#linksCollapse a:hover .bi {
    transform: scale(1.1);
}

#linksChevron {
    transition: transform 0.3s ease;
}

/* Link Categories */
#linksCollapse h6 {
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 3px solid #f8f9fa;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

#linksCollapse h6 .bi {
    font-size: 1.25rem;
}

/* Link Items */
#linksCollapse .col-md-6 {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

#linksCollapse .d-flex {
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

#linksCollapse strong {
    font-weight: 600;
    color: #000000;
}

#linksCollapse small {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #6c757d;
    margin-left: 2.5rem;
}

/* Link Button Styling */
.btn-link {
    text-decoration: none !important;
    font-size: 1rem;
}

.btn-link:hover {
    color: #000000 !important;
}

.btn-link:focus {
    box-shadow: none;
}

/* Mobile responsiveness for discipline icons */
@media (max-width: 768px) {
    .discipline-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 576px) {
    .discipline-icon {
        width: 40px;
        height: 40px;
    }
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .discipline-icon {
        /* Enhanced quality for high-DPI displays */
        image-rendering: auto;
    }
}

/* Mobile responsiveness for links */
@media (max-width: 768px) {
    #linksCollapse .col-md-6 {
        margin-bottom: 1rem;
        padding: 0.25rem;
    }
    
    #linksCollapse h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #linksCollapse a {
        font-size: 0.9rem;
        padding: 0.375rem 0.5rem;
        margin-right: 0.5rem;
    }
    
    #linksCollapse small {
        font-size: 0.8rem;
        margin-left: 2rem;
    }
    
    #linksCollapse .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Training Schedule Cards */
.training-card-header {
    background-color: #DEDEDE !important;
}

.training-discipline-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.training-blasrohr-icon {
    font-size: 32px;
    color: #6c757d;
}

.training-table-col-group {
    width: 40%;
}

.training-table-col-day {
    width: 30%;
}

.training-table-col-time {
    width: 30%;
}

.training-badge {
    min-width: 100px;
    display: inline-block;
}

/* SCSS Converted to CSS - Main Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.6) 50%, 
        rgba(0,0,0,0.8) 100%),
        url('../assets/images/hero-bg.jpg') center/cover;
    background-color: #000000;
    display: flex;
    align-items: center;
}

.hero-section .hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section .hero-badge {
    max-width: 250px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .hero-section .hero-badge {
        max-width: 150px;
        margin-top: 2rem;
    }
}

/* Section Styling */
.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #000000;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #000000, #dc3545);
    border-radius: 2px;
}

/* Navigation Enhancements */
.navbar-brand {
    font-size: 1.4rem;
}

.navbar-brand img {
    border-radius: 4px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    transform: translateY(-1px);
}

/* Card Enhancements */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.discipline-card {
    border-left: 4px solid #000000;
}

.discipline-card:hover {
    border-left-color: #dc3545;
}

/* Table Styling */
.table .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Button Enhancements */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: #000000;
    border-color: #000000;
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: #333333;
    border-color: #333333;
}

/* Footer */
footer.bg-black {
    background-color: #000000 !important;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar (for webkit browsers) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #000000 0%, #333333 100%) !important;
}

/* Contact Section Enhancements */
#contact .card {
    border: 1px solid rgba(255,255,255,0.1);
}

#contact a {
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #dc3545 !important;
}

/* Training Section */
#training .table th {
    border-top: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#training .alert {
    border: none;
    border-radius: 8px;
}

/* About Section */
#about .card {
    border-top: 3px solid #000000;
}

#about .card:nth-child(2) {
    border-top-color: #dc3545;
}

#about .card:nth-child(3) {
    border-top-color: #28a745;
}

/* Rental Section - Price List */
#rental .btn-outline-dark {
    border-width: 2px;
    transition: all 0.3s ease;
}

#rental .btn-outline-dark:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

#priceList .table {
    margin-bottom: 0;
}

#priceList .table th {
    font-size: 0.9rem;
    font-weight: 600;
}

#priceList .table td {
    font-size: 0.9rem;
}

#priceList .table-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

/* Links Section */
#linksCollapse {
    transition: all 0.3s ease;
}

#linksCollapse .card {
    border: 1px solid rgba(0,0,0,0.1);
}

#linksCollapse a {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin-right: 1rem;
}

#linksCollapse a:hover {
    background-color: rgba(0,0,0,0.05);
    color: #000000 !important;
    transform: translateX(3px);
}

#linksCollapse a:hover .bi {
    transform: scale(1.1);
}

#linksCollapse .bi {
    transition: transform 0.3s ease;
}

#linksCollapse h6 {
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 3px solid #f8f9fa;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

#linksCollapse h6 .bi {
    font-size: 1.25rem;
}

#linksCollapse .col-md-6 {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

#linksCollapse .d-flex {
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

#linksCollapse strong {
    font-weight: 600;
    color: #000000;
}

#linksCollapse small {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #6c757d;
    margin-left: 2.5rem;
}

#linksChevron {
    transition: transform 0.3s ease;
}

.btn-link {
    text-decoration: none !important;
    font-size: 1rem;
}

.btn-link:hover {
    color: #000000 !important;
}

.btn-link:focus {
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section h1 small {
        font-size: 1.25rem !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    #priceList .table {
        font-size: 0.8rem;
    }
    
    #priceList .table th, 
    #priceList .table td {
        padding: 0.5rem 0.25rem;
    }
    
    #priceList .alert {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    #linksCollapse .col-md-6 {
        margin-bottom: 1rem;
        padding: 0.25rem;
    }
    
    #linksCollapse h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #linksCollapse a {
        font-size: 0.9rem;
        padding: 0.375rem 0.5rem;
        margin-right: 0.5rem;
    }
    
    #linksCollapse small {
        font-size: 0.8rem;
        margin-left: 2rem;
    }
    
    #linksCollapse .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section h1 small {
        font-size: 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    .card-body {
        padding: 1rem;
    }
} 