html, body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: #fffdfc;
  font-family: "Urbanist", sans-serif;
  padding-top: 25px;
  /*background-image: url('../images/background.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;*/
}

main {
  flex: 1;
}

h1,h2,h3,h4,h5,h6,p {
  font-family: "Urbanist", sans-serif;
}

.page-section {
    padding: 5rem 0;
}

/* --- Begin style for navbar --- */
.navbar {
  padding: 12px 15px;
  background-color: #c4948a !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.brand-title {
  font-family: "Urbanist", sans-serif;
  font-size: 1.0rem;
}

.menu-home,.menu-blogs {
  font-size: 0.9rem;
  font-weight: 700;
}

/* Menu button for mobile devices */
.navbar-toggler {
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
/* --- End style for navbar --- */

.image-route {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    margin-top: 3rem;
}


/* --- Begin style for footer --- */
.footer{
  background-color: #c4948a !important;
}
/* --- End style for footer --- */


/* --- Begin style for tableOfConent navbar --- */
.tableOfContent {
    position: fixed;
    left: 50px;
    top: 160px;
    width: 280px;
    font-family: "Urbanist", serif;
}

.tableOfContent h3 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.tableOfContent nav {
    border-left: 0.5px solid #c4948a;
    padding-left: 30px;
}

.tableOfContent a {
    display: block;
    margin-bottom: 18px;
    color: #825134;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.tableOfContent a.active {
  font-weight: 700;
}

.tableOfContent a:hover {
    color: #825134;
}
/* --- End style for tableOfConent navbar --- */


/* --- Begin style for header carousel with three images and slogans --- */
.carousel-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.carousel-caption-custom {
  padding-top: 60px;
  height: 330px;
}

.carousel-slogan {
    display: inline-block;
    max-width: 100%;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.7rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-20%);
}
/* --- End style for header carousel with three images and slogans --- */


/* --- Begin style for introduction --- */
.introduction-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.text{
  text-align: justify;
}

.signature-text {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
}
/* --- End style for introduction --- */


/* --- Begin style for animation --- */
.start-country,.target-country {
    font-weight: bold;
    font-size: 20px;
}

.route-line {
    width: 250px;
    height: 40px;       
    position: relative;
    overflow: visible;  
    display: flex;
    align-items: center;
}

.route-line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #81a1b9,
        #81a1b9 5px,
        transparent 10px,
        transparent 20px
    );
    border-radius: 10px;
}

.camper {
    position: absolute;
    top: 8%;
    transform: translateY(-50%);
    font-size: 30px;
    animation: driveOneWay 5s linear infinite;
}

/* 180° rotation */
.flipped {
    transform: translateY(-50%) scaleX(-1);
}

.camper-inner {
  display: inline-block;
}

/* Drive */
@keyframes driveOneWay {
  0% {
      left: -10px;
      opacity: 1;
  }

  75% {
      left: 220px;
      opacity: 1;
  }

  85% {
      left: 220px;
      opacity: 0;
  }

  100% {
      left: -30px;
      opacity: 0;
  }
}
/* --- End style for animation --- */


/* --- Begin style for statistic of the trip --- */
.container-statistics{
  width: 500px;
}

.travel-box {
    background: #81a1b9;
    color: white;
    transition: all 0.3s ease;
}

.travel-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.travel-box i {
    transition: transform 0.3s ease;
}

.travel-box:hover i {
    transform: rotate(8deg) scale(1.2);
}

.route-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: sans-serif;
}
/* --- End style for statistic of the trip --- */


/* --- Begin style for country carousel --- */
.carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* VIEWPORT (sichtbarer Bereich) */
.carousel-viewport {
    width: 850px;
    padding: 20px 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-viewport {
  cursor: grab;
  user-select: none;
  scroll-behavior: auto;
}

.carousel-viewport.dragging {
  cursor: grabbing;
}

/* TRACK */
.carousel-track {
    display: flex;
    gap: 65px;
    transition: transform 0.4s ease;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* entfernt Unterstreichung */
    color: inherit;        /* übernimmt Textfarbe */
    opacity: 0.4;
    transition: 0.3s;
    text-align: center;
    flex: 0 0 auto;
}

.country-card.active {
    opacity: 1;
    transform: scale(1.1);
}

/* IMAGE */
.country-img,
.country-fallback {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    background: #f5f5f5;
}

/* FALLBACK */
.country-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border: 2px dashed #bbb;
}

/* TEXT */
.country-name {
    margin-top: 12px;
    font-weight: 600;
    color: #222;
}

/* BUTTONS */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 20;
    cursor: pointer;
}

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

.swipe-wrapper {
  display: flex;
  justify-content: center;
  margin-top: -40px;
}

.swipe-text {
  display: none; 
  font-size: 12px;
  color: #888;
}
/* --- End style for country carousel --- */


/* --- Begin style for blog carousel --- */
/* ---------------------------
   BLOG CAROUSEL (FIXED)
---------------------------- */

#blogCarousel {
  padding-bottom: 50px;
}

/* === OUTER CARD === */
.blog-carousel-card {
  width: 100%;
  max-width: 900px;
  height: 520px;  
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}

/* Hover Effekt */
.blog-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* === IMAGE === */
.carousel-blog-img {
  width: 100%;
  height: 320px; 
  object-fit: cover;
}

/* === TEXT === */
.blog-carousel-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-carousel-card-text {
  font-size: 15px;
  color: #555;
}

/* === CONTROLS === */
#blogCarousel .carousel-control-prev-icon,
#blogCarousel .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}

/* === INDICATORS (Punkte) === */
#blogCarousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #aaa;
  border: none;
  opacity: 0.6;
  margin: 0 5px;
  transition: 0.2s ease;
}

#blogCarousel .carousel-indicators .active {
  background-color: #333;
  opacity: 1;
  transform: scale(1.3);
}


/* --- End style for blog carousel --- */


/* --- Begin style for new blog cards --- */
.card {
  padding: 0; 
  border-radius: 0;
  width: 18rem;
  background-color: #e3eaec;
}

.col-6 {
  display: flex;
  justify-content: center;
}

.card-title{
  font-size: 20px;
  font-weight: 600;
}

.card-text{
  font-size: 15px;
}

.card-img-top {
  border-radius: 0; 
  width: 100%;
  height: 200px;
  cursor: pointer;
}

.blog-link {
  text-decoration: none;
  color: inherit;
}

.blog-card {
  position: relative;
}

.mobile-card-link {
  display: none;
}

.card-btn {
  width: 120px;
  align-self: flex-start;
}

#newBlogContainer {
  justify-content: center;
}

#newBlogContainer .col {
  display: flex;
  justify-content: center;
}
/* --- End style for new blog cards --- */


.btn-primary {
  background-color: #2c3e50 !important;
  color: white !important;
  border: none !important;
  padding: 6px 14px !important;
  border-radius: 15px !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}

.btn-primary:hover {
  background-color: #486988 !important;
  color: white !important;
}


/* --- Begin style for breadcrumb --- */
.nav-breadcrumb{
  font-size: 22px;
}

.breadcrumb-title {
    color: #333; 
    font-size: 22px;
}

.breadcrumb-title:hover {
    color: #000;
    text-decoration: underline;
}

.nav-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider);
    font-size: 26px;
}
/* --- End style for breadcrumb --- */


/* --- Begin style for back-to-top button --- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 40px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: white;
  color: rgb(9, 9, 9);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: 0.3s ease;
}

.back-to-top:hover {
  background: #ededed;
  transform: translateY(-2px);
}
/* --- End style for back-to-top button --- */


/* --- Begin style for blogs --- */
.blog-section {
  margin-bottom: 8rem;
}
/* --- End style for blogs --- */


/* --- Begin style for reading bar --- */
.reading-progress {
  height: 4px;           
  border-radius: 0;
  background: transparent;
  z-index: 9999;
}

.reading-progress .progress-bar {
  width: 0%;
  background: #0d6efd;  
  transition: width 0.1s linear;
}
/* --- End style for reading bar --- */


/* --- Begin style for navbar page --- */
.pagination .page-link {
    color: #c4948a;
    border-color: #c4948a
}

.pagination .page-link:hover {
    color: #fffdfc;
    background-color: #c4948a;
    border-color: #c4948a;
}

.pagination .page-item.active .page-link {
    background-color: #c4948a;
    border-color: #c4948a;
    color: #fffdfc;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(111, 78, 55, 0.25);
}
/* --- End style for navbar page --- */


@media (max-width: 1500px) {
  /* --- Begin style for tableOfContent navbar --- */
    .tableOfContent {
        display: none;
    }
  /* --- End style for tableOfContent navbar --- */
}


@media (max-width: 900px) {
  /* --- Begin general style --- */
  body {
    font-size: 14px;
    padding-top: 20px;
  }

  main {
  flex: 1;
 }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  .page-section {
    padding: 3rem 0;
}

  /* --- End general style --- */

  .image-route {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
  }


  /* --- Begin style for navbar --- */
  .brand-title {
    font-size: 0.8rem;
  }

  .menu-home,.menu-blogs {
    font-size: 0.8em;
    font-weight: 700;
  }
  /* --- End style for navbar --- */


  /* --- Begin style for tableOfContent navbar --- */
    .tableOfContent {
        display: none;
    }
  /* --- End style for tableOfContent navbar --- */


  /* --- Begin style for header carousel with three images and slogans --- */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
  /* --- End style for header carousel with three images and slogans --- */


  /* --- Begin style for header carousel with three images and slogans --- */
  .carousel-slogan {
    font-size: 1.1rem; 
  }

  .carousel-item img {
    height: 180px !important;
  }

  .carousel-caption-custom {
    height: 185px !important;
  }
  /* --- End style for header carousel with three images and slogans --- */


  /* --- Begin style for introduction --- */
  .introduction-img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }

  .signature-text {
    font-size: 20px !important;
  }
  /* --- End style for introduction --- */


  /* --- Begin style for animation --- */
  .start-country,.target-country {
    font-weight: bold;
    font-size: 12px;
  }

  .camper {
    top: 20%;
    font-size: 20px;
  }

  .route-line {
    width: 150px;    
  }

  /* Drive */
  @keyframes driveOneWay {
    0% {
      left: 0px;
      opacity: 1;
    }

    75% {
      left: 120px;
      opacity: 1;
    }

    85% {
      left: 125px;
      opacity: 0;
    }

    100% {
      left: -30px;
      opacity: 0;
    }
  }

  /* --- Begin style for animation --- */


  /* --- Begin style for statistic of the trip --- */
  .container-statistics{
    width: 350px;
  }
  .route-box {
    gap: 5px !important;
  }

  .travel-box {
    height: 125px;
    width: 125px;
    background: #81a1b9;
    color: white;
    transition: all 0.3s ease;
  }
  /* --- End style for statistic of the trip --- */


  /* --- Begin style for country carousel --- */
  .carousel-wrapper {
    max-width: 380px;
    margin: 40px auto;
  }

  .carousel-viewport {
    width: 335px;
    padding: 20px 15px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .carousel-track {
    gap: 25px;
  }

  .country-img,
  .country-fallback {
    width: 100px;
    height: 100px;
  }

  .nav-btn {
    display: none;
  }

  .swipe-text {
  display: flex;
  }
  /* --- End style for country carousel --- */


  /* --- Begin style for blog carousel --- */
  .blog-carousel-card-title{
    font-size: 15px;
  }

  .blog-carousel-card-text{
    font-size: 12px;
  }

  .carousel-blog-img {
    height: 100px !important;
  }

  #blogCarousel .carousel-control-prev-icon,
  #blogCarousel .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
  /* --- End style for blog carousel --- */


  /* --- Begin style for new blog cards --- */
  .card {
    width: 10rem;
    height: 100%;
  }

  .card-title{
    font-size: 15px;
    font-weight: 600;
  }

  .card-text{
    font-size: 12px;
  }

  .card-img-top {
    height: 100px;
  }

  .card-btn {
    display: none;
  }

  .mobile-card-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 5;
  }

  .card-btn {
    position: relative;
    z-index: 10;
  }
  /* --- End style for new blog cards --- */


  /* --- Begin style for breadcrumb --- */
  .nav-breadcrumb{
    font-size: 15px;
  }

  .breadcrumb-title {
    font-size: 15px;
  }

  .nav-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider);
    font-size: 16px;
}
  /* --- End style for breadcrumb --- */


  /* --- Begin style for back-to-top button --- */
  .back-to-top {
    bottom: 60px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  /* --- End style for back-to-top button --- */

  
  /* --- Begin style for navbar --- */
  .dropdown-toggle-split{
    display: none;
  }
  /* --- End style for navbar --- */


  .btn-primary {
  font-size: 0.6rem;
  }

  .carousel-item img {
  height: 25vh; 
  }
}