/*
===============================================
📘 Project Web Repository Guide
===============================================

This guide outlines the conventions and instructions for building a modular, consistent, and maintainable website using Bootstrap, JavaScript, and the custom styles defined in this `styles.css` file. Follow these guidelines meticulously to ensure compatibility and uniformity across all web pages.

---

🔹 **General Principles**
- **Modularity:** Use only the predefined standard elements. Each element is a building block that can be reused across different pages.
- **Consistency:** Adhere to the predefined sizes, colors, and styles for all elements.
- **Compatibility:** Ensure all components work seamlessly with Bootstrap and any JavaScript functionalities.
- **Maintainability:** Keep the code clean and organized for easy updates and scalability.

---

🔹 **File Structure**
1. **Bootstrap:** Utilize Bootstrap's grid system and components. Ensure the Bootstrap CSS and JS files are correctly linked in your HTML.
2. **JavaScript:** Incorporate custom JavaScript as needed, ensuring it does not conflict with Bootstrap's JS.
3. **styles.css:** All custom styles should be defined here. Follow the naming conventions and style guidelines outlined below.

---

🔹 **Page Structure**
Each page of the website should follow a consistent structure to maintain uniformity and ease of navigation.

1. **Navigation Bar (Navbar)**
   - **Position:** Fixed at the top of the page.
   - **Content:** Logo on the left, navigation links on the right.
   - **Styling:** Use the `.navbar` class with additional custom classes as defined in `styles.css`.
   - **Example:**
     ```html
     <nav class="navbar navbar-expand-lg navbar-light bg-light">
       <a class="navbar-brand" href="#">Logo</a>
       <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav">
         <span class="navbar-toggler-icon"></span>
       </button>
       <div class="collapse navbar-collapse" id="navbarNav">
         <ul class="navbar-nav ml-auto">
           <li class="nav-item active">
             <a class="nav-link" href="#">Home</a>
           </li>
           <!-- More nav items -->
         </ul>
       </div>
     </nav>
     ```

2. **Hero Section**
   - **Placement:** Immediately below the navbar on every page.
   - **Content:** A full-width image with a fixed height, overlay text if necessary.
   - **Image Specifications:**
     - **Size:** Fixed width (100%) and fixed height (e.g., 400px).
     - **Format:** Optimized for web (JPEG or PNG).
     - **Class:** Use the `.hero-image` class.
   - **Example:**
     ```html
     <section class="hero-section">
       <img src="path/to/image.jpg" alt="Hero Image" class="hero-image">
       <div class="hero-text">
         <h1>Welcome to Our Website</h1>
       </div>
     </section>
     ```

3. **Modular Building Blocks**
   - After the hero section, pages can include any combination of the following modular components.

---

🔹 **Modular Building Blocks**

1. **Card Component**
   - **Description:** A standardized card for displaying content.
   - **Structure:**
     ```html
     <div class="card custom-card">
       <img src="path/to/image.jpg" class="card-img-top card-image" alt="...">
       <div class="card-body">
         <h5 class="card-title">Card Title</h5>
         <p class="card-text">Some quick example text.</p>
         <a href="#" class="btn btn-primary">Go somewhere</a>
       </div>
     </div>
     ```
   - **Specifications:**
     - **Image Size:** 300px by 200px.
     - **Colors:** Use predefined color classes from `styles.css`.
     - **Spacing:** Maintain consistent padding and margins as defined in `styles.css`.

2. **Feature Section**
   - **Description:** Highlights key features or services.
   - **Structure:**
     ```html
     <section class="feature-section">
       <div class="container">
         <div class="row">
           <div class="col-md-4 feature-item">
             <i class="icon-class"></i>
             <h3>Feature Title</h3>
             <p>Feature description.</p>
           </div>
           <!-- Repeat for other features -->
         </div>
       </div>
     </section>
     ```
   - **Specifications:**
     - **Icons:** Use SVG or icon fonts with predefined sizes.
     - **Text:** Use consistent heading and paragraph styles.
     - **Layout:** Utilize Bootstrap's grid system for responsive design.

3. **Testimonials Carousel**
   - **Description:** Rotating testimonials from clients or users.
   - **Structure:**
     ```html
     <section class="testimonials-section">
       <div id="testimonialsCarousel" class="carousel slide" data-ride="carousel">
         <div class="carousel-inner">
           <div class="carousel-item active">
             <p>"Testimonial text."</p>
             <h5>Client Name</h5>
           </div>
           <!-- More carousel items -->
         </div>
         <a class="carousel-control-prev" href="#testimonialsCarousel" role="button" data-slide="prev">
           <span class="carousel-control-prev-icon" aria-hidden="true"></span>
           <span class="sr-only">Previous</span>
         </a>
         <a class="carousel-control-next" href="#testimonialsCarousel" role="button" data-slide="next">
           <span class="carousel-control-next-icon" aria-hidden="true"></span>
           <span class="sr-only">Next</span>
         </a>
       </div>
     </section>
     ```
   - **Specifications:**
     - **Transition:** Use Bootstrap's default carousel transitions.
     - **Content:** Each testimonial should have a fixed structure with text and client name.
     - **Styling:** Align with the site's color scheme and typography.

4. **Contact Form**
   - **Description:** A standardized form for user inquiries.
   - **Structure:**
     ```html
     <section class="contact-section">
       <div class="container">
         <form class="contact-form">
           <div class="form-group">
             <label for="name">Name</label>
             <input type="text" class="form-control" id="name" required>
           </div>
           <div class="form-group">
             <label for="email">Email</label>
             <input type="email" class="form-control" id="email" required>
           </div>
           <div class="form-group">
             <label for="message">Message</label>
             <textarea class="form-control" id="message" rows="5" required></textarea>
           </div>
           <button type="submit" class="btn btn-primary">Send</button>
         </form>
       </div>
     </section>
     ```
   - **Specifications:**
     - **Fields:** Name, Email, Message.
     - **Validation:** Implement HTML5 validation and custom JS validation as needed.
     - **Styling:** Use consistent input sizes and button styles.

5. **Footer**
   - **Description:** A consistent footer across all pages.
   - **Structure:**
     ```html
     <footer class="footer-section">
       <div class="container">
         <div class="row">
           <div class="col-md-6">
             <p>&copy; 2024 Your Company. All rights reserved.</p>
           </div>
           <div class="col-md-6">
             <ul class="social-links">
               <li><a href="#"><i class="fab fa-facebook-f"></i></a></li>
               <!-- More social links -->
             </ul>
           </div>
         </div>
       </div>
     </footer>
     ```
   - **Specifications:**
     - **Content:** Company information and social media links.
     - **Styling:** Align with the overall color scheme and typography.

---

🔹 **Styling Guidelines (`styles.css`)**

1. **Color Palette**
   - **Primary Color:** `#YourPrimaryColor`
   - **Secondary Color:** `#YourSecondaryColor`
   - **Accent Color:** `#YourAccentColor`
   - **Background Color:** `#YourBackgroundColor`
   - **Text Color:** `#YourTextColor`
   - **Usage:** Apply these colors consistently across elements using predefined classes.

2. **Typography**
   - **Fonts:** Use Google Fonts or web-safe fonts as defined.
   - **Headings:** Consistent font size and weight for h1, h2, h3, etc.
   - **Paragraphs:** Standardize line height and font size.
   - **Buttons:** Ensure buttons have consistent padding, border-radius, and font properties.

3. **Spacing**
   - **Margins and Padding:** Use a consistent scale (e.g., multiples of 8px).
   - **Grid System:** Leverage Bootstrap's grid for responsive layouts, supplemented by custom spacing as needed.

4. **Images**
   - **Sizing:** Enforce fixed dimensions for images within modular components.
   - **Responsive:** Ensure images are responsive using Bootstrap classes like `.img-fluid`.
   - **Optimization:** Optimize images for web performance.

5. **Buttons**
   - **Classes:** Use Bootstrap's `.btn` classes with additional custom classes for specific styles.
   - **States:** Define styles for hover, active, and disabled states.

---

🔹 **JavaScript Guidelines**

- **Compatibility:** Ensure custom JS does not interfere with Bootstrap's JS components.
- **Modularity:** Write modular, reusable scripts for interactive components.
- **Documentation:** Comment your JS code for clarity and maintainability.
- **Dependencies:** Manage dependencies using package managers like npm if necessary.

---

🔹 **Best Practices**

- **Semantic HTML:** Use semantic tags (`<header>`, `<section>`, `<footer>`, etc.) for better accessibility and SEO.
- **Accessibility:** Ensure all elements are accessible (e.g., alt attributes for images, ARIA labels).
- **Responsive Design:** Ensure the website is fully responsive across different devices and screen sizes.
- **Performance:** Optimize assets for faster load times (minify CSS/JS, compress images).
- **Version Control:** Use Git for version control. Commit changes with clear messages.

---

🔹 **Example Page Structure**

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <!-- Required meta tags -->
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Page Title</title>
  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="path/to/bootstrap.min.css">
  <!-- Custom CSS -->
  <link rel="stylesheet" href="styles.css">
</head>
<body>

  <!-- Navbar -->
  <nav class="navbar navbar-expand-lg navbar-light bg-light">
    <!-- Navbar content as defined above -->
  </nav>

  <!-- Hero Section -->
  <section class="hero-section">
    <!-- Hero content as defined above -->
  </section>

  <!-- Modular Building Blocks -->
  <main class="main-content">
    <!-- Insert modular components here -->
    <!-- e.g., Card Component, Feature Section, etc. -->
  </main>

  <!-- Footer -->
  <footer class="footer-section">
    <!-- Footer content as defined above -->
  </footer>

  <!-- Bootstrap JS and dependencies -->
  <script src="path/to/jquery.min.js"></script>
  <script src="path/to/bootstrap.bundle.min.js"></script>
  <!-- Custom JS -->
  <script src="path/to/custom.js"></script>
</body>
</html>
/*
===============================================
📘 Project Web Repository Guide
===============================================
*/

/*
🔹 Objective:
Refactor the stylesheet to ensure:
- Consistent color usage with a limited palette
- Clear distinctions between primary and secondary buttons
- High contrast for readability
- No arbitrary custom coloring
*/

/*
🔹 Color Palette (3 dark, 3 light)
We will rely on these colors throughout.

Dark Colors:
--dark-1: #000000 (pure black)
--dark-2: #212529 (Bootstrap dark background)
--dark-3: #343a40 (Bootstrap darker gray)

Light Colors:
--light-1: #ffffff (pure white)
--light-2: #f8f9fa (light background, near-white)
--light-3: #dae0e5 (light gray, suitable for secondary backgrounds)
*/

/* ============================================
   🚀 COLOR & FONT CONFIGURATIONS
   ============================================ */

/*
🔹 Color Palette (3 dark, 3 light)
We rely on these colors throughout for consistency.
*/
:root {
    /* Dark Colors */
    --dark-1: #000000;    /* pure black */
    --dark-2: #212529;    /* Bootstrap dark background */
    --dark-3: #343a40;    /* Bootstrap darker gray */

    /* Light Colors */
    --light-1: #ffffff;   /* pure white */
    --light-2: #f8f9fa;   /* light background, near-white */
    --light-3: #dae0e5;   /* light gray, suitable for secondary backgrounds */

    /* Text Colors */
    --text-light: var(--light-1); /* For use on dark backgrounds */
    --text-dark: var(--dark-2);   /* For use on light backgrounds */
    --text-muted: #6c757d;

    /* Backgrounds */
    --background-total: var(--dark-2);
    --background-primary: var(--dark-3);
    --background-secondary: var(--light-3);
    --background-heading: var(--dark-2);
    --background-light: var(--light-2);
}

/* ============================================
   🌐 BASE STYLES
   ============================================ */

/* Utility Classes */
.bg-primary {
    background-color: var(--background-primary) !important;
}

.bg-secondary {
    background-color: var(--background-secondary) !important;
}

/* General Typography & Body */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-total);
    margin: 0;
    padding: 0;
}

a {
    color: var(--dark-3);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Footer */
.footer-section {
    background-color: var(--dark-2);
    color: var(--text-muted);
    padding: 40px 0;
    text-align: center;
}

.footer-section a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--light-1);
    text-decoration: underline;
}

/* ============================================
   🏆 BUTTONS
   ============================================ */

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--dark-3);
    color: var(--light-1);
    text-decoration: none;
}

.btn--primary:hover {
    background-color: var(--dark-1);
    color: var(--light-1);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn--secondary {
    background-color: var(--light-3);
    color: var(--text-dark);
    text-decoration: none;
}

.btn--secondary:hover {
    background-color: var(--light-1);
    color: var(--text-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================
   📝 FORMS
   ============================================ */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    background-color: var(--light-2);
    color: var(--dark-2);
}

.form-control:focus {
    border-color: var(--dark-3);
    outline: none;
    box-shadow: 0 0 5px rgba(52, 58, 64, 0.5);
}

/* ============================================
   📋 TABLES
   ============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--dark-3);
    color: var(--light-1);
}

.table th {
    padding: 12px;
    border: 1px solid var(--light-3);
    background-color: var(--dark-2);
    color: var(--light-1);
}

.table td {
    padding: 12px;
    border: 1px solid var(--light-3);
    color: var(--text-dark);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--light-3);
}

.table-bordered th,
.table-bordered td {
    border: 2px solid var(--dark-3);
}

/* ============================================
   🧭 NAVBAR STYLES
   ============================================ */
.navbar {
    background-color: var(--dark-2) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light-1);
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s, background-color 0.3s;
    text-decoration: none;
}

/* Active navbar link with inverted colors */
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--light-1); /* Light background */
    color: var(--dark-2);             /* Dark text */
    font-weight: bold;
    border-radius: 0.25rem;           /* Optional: adds a slight rounding */
    padding: 0.5rem 1rem;             /* Adjust as needed */
    text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--light-1);
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-1);
}

.navbar-logo {
    height: 40px;
    margin-right: 10px;
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ============================================
   🏞️ HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-section .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--light-1);
}

/* ============================================
   🏷️ BANNER HERO SECTION
   ============================================ */
.hero-section-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section-banner .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-section-banner .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-1);
    z-index: 2;
}

.hero-section-banner .hero-text h1 {
    font-size: 6rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-section-banner .hero-text p {
    font-size: 1.25rem;
    margin-top: 1rem;
}

/* ============================================
   📣 BANNER 2 SECTION
   ============================================ */
.banner2-section {
    background-color: var(--dark-1);
    padding: 10px 0;
}

.banner2-section .banner2-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner2-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    background-color: var(--dark-3);
    border-radius: 4px;
    text-decoration: none;
    color: var(--light-1);
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.banner2-button:hover {
    background-color: #2c3035;
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--light-1);
}

.banner2-button i,
.banner2-logo {
    color: var(--light-1);
    height: 24px;
    width: auto;
}

/* ============================================
   🏗️ MAIN CONTENT / SECTIONS
   ============================================ */
.section {
    padding: 1rem;
    background-color: var(--dark-3);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--light-1);
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding: 5px;
    background-color: var(--dark-2);
    border-radius: 4px;
    color: var(--light-1);
}

/* TEAMS NAV */
.teams-nav .btn {
    margin: 0.5rem;
}

/* ============================================
   🏆 CARD ADJUSTMENTS
   ============================================ */
.team-card .card-img-top {
    height: auto !important;
    width: 100%;
    object-fit: contain !important;
    border-radius: 0;
}

.card-img-top.card-image {
    height: auto !important;
    object-fit: contain !important;
}

.custom-card {
    background-color: var(--light-2);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    color: var(--dark-2);
}

.custom-card:hover {
    transform: translateY(-5px);
}

.custom-card img {
    border-radius: 0 0 8px 8px;
}

.card-header {
    background-color: var(--dark-3);
    color: var(--light-1);
    font-size: 1.25rem;
    text-align: center;
}

/* ============================================
   📰 WEEKPLAN & TOURNAMENT SECTION
   ============================================ */
.weekplan-img {
  width: 100%;
  max-width: 400px; /* Limit on larger screens */
  height: auto;
  margin: 0 auto;
}

.tournament-img {
  width: 100%;
  max-width: 300px;  /* Adjust to desired max width on larger screens */
  height: auto;
  margin: 0 auto;
}

.meeting-info-card {
  /* Optional: add padding or adjust border if needed */
  margin: 0 auto;
}

/* ============================================
   📰 NEWS IMAGES / CAROUSELS
   ============================================ */
.news-image {
    max-height: 400px;
    object-fit: contain;
    width: 100%;
}

.news-carousel {
    max-height: 400px;
    overflow: hidden;
}

/* ============================================
   📰 NEWS CARD SPECIFIC CLASSES
   ============================================ */
.news-card {
  background-color: var(--light-2);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
  color: var(--dark-2);
}

.news-card:hover {
  transform: translateY(-5px);
}

/*
   This container holds the news-card image plus any NEU ribbon.
   We'll enforce a fixed height here to standardize previews.
*/
.news-card-img-container {
  position: relative;
  width: 100%;
  height: 220px; /* FIXED PREVIEW HEIGHT */
  overflow: hidden;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* NEU diagonal ribbon */
.neu-ribbon {
  position: absolute;
  top: 10px;
  right: -40px;
  z-index: 5;
  background: #dc3545; /* e.g. red from Bootstrap danger */
  color: #fff;
  width: 120px;
  text-align: center;
  line-height: 30px;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.news-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-card-teaser {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/*
   For images in the modal/carousel when multiple images
   are displayed in the full article view
*/
.news-modal-img {
  max-height: 400px;
  object-fit: contain;
  width: 100%;
  display: block;
  margin: 0 auto 1rem;
}

/* If fallback for generic modal images is needed */
.modal-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* ============================================
   🟦 TEAMS CAROUSEL SPECIFIC CLASSES
   ============================================ */
.teams-carousel-nav {
    background-color: var(--light-2);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.teams-carousel-img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
}

/* ============================================
   🌐 GLOBAL CAROUSEL CONTROL STYLING
   ============================================ */
/* Make the carousel arrows float in the center vertically */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;

  /* Force them to be absolutely positioned */
  position: absolute;
  top: 50%;              /* Place the center of the element at half the carousel's height */
  transform: translateY(-50%); /* Shift it up by half its own height, for perfect centering */
  z-index: 2;           /* Ensure it’s above the carousel images */

  /* By default, Bootstrap places them near edges;
     if you want them specifically offset, do something like: */
  /* left: 1rem; or right: 1rem; for the respective classes */
}

/* Additional offset if desired (optional):
.carousel-control-prev {
  left: 15px;
}
.carousel-control-next {
  right: 15px;
}
*/

/* Hover effect: slightly darker background */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Adjust the arrow icon size or color if needed */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 28px 28px; /* arrow icon size */
}

/* ============================================
   📱 RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .hero-section-banner .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-section-banner .hero-text p {
        font-size: 1rem;
    }
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .section-heading {
        font-size: 1.5rem;
    }
    .btn {
        padding: 8px 16px;
    }
    .weekplan-img {
        max-width: 100%; /* Allow full width on mobile */
    }
    .tournament-img {
        max-width: 100%; /* Full width on mobile devices */
    }
}

@media (max-width: 576px) {
    .hero-section-banner .hero-text h1 {
        font-size: 2rem;
    }
    .hero-section-banner .hero-text p {
        font-size: 0.875rem;
    }
    .navbar-brand {
        font-size: 1.25rem;
    }
    .section-heading {
        font-size: 1.25rem;
    }
    .btn {
        padding: 6px 12px;
    }
    .weekplan-img {
        max-width: 100%; /* Allow full width on mobile */
    }
    .tournament-img {
        max-width: 100%; /* Full width on mobile devices */
    }
    /* Narrower table columns for Termine page on mobile */
    #termine-table th,
    #termine-table td {
        padding: 0.25rem;  /* Reduce padding */
        font-size: 0.75rem;  /* Slightly smaller text */
    }
}

/* ============================================
   ♿ ACCESSIBILITY & HOVER EFFECTS
   ============================================ */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    outline: 2px dashed var(--dark-3);
    outline-offset: 2px;
}

.highlight-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}