html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    font-family: 'Montserrat';
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero-banner {
    position: relative;
    /* teljes képernyő magasság */
    min-height: 100vh;
    /* háttérkép */
    background-image: url("/images/Banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    /* belső tartalom kezelés */
    align-items: center;
}

.hero-banner-mobile {
    position: relative;
    /* teljes képernyő magasság */
    min-height: 100vh;
    /* háttérkép */
    background-image: url("/images/Banner_mobile.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    /* belső tartalom kezelés */
    align-items: center;
}

/* dark overlay for readability */
.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* dark overlay for readability */
.hero-banner-mobile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* navbar above overlay */
.hero-navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

/* navbar bal oldali igazítása */
.hero-nav {
    padding-left: 40px;
    padding-right: 40px;
}

/* logo méret */
.hero-logo {
    height: 70px;
    width: auto;
}

/* headline */
.hero-text {
    position: absolute;
    bottom: 80px;
    right: 80px;
    z-index: 2;
    max-width: 950px;
}

.hero-text h1 {
    font-size: 8em;
    font-weight: 600;
    line-height: 1.2;
}

@media screen and (min-width: 1200px) and (max-width: 1660px)
{
    .hero-text h1 {
        font-size: 6em;
        font-weight: 600;
        line-height: 1.2;
    }
}

.hero-text-mobile {
    position: absolute;
    bottom: 10px;
    right: 40px;
    z-index: 2;
    max-width: 950px;
}

.hero-text-mobile h1 {
    font-size: 5em;
    font-weight: 600;
    line-height: 1.2;
}

@media (min-width: 852px)
{
    .hero-text-mobile h1 {
        font-size: 6em;
        font-weight: 600;
        line-height: 1.2;
    }
}

/* CTA button style */
.btn-quote {
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 500;
}

.logo-text {
    font-size: 46px;
    font-weight: 600;
    line-height: 1;
}

.logo-text-mobile {
    font-size: 2.5em;
    font-weight: 600;
    line-height: 1;
}
@media (max-width: 361px)
{
    .logo-text-mobile {
        font-size: 2em;
    }
}

.nav-link:hover{
    color: gray !important;
}

main h1{
    color: #344E41;
    font-weight: bold !important;
}

#whyChooseUse {
    position: relative;
}

#services {
    background-color: #DAD7CD;
    position: relative;
}

#ratings {
    background-color: #344E41;
    position: relative;
}

#references {
    position: relative;
}

@media (min-width: 1200px) {
    #whyChooseUse {
        min-height: 100vh;
    }

    #services {
        min-height: 100vh;
    }

    #references {
        min-height: 100vh;
    }
}

#servicesCarousel {
    margin-top: 50px;
}

@media (max-width: 767px) {
    #servicesCarousel .carousel-inner .carousel-item > div {
        display: none;
    }

        #servicesCarousel .carousel-inner .carousel-item > div:first-child {
            display: block;
        }
}

#servicesCarousel .carousel-inner .carousel-item.active,
#servicesCarousel .carousel-inner .carousel-item-start,
#servicesCarousel .carousel-inner .carousel-item-next,
#servicesCarousel .carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 767px) {

    #servicesCarousel .carousel-inner .carousel-item-right.active,
    #servicesCarousel .carousel-inner .carousel-item-next,
    #servicesCarousel .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(50%) !important;
    }

    #servicesCarousel .carousel-inner .carousel-item-left.active,
    #servicesCarousel .carousel-item-prev:not(.carousel-item-end),
    #servicesCarousel .active.carousel-item-start,
    #servicesCarousel .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-50%) !important;
    }

    #servicesCarousel .carousel-item-next.carousel-item-start,
    #servicesCarousel .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    #servicesCarousel .carousel-inner .carousel-item-prev,
    #servicesCarousel .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-50%) !important;
    }
}

@media (min-width: 992px) {

    #servicesCarousel .carousel-inner .carousel-item-right.active,
    #servicesCarousel .carousel-inner .carousel-item-next,
    #servicesCarousel .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(33.3%) !important;
    }

    #servicesCarousel .carousel-inner .carousel-item-left.active,
    #servicesCarousel .carousel-item-prev:not(.carousel-item-end),
    #servicesCarousel .active.carousel-item-start,
    #servicesCarousel .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-33.3%) !important;
    }

    #servicesCarousel .carousel-item-next.carousel-item-start,
    #servicesCarousel .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    #servicesCarousel .carousel-inner .carousel-item-prev,
    #servicesCarousel .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-33.3%) !important;
    }
}

.carousel-text-holder {
    background-color: #F7F7F5;
}

.carousel-text {
    color: #344E41;
    font-weight: bold;
    font-size: 100%;
}

.review-content {
    max-width: 700px;
}

.review-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author {
    font-size: 0.9rem;
    opacity: 0.8;
}

#references .card-img:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.btn-gallery {
    background-color: #344E41 !important;
}

.btn-gallery:hover {
    background-color: #3A5A40 !important;
}

footer {
    background-color: #3A5A40;
}

footer a:hover {
    color: white !important;
}

footer a:hover {
    color: #EDEDED !important;
}

/* pozicionálás */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    cursor: pointer;
}

/* wrapper animációhoz */
.arrow-wrapper {
    animation: bounce 1.5s infinite;
}

/* nyíl (szár nélküli V alak) */
.arrow-down {
    width: 24px;
    height: 24px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    margin: 0 auto;
}

/* szöveg */
.scroll-text {
    margin-top: 8px;
    font-size: 14px;
    color: white;
}

/* animáció (MOST MÁR CSAK Y irányban) */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* hover -> animáció megáll */
.scroll-indicator:hover .arrow-wrapper {
    animation: none;
}