@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700;900&display=swap');

:root {
    --background-color: #f7f8fa;
    --primary-color: #d1d5db;
    --secondary-color: #9ca3af;
    --accent-color: #4b5563;
    --text-color: #374151;
    --navbar-color: rgba(200, 200, 200, 0.9);
    --links-color: #007bff;
    --links-hover-color: #0056b3;     
}

* {
    box-sizing: border-box
}

html {
    scroll-padding-top: 400px;
}
  
body {
    font-family: 'Roboto', sans-serif !important;
    margin: 0;
    background-color: var(--background-color) !important;
}

/* Navbar items + BtT Button */
.container-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand, .navbar-collapse {
    flex: 1;
}

.logo-small {
    width: 70px; /* Állítsd be a megfelelő méretet */
    height: 70px;
    margin-right: 10px; /* Tarts megfelelő távolságot a szövegtől */
    border-radius: 50%; /* Kerek logó */
}


.navbar {
    background-color: var(--navbar-color);
    box-shadow: 5px 5px 5px 5px #4b5563;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    text-align: center;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 500;
    text-shadow: 5px 5px 5px gray;
    letter-spacing: 1px;
    
}

.navbar .container-navbar .navbar-brand {
    letter-spacing: 1px;
    font-size: 30px;
    margin: 0 20px;
    color: var(--text-color);
}

.navbar .navbar-nav .nav-item::after {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: "";
    background-color: black;
    width: 0%;
    height: 2px;
    transition: all 0.5s;
}

.navbar .navbar-nav .nav-item:hover::after {
    width: 100%;
}

.navbar .navbar-nav .nav-item .nav-link.active::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: 0 auto;
  content: "";
  background-color: black;
  width: 100%;
  height: 2px;
  transition: all 0.5s;
}

.navbar .navbar-toggler {
    box-shadow: 5px 5px 5px gray;
    transition: box-shadow 0.5s ease;
}

.navbar .navbar-toggler:hover {
    box-shadow: 5px 5px 5px black;
}

.dropdown-menu {
    color: black;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
}

.dropdown-menu .dropdown-item {
    background-color: var(--navbar-color);
}

.dropdown-menu .dropdown-item:hover {
    background-color:var(--background-color);
    color: var(--text-color);
}

/*Hamburger Menu*/
@media screen and (min-width: 992px) {
    .navbar {
      padding: 0;
    }
    .navbar .navbar-nav .nav-link {
      padding: 1em 0;
      margin: auto;
    }
    .navbar .navbar-nav .nav-item {
      margin: 0 1em;
    }
    .dropdown-menu {
        background-color: rgba(255, 255, 255, .7) !important;
    }
    .navbar .navbar-toggler {
        box-shadow: 5px 5px 5px gray;
        transition: box-shadow 0.5s ease;
    }
  }

/*Back to Top Button*/
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Nyíl középre igazítása és sima méretezés */
#scrollToTopBtn svg {
  width: 28px;
  height: 28px;
  stroke: white;
  display: block;
}

#scrollToTopBtn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

/* Extra: kisebb méret mobilon */
@media (max-width: 576px) {
  #scrollToTopBtn {
    width: 46px;
    height: 46px;
  }

  #scrollToTopBtn svg {
    width: 22px;
    height: 22px;
  }
  .navbar .container-navbar .navbar-brand {
    font-size: 18px;
}
}

/* Slider items */
#hero-carousel {
  position: relative;
}

.c-item {
    height: 700px;
}
  
.c-img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.carousel-caption .btn {
    background-color: transparent;
    border: .11rem solid white;
    transition: background-color 0.5s ease;
}

.carousel-caption .btn:hover {
    background-color: rgba(255, 255, 255,.2);
    border: .11rem solid white;
}

.carousel-caption .btn:active {
    background-color: #ccc !important;
    border: none;
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .carousel-caption .btn {
        margin-top: 1rem !important;
    }

    #hero-carousel .carousel-inner {
        height: 50vh;
    }

    .carousel-item img {
        width: 50vw;
    }

    .c-item {
        height: 45vh;
    }
    
    .c-img {
        height: 50vh;
    }
}
/*Filter Menu Items*/
/* Mobile: Horizontal Scrollmenu */
.attraction-nav-mobile {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  display: flex; 
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  z-index: 999;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.attraction-nav-mobile::-webkit-scrollbar {
  display: none;
}

.attraction-nav-mobile.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-menu {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-menu::-webkit-scrollbar {
  display: none;
}

.scroll-menu a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 15px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  border: .11rem solid white;
  border-radius: 15px;
  background-color: rgba(0, 0, 0,.5);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.scroll-menu a:hover,
.scroll-menu a.active {
  font-weight: 600;
  text-decoration: none;
}

/* Desktop: Sidebar Items */
.sidebar {
  position: fixed;
  top: 100px;
  height: calc(100vh - 30px);
  left: 0;
  width: 80px;
  height: 100vh;
  background: var(--navbar-color);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 999;
  box-shadow: 5px 5px 5px 5px #4b5563;
  margin-right: 20px;

}

.sidebar.visible {
  transform: translateX(0);
}

.sidebar.active {
    width: 240px;
}

.sidebar .logo-content .logo {
    display: flex;
    align-items: center;
    color: var(--text-color);
    width: 100%;
    height: 50px;
    pointer-events: none;
    opacity: 0;
    transition: .3s ease;
}

.sidebar.active .logo-content .logo {
    transition-delay: .2s;
    opacity: 1;
}

.logo-content .logo i {
    font-size: 28px;
    margin-right: 5px;
    margin-top: 10px;
    padding: 0 5px;
}

.logo-content .logo h3 {
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
}

.sidebar #btn {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-color);
    font-size: 20px;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.sidebar.active #btn {
    left: 90%;

}

.sidebar ul {
    margin-top: 20px;
    padding-left: .5rem;
    padding-right: 1rem;
}

.sidebar ul li {
    position: relative;
    width: 100%;
    height: 50px;
    list-style: none;
    margin: 5px 0;
    line-height: 50px;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: .5s ease;
}

.sidebar ul li::after {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: "";
    background-color: black;
    width: 0%;
    height: 2px;
    transition: all 0.5s;  
}

.sidebar ul li:hover::after {
    width: 100%;
}

.sidebar ul .list-item.active::after {
    width: 100%;
}

.sidebar ul li i {
    min-width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.sidebar .links-name {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.sidebar.active .links-name {
    transition-delay: .2s;
    opacity: 1;
    pointer-events: auto;
}

.sidebar ul li .tooltip {
    position: absolute;
    top: 0;
    left: 170px;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 35px;
    background: var(--navbar-color);
    color: var(--text-color);
    border-radius: 6px;
    border: .1px solid black;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    text-align: center;
    line-height: 35px;
    pointer-events: none;
    opacity: 0;
}

.sidebar ul li:hover .tooltip {
    transition: .5s ease;
    top: 50%;
    opacity: 1;
}

.sidebar.active ul li .tooltip {
    display: none;
}

@media (max-width: 800px) {
  .sidebar {
    display: none;
  }

  .attraction-nav-mobile {
    display: flex;
  }
}

@media (min-width: 800px) {
  .attraction-nav-mobile {
    display: none;
  }
}

/*Attractions Items*/
.attraction {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 40px;
    text-align: justify;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
}

.text-block {
    flex: 1;
    max-width: 65%;
}

.small-img {
    flex: 0 0 auto;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

.city-section {
    margin: 150px 0 !important;
}

.attractionSwiper {
    width: 80%;
    height: auto;
    margin-top: 100px;
}

.attractionSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

.attractionSwiper .swiper-slide img {
    width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
}

.attractionSwiper .swiper-button-next,
.attractionSwiper .swiper-button-prev {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    color: var(--text-color);
}

.attractionSwiper .swiper-button-next:hover,
.attractionSwiper .swiper-button-prev:hover {
    color: var(--primary-color);
}

.slide-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 5px;
    text-align: center;
    width: auto;
}

.swiper-slide {
    position: relative;
}

.separator {
    margin: 50px auto;
    width: 80%;
    height: 2px;
    background-color: #ddd;
}

/*Picture Keen Slider*/
.zoom-out {
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .zoom-out {
    height: auto;
    max-height: 900px;
  }
}

.zoom-out__slide div {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.slide-inner {
  position: relative;
  overflow: hidden;
}

.caption-overlay {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  z-index: 2;
  box-sizing: border-box;
  text-align: center;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s ease;
}

.caption-overlay:hover {
  background: rgba(0, 0, 0, 0.75);
}

.zoom-out__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Tablet view */
@media (max-width: 1024px) {
    .intro {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .text-block {
        max-width: 80%;
    }
    .small-img {
        width: 250px;
        height: auto;
    }
}

/* Mobile view */
@media (max-width: 768px) {
    .attraction {
        padding: 0 10px;
    }
    .attraction .attraction-title {
        font-size: 1.8rem;
        margin-top: 10px !important;
    }
    .attraction h2 {
        font-size: 1.3rem;
        text-align: center;
        margin-top: 20px;
        margin: 20px 0 !important;
    }
    .attraction h3 {
        font-size: 1.1rem;
    }
    .intro {
        display: block;
        text-align: center;
    }
    .intro ul li {
        font-size: .9rem;
    }
    .text-block {
        max-width: 100%;
    }
    .text-block p {
        font-size: .9rem;
        text-align: justify;
    }
    .city-section {
        margin: 20px 0 !important;
    }
    .city-section p {
        font-size: .9rem;
        text-align: justify;        
    }
    .city-section ul li {
        font-size: .9rem;
    }
    .epilogue p {
        font-size: .9rem !important;
    }
    .small-img {
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }
    .slide-caption {
        font-size: 14px;
        padding: 6px 10px;
    }
    .no-justify {
        text-align: start;
    }
}

/*Footer Items*/
footer {
    font-size: 14px;
    color: #6c757d;
}

footer a {
    text-decoration: none;
    color: var(--links-color);
}

footer a:hover {
    color: var(--links-hover-color);
    font-weight: bold;
}

footer a i {
    color: var(--text-color);
}

footer a i:hover {
    color: var(--secondary-color);
}