/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #FFFFFF;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  object-fit: cover;
  min-height: 500px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}


/* ========================================
   WORLD INDIVIDUALS 2026 SLIDE STYLING
   ======================================== */

/* World Individuals Slide Background */
.world-individuals-slide {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #0066ff 100%);
}

/* Caption Container with Glass-Morphism Effect */
.world-individuals-caption {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px !important;
    bottom: 80px !important;
    left: 10% !important;
    right: 10% !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Championship Badge */
.world-individuals-badge {
    display: inline-block;
    background: linear-gradient(90deg, #0066ff, #00b4d8);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* Main Title */
.world-individuals-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 15px 0 25px 0 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2 !important;
}

/* Event Details (Date & Location) */
.world-individuals-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.detail-item {
    color: #f2e9df;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item .glyphicon {
    font-size: 18px;
    color: #0066ff;
    filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.5));
}

/* Description Text */
.world-individuals-description {
    color: #e2e8f0 !important;
    font-size: 18px !important;
    margin: 20px 0 30px 0 !important;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Action Buttons Container */
.world-individuals-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Primary Button (Mehr Erfahren) */
.btn-world-individuals-primary {
    background: linear-gradient(90deg, #0066ff, #0052cc) !important;
    border: none !important;
    color: white !important;
    padding: 15px 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
    border-radius: 4px;
}

.btn-world-individuals-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.6);
    background: linear-gradient(90deg, #0052cc, #003d99) !important;
}

/* Secondary Button (Jetzt Anmelden) */
.btn-world-individuals-secondary {
    background: transparent !important;
    border: 2px solid #0066ff !important;
    color: white !important;
    padding: 15px 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border-radius: 4px;
}

.btn-world-individuals-secondary:hover {
    background: #0066ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

/* Responsive Design - Mobile & Tablet */
@media (max-width: 768px) {
    .world-individuals-title {
        font-size: 32px !important;
    }

    .world-individuals-caption {
        padding: 25px 20px !important;
        bottom: 40px !important;
        left: 5% !important;
        right: 5% !important;
    }

    .world-individuals-badge {
        font-size: 10px;
        padding: 6px 15px;
    }

    .world-individuals-details {
        flex-direction: column;
        gap: 10px;
    }

    .detail-item {
        font-size: 14px;
    }

    .world-individuals-description {
        font-size: 14px !important;
    }

    .world-individuals-actions {
        flex-direction: column;
    }

    .btn-world-individuals-primary,
    .btn-world-individuals-secondary {
        width: 100%;
        font-size: 14px !important;
        padding: 12px 25px !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .world-individuals-title {
        font-size: 24px !important;
    }

    .world-individuals-caption {
        padding: 20px 15px !important;
        bottom: 20px !important;
    }

    .world-individuals-description {
        font-size: 12px !important;
    }
}
