
.top-bar {
    position: relative;
    height: 75px;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.top-bar .logo {
    text-align: left;
    overflow: hidden;
}

.top-bar .logo h1 {
    margin: -4px 0 0 0;
    color: #E81C2E;
    font-size: 50px;
    line-height: 50px;
    font-weight: 800;
    letter-spacing: 1px;
    font-style: italic;
}

.top-bar .logo h1 span {
    color: #202C45;
}

.top-bar .logo a{
    text-decoration: none;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 60px;
}

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .top-bar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #202C45;
    border-radius: 40px;
}

.top-bar .top-bar-icon i {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

.top-bar .top-bar-text {
    padding-left: 15px;
}

.top-bar .top-bar-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.top-bar .top-bar-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .top-bar .logo {
        text-align: center;
    }
}

.nav-bar {
    position: relative;
    background: #202C45;
}

.nav-bar.nav-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
}

.nav-bar .navbar {
    padding: 20px 0;
    background: #202C45 !important;
    transition: .3s;
}

.nav-bar.nav-sticky .navbar {
    padding: 5px 0;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    padding: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #E81C2E;
}

.nav-bar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

.nav-bar .btn.btn-custom {
    color: #202C45;
    background: #ffffff;
    box-shadow: inset 0 0 0 0 #E81C2E;
}

.nav-bar .btn:hover {
    color: #ffffff;
    background: #E81C2E;
    box-shadow: inset 200px 0 0 0 #E81C2E;
}

@media (min-width: 992px) {
    .nav-bar .navbar-brand {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link:focus,
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        padding: 5px 0;
    }
    
    .nav-bar .dropdown-menu {
        box-shadow: none;
    }
    
    .nav-bar .btn {
        display: none;
    }
}

.btn.btn-custom {
    padding: 10px 30px 12px 30px;
    text-align: center; 
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: #E81C2E;
    border: none;
    border-radius: 60px;
    box-shadow: inset 0 0 0 0 #202C45;
    transition: ease-out 0.5s;
    -webkit-transition: ease-out 0.5s;
    -moz-transition: ease-out 0.5s;
}

.btn.btn-custom:hover {
    color: #E81C2E;
    background: #202C45;
    box-shadow: inset 200px 0 0 0 #202C45;
}

.btn.btn-custom {
    padding: 20px 45px 22px 45px;
    color: #ffffff;
}

.btn.btn-custom:hover {
    color: #E81C2E;
}

/*btn-custom2*/
.btn.btn-custom2 {
    padding: 10px 10px 12px 10px;
    text-align: center; 
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: #E81C2E;
    border: none;
    border-radius: 60px;
    box-shadow: inset 0 0 0 0 #202C45;
    transition: ease-out 0.5s;
    -webkit-transition: ease-out 0.5s;
    -moz-transition: ease-out 0.5s;
}

.btn.btn-custom2:hover {
    color: #E81C2E;
    background: #202C45;
    box-shadow: inset 200px 0 0 0 #202C45;
}

.btn.btn-custom2 {
    padding: 10px 25px 12px 25px;
    color: #ffffff;
}

.btn.btn-custom2:hover {
    color: #E81C2E;
}


.welcome-hero {
    position: relative;
    background: url(img/fejlec.png) no-repeat center center;
    background-size: cover;
    z-index: 1;
    padding: 100px 0; /* Adjunk egy kis padding-ot, hogy a szöveg ne érintkezzen közvetlenül a tetejével */
}

.welcome-hero:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 45, 84, 0.60); /* Sötét szín, hogy jobban kiemelje a szöveget */
    z-index: 1;
}

.sotet {
    position: relative;
    overflow: hidden;
}

.sotet img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sotet .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none; /* Ne akadályozza a kattintást */
}

.welcome-hero-txt {
    position: relative; /* Hogy a szöveg felül legyen a háttéren */
    color: #fff;
    text-align: center;
    z-index: 10; /* Ez felül legyen a szürke átlátszó háttéren */
    padding: 150px 0; /* Középre pozicionálja a szöveget */
}

.welcome-hero-txt h2 {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 45px;
}

.welcome-hero-txt p {
    font-size: 18px;
    font-weight: 500;
    margin: 0 auto;
    max-width: 735px;
    line-height: 1.6;
}

.welcome-btn {
    display: inline-block;
    width: 230px;
    height: 60px;
    background: #4e4ffa;
    color: #fff;
    border-radius: 3px;
    margin-top: 55px;
    transition: 0.3s linear;
}

.welcome-btn:hover {
    background: #393942;
    color: gold;
}

@media (max-width:800px) {
    .welcome-hero-txt {
        position: relative; /* Hogy a szöveg felül legyen a háttéren */
        color: #fff;
        text-align: center;
        z-index: 10; /* Ez felül legyen a szürke átlátszó háttéren */
        padding: 30px 0; /* Középre pozicionálja a szöveget */
    }
    
    .welcome-hero-txt h2 {
        font-size: 20px;
        font-weight: 400;
        text-transform: uppercase;
        margin-bottom: 20px;
    }
    
    .welcome-hero-txt p {
        font-size: 14px;
        font-weight: 200;
        margin: 0 auto;
        max-width: 650px;
        line-height: 1.6;
    }
    
}

.infobox {
    padding: 40px 0;
    background: #fff; /* Félig átlátszó háttér */
    box-shadow: 0 10px 40px 0px rgba(38,40,64,.2);
    position: absolute;
    bottom: -100px; /* A szekció alján belógó pozíció */
    left: 50%;
    transform: translateX(-50%); /* Középre igazítja */
    width: 65%; /* Csökkentett szélesség */
    border-radius: 3px;
    z-index: 2; /* Az infobox a szöveg felett */
}

.infobox p {
    margin: 0;
    padding: 25px;
    font-size: 18px;
    color: #333;
    text-align: center;
}

@media (max-width:800px) {
    .infobox {
        padding: 40px 0;
        background: #fff; /* Félig átlátszó háttér */
        box-shadow: 0 10px 40px 0px rgba(38,40,64,.2);
        position: relative;
        bottom: -100px; /* A szekció alján belógó pozíció */
        left: 50%;
        transform: translateX(-50%); /* Középre igazítja */
        width: 65%; /* Csökkentett szélesség */
        border-radius: 3px;
        z-index: 2; /* Az infobox a szöveg felett */
    }
    
    .infobox p {
        margin: 0;
        padding: 25px;
        font-size: 18px;
        color: #333;
        text-align: center;
    }
    
}

@media (max-width:500px) {
    .infobox {
       display: none;
    }
    
}

.about{
   min-height: 900;
   padding: 50px;
   margin-bottom: 20px;
}

/* Page-header*/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 55px 0;
    text-align: center;
    background: #202C45;
    border-top: 1px dotted #ffffff;
}

.page-header h2 {
    position: relative;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #ffffff;
}

.page-header a {
    position: relative;
	text-decoration: none;
    padding: 0 12px;
    font-size: 12px;
    color: #ffffff;
}

.page-header a:hover {
    color: #E81C2E;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 45px;
    }
    
    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}

.galeria {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .kepkartya {
            width: calc(25% - 10px);
            box-sizing: border-box;
        }
        .kepkartya img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }
        @media (max-width: 768px) {
            .kepkartya {
                width: calc(50% - 10px);
            }
        }
        @media (max-width: 480px) {
            .kepkartya {
                width: 100%;
            }
        }

/* Fotter*/
.footer {
  color: #FFF;
  background-color: #000910;
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, #e81c2e), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 5px;
  font-family: arial;
  color: #e81c2e;
}

.footer-about a{
	text-decoration: none;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: Arial;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, #FFF, transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, #e81c2e, transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: #e81c2e;
  border-color: #e81c2e;
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: #e81c2e;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, #fff, transparent 30%);
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: #e81c2e;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, #fff, transparent 80%);
  display: flex;
  background-color: #000910;
  transition: 0.3s;
}
.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, #e81c2e), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}
.footer .copyright a {
 color: #e81c2e;
 text-decoration: none;
}
.footer .copyright a:hover{
	color: #fff;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}
/* Fotter End*/

/*Görgetés*/
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e81c2e;
  color: white;
  border-radius: 20%;
  padding: 10px;
  font-size: 1.5rem;
  display: none; /* Alapból nem látszik */
  z-index: 1000; /* Biztosítjuk, hogy mindig az oldal tetején legyen */
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #202c45;
}

.lead {
    font-size: 21px;
    font-weight: 300;
    padding: 0 0 40px;
    margin: 0;
    line-height: inherit;
    color: #ffffff;
}

.message-box h4 {
    text-transform: uppercase;
    padding: 0;
    margin: 0 0 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 15px;
    color: #999;
}

.message-box h2 {
    font-size: 28px;
    font-weight: 500;
    padding: 0 0 10px;
    margin: 0;
    line-height: 62px;
    margin-top: 0;
    text-transform: none;
}

.message-box p {
    margin-bottom: 20px;
}

.message-box .lead {
    padding-top: 10px;
    font-size: 19px;
    font-style: italic;
    color: #999;
    padding-bottom: 0;
}

.img-custom{
	width: 100%;
	height: 250px;
	border-radius: 15px;
}

a{
	text-decoration: none;
}

a:hover{
	color: #202c45;
}