@import url(hero-style.css);
@import url(hover.css);
@import url(products.css);
@import url(shop.css);

html, body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

:after,
:before,
* {
    box-sizing: border-box;
}

a {
    color: #01693a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.bg-fresh-box{
    background-color: #01693a;
    border-color: #01693a;
    color: #fff;
}

.container {
    width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

a.btn{
    text-decoration: none;
}

.btn:focus-visible{
    background-color: transparent;
}

.btn-primary{
    text-decoration: none;
    background-color: #01693a;
    border-color: #01693a;
}

.btn-primary:focus,  .btn-primary:hover,  .btn-primary:active{
    text-decoration: none;
    background-color: #014627 !important;
    border-color: #014627 !important;
}

.btn-outline-primary,
.btn-outline-primary:focus{
    text-decoration: none;
    border-color: #01693a;
    color: #01693a;
}

.btn-outline-primary:hover{
    text-decoration: none;
    border-color: darkorange;
    background-color: darkorange;
}

.btn-outline-primary.active,
.btn-outline-primary:active{
    text-decoration: none;
    border-color: darkorange !important;
    background-color: darkorange !important;
}

.nav-pills .nav-link{
    color: #014627 !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link,
.nav-pills .nav-link.active, .nav-pills .show>a.nav-link{
    background-color: #014627 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.form-input-quantity .input-group-text,
.form-input-quantity-modal .input-group-text{
    font-size: 12px !important;
}

.form-input-quantity .form-control,
.form-input-quantity-modal .form-control{
    width: 70px;
    flex: unset !important;
}

.form-input-quantity-modal .form-control{
    width: 80px;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.top-bar .top-bar-link i {
    margin-right: 5px;
    color: #6c757d;
}

.top-bar a.top-bar-link {
    color: #6c757d;
    text-decoration: none;
    margin-left: 15px;
}

.top-bar a.top-bar-link:hover {
    color: #000;
}

.top-bar .dropdown-item{
    text-decoration: none;
}

.top-bar .dropdown-item.active, .top-bar .dropdown-item:active {
    color: white;
    text-decoration: none;
    background-color: #01693a;
}

/* Main Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.navbar-brand {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    color: #000 !important;
    line-height: 1.2;
    padding: 10px 0;
    display: inline-block;
}

.navbar-brand:hover{
    text-decoration: none;
}

.navbar-brand h1 {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

.navbar-brand .navbar-logo{
    width: 100%;
    max-width: 129px;
    height: auto;
    max-height: 62px;
}

.tagline {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #222;
    margin-top: 5px;
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    height: 42px;
    border: 2px solid #f0f0f0;
    border-radius: 21px;
    padding: 0 45px 0 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #01693a;
    box-shadow: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 32px;
    height: 32px;
    border: none;
    background: #01693a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #333;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
}

.header-icon i {
    font-size: 20px;
    margin-bottom: 3px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navigation */
.main-navigation {
    background-color: #01693a;
    padding: 12px 0;
}

.main-navigation .nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-item {
    margin-right: 25px;
    position: relative;
}

.main-navigation .nav-link {
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link.active {
    color: #fff;
}

.main-navigation .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s;
}

.main-navigation .nav-link:hover:after,
.main-navigation .nav-link.active:after {
    width: 100%;
}

.back-to-top {
    display: none;
    width: 48px;
    height: 48px;
    line-height: 42px;
    border: 1px solid #01693a;
    border-radius: 10px;
    cursor: pointer;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 999;
    text-align: center;
    font-size: 30px;
    color: white;
    background: #01693a;
}

.back-to-top:hover {
    outline: none;
    background: #01693a;
    color: #FFF;
}

.slider {
    position: relative;
}

.carousel-inner {
    height: 400px;
}

.slider .carousel-item {
    height: 400px;
    background: #01693a;
    border-radius: 30px;
}

/* Kép stílusok */
.slider .carousel-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
}

.slider .carousel-control-prev-icon,
.slider .carousel-control-next-icon {
    width: 50px;
    height: 50px;
}

.slider .carousel-caption{
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 30px;
}

.slider .carousel-caption h5{
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.main-banner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 200px;
    background: url("../images/bg.svg") no-repeat center center;
    background-size: cover;
    justify-content: center;
    align-items: center;
}

.main-banner h1 {
    font-size: 28px;
    color: #222222;
    margin: 0;
}

.breadcrumb {
    margin-top: 5px;
    margin-bottom: 0;
}

.content {
    padding: 25px 0;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    color: #222222;
}

.main-navigation .tel-block a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.main-navigation .tel-block .tel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 10px;
    color: #01693a;
}

.main-navigation .dropdown .btn{
    text-transform: uppercase;
    background-color: #01693a;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
}

.main-navigation .dropdown .dropdown-item{
    border-bottom: 1px solid #e9ecef;
}

.main-navigation .dropdown li:last-child .dropdown-item{
    border-bottom: none;
}

.main-navigation .dropdown .dropdown-item:focus,
.main-navigation .dropdown .dropdown-item:hover {
    color: #fff;
    background-color: #01693a;
    text-decoration: none;
}

footer {
    width: 100%;
    background-color: #262626;
}

footer .container{
    background-color: #262626;
    color: #fff;
}

footer .footer-nav-link{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

footer .footer-nav-link:focus,
footer .footer-nav-link:hover {
    color: #fff;
    text-decoration: underline;
}

footer .copy{
    font-size: 12px;
}

.google-map{
    width: 100%;
}

.google-map iframe{
    margin-bottom: -7px;
}

form .form-label{
    margin-bottom: 0;
}

.contact-page .card-header h3,
.contact-page .card-header p{
    margin-bottom: 0;
}

.contact-page .card-header h3{
    font-weight: 700;
}

.main-products{
    padding: 40px 0;
}

.main-cards{
    margin-bottom: 40px;
}

.main-cards .card{
    background: url("../images/box-bg.png") no-repeat center center;
    background-size: cover;
    border: none;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.main-cards .main-card-img{
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.main-cards .main-card-text{
    padding-right: 15px;
}

.main-cards .card-body h3{
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.main-cards .card-body p{
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    color: #fff;
}

.main-cards .card-body ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-cards .card-body ul li{
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #fff;
}

.main-cards .main-card-btn{
    border: 1px solid #fff;
    color: #fff;
}

.main-cards .main-card-btn:hover{
    text-decoration: none;
    border-color: darkorange;
    color: darkorange;
}

@media (max-width: 1200px) {
    .main-cards .main-card-text p {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    footer .container{
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .language-switcher{
        display: none;
    }

    .header-icons {
        justify-content: center;
        margin-top: 15px;
    }

    .search-container {
        margin: 15px auto;
    }

    .main-navigation .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-navigation .nav-item {
        margin: 5px 10px;
    }
}

@media (max-width: 768px) {
    .product-card .product-image img {
        height: 350px;
    }

    .main-products-header h2 {
        font-size: 20px;
    }
}
