@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&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, body {
    overflow: visible;
    margin: 0;
    height: 100%;
    width: 100%;
}

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;
}
}

.custom-section {
    height: 100vh;
    display: grid;
    place-items: center;
}

/* Slider items */
#hero-carousel .carousel-inner {
    height: 90vh;
    width: 100vw;
}

#myMadeira {
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 100px;
}

.carousel-item img {
    width: 90vw;
    object-fit: cover;
}

.c-item {
    height: 90vh;
}
  
.c-img {
    height: 90vh;
    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;
    }
}
/* Weather App Items */

.weather-app {
    width: 100vw;
    height: auto;
    padding: 10px 0;
    text-align: center;
    background-color: transparent;
}

/* Title Items */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-text h1 {
    font-size: clamp(2rem, 8vw, 7.5rem);
}

.hero-text  {
    color: white;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: bold;
}

@media (max-width: 768px) {
    .video-container {
        height: 80vh;
        min-height: 350px;
    }
}

.hero-text a {
    background-color: transparent;
    border: .11rem solid white;
    color: var(--background-color);
    transition: background-color 0.5s ease;
}

.hero-text a:hover {
    background-color: rgba(255, 255, 255,.3);
    border: .11rem solid gray;
}

.hero-text a:active {
    background-color: #ccc !important;
    border: none;
    transform: scale(0.95);
}

/* Main Heading Items */
.main-heading-wrapper {
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.main-heading {
    color: #333;
    text-transform: uppercase;
    margin: 0;
    font-weight: 100 !important;
}

.main-heading-wrapper::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #333;
    margin: 0 auto 10px;
}

/* Linked card slider Items Items */
.swiper-container {
    margin: 0;
    width: 100%;
    overflow: hidden;
}
    
.custom-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
    border-radius: 5px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    margin-bottom: 20px;
}

.custom-card h5 i {
    margin-right: 10px;
}
    
.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
  
.custom-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.custom-card h5 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}
  
.custom-card p {
    font-size: 1rem;
    color: #666;
}
  
.custom-card a {
    background-color: transparent;
    border: .11rem solid black;
    color: var(--text-color);
    transition: background-color 0.4s ease-in-out, border 0.4s ease-in-out;
}
  
.custom-card a:hover {
    background-color: rgba(0, 0, 0,.3);
    border: .11rem solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.custom-card a:active {
    background-color: #ccc !important;
    border: none;
    transform: scale(0.95);
}

.custom-section .narrows {
    display: none;
}

@keyframes glow {
    0% {
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    50% {
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
}
    
@media (max-width: 768px) {
    .custom-section {
      height: 100%;
      display: grid;
      place-items: center;
      margin: 50px 0;
    }
    .custom-card {
      padding: 15px;
    }
    .custom-card h5 {
      font-size: 1.2rem;
    }
  
    .custom-card p {
      font-size: 0.9rem;
    }
    .custom-section .narrows {
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin: 0 auto
    }
    .custom-section .narrows .left {
        margin-right: 20px;
    }
    .custom-section .narrows .right {
        margin-left: 20px;
    }
}
  
/* News Items */
.news-scroll {
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    padding: 10px;
    cursor: grab;
    scrollbar-width: none;
}

#news-container {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.news-scroll::-webkit-scrollbar {
    display: none;
}

.news-list {
    display: flex;
    gap: 10px;
}

.news-item {
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 250px;
    max-width: 600px;
    flex: 0 0 auto;
    flex-shrink: 0;
    overflow: hidden;
    white-space: normal;
}

.news-item .custom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-item img {
    max-width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.news-item h5 {
    font-size: 1.2rem;
}

.news-item p {
    font-size: 1rem;
}

.news-item .open-modal {
    background-color: transparent;
    border: .11rem solid black;
    color: var(--text-color);
    transition: background-color 0.4s ease-in-out, border 0.4s ease-in-out;
}
 
.news-item .open-modal:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border: .11rem solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);

}

.news-item .open-modal:active {
    background-color: #ccc !important;
    border: none;
    transform: scale(0.95);
}

#modalAuthor,
#modalSource {
  display: none;
}

@media (max-width: 768px) {
    .news-item {
        width: 90%;
        min-width: 250px;
        height: auto;
    }

    .open-modal {
        position: relative;
        bottom: 10px;
        margin-top: auto;
    }

    .main-heading-wrapper {
        padding-top: 5px !important;
        padding-bottom: 0 !important;
        margin-bottom: 20px !important;
        margin-top: 20px !important;
    }

    #news-container {
        padding-top: 0;
        margin-top: 0;
    }
}

/* Instagram Feed Items */
#insta-section {
    margin-bottom: 200px;
} 

/* Maps Items */
#map-section {
    margin-top: 200px;
}

#map-container {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.custom-popup {
    text-align: center;
    max-width: 300px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

.custom-popup img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    #map-container #map {
        height: 300px !important;
    }
    #insta-section {
        margin-bottom: 50px;
    } 
    #map-section {
        margin-top: 70px;
    }
    .custom-popup {
        height: 200px;
    }
      .gm-style-mtc {
    display: none !important;
  }
}

/*Contacts Items*/
.row .btn {
    background-color: transparent;
    border: .11rem solid black;
    color: var(--text-color);
    transition: background-color 0.4s ease-in-out, border 0.4s ease-in-out;
}

.row .btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border: .11rem solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.row .btn:active {
    background-color: #ccc !important;
    border: none;
    transform: scale(0.95);
}

#customSuccessModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: auto;
    padding: 25px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border-radius: 14px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 18px;
    z-index: 1050;
}

.custom-modal-content {
    position: relative;
}

.custom-close-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff4d4d;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.custom-close-btn:hover {
    background: #ff1a1a;
    transform: scale(1.05);
}

.contact-form-box {
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  background-color: #fff;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    font-size: 20px;
    color: #333;
}

.contact-info a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.contact-info a:hover {
    color: #0056b3;
}

@media screen and (max-width: 768px) {
  #main-heading-h2 {
    font-size: 30px !important;
  }

  .auto-height-section {
  height: auto !important;
  display: block !important;
}
} 
@media (min-width: 992px) {
  #contactForm {
    max-width: 680px;
  }
}

/*Footer Items*/
footer {
    font-size: 14px;
    color: #6c757d;
    position: fixed;
    bottom: -100px;
    width: 100vw;
    background: #f8f9fa;
    padding: 10px 0;
    transition: bottom 0.5s ease-in-out;
}

footer.visible {
    bottom: 0;
}

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);
}






