body {
    font-family: 'Montserrat', sans-serif;
}

.section-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.rating i {
    color: #ffc107;
}

footer {
    background-color: #212529;
    color: white;
}

.link-hover {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    color: #212529;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Animált aláhúzás */
.link-hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00b4d8, #0077b6);
    /* kék színátmenet */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease, opacity 0.3s;
    opacity: 0;
    border-radius: 1px;
}

/* Hover effekt */
.link-hover:hover {
    color: #0077b6;
}

.link-hover:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Aktív link (pl. ha az aktuális oldalhoz tartozik) */
.link-hover.active {
    color: #0077b6;
}

.link-hover.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.btn-success {
    background-color: #11a30d !important;
    border-color: #11a30d !important;
}

.btn-outline-success {
    color: #11a30d !important;
    border-color: #11a30d !important;
}

.btn-outline-success:hover {
    background-color: #11a30d !important;
    color: #fff !important;
}

/* Háttérszín */
.bg-primary {
    background-color: #0a6ea5 !important;
}

/* Szövegszín */
.text-primary {
    color: #0a6ea5 !important;
}

/* Szegély */
.border-primary {
    border-color: #0a6ea5 !important;
}

/* Gomb */
.btn-primary {
    background-color: #0a6ea5 !important;
    border-color: #0a6ea5 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #094265 !important;
    /* sötétebb árnyalat */
    border-color: #094265 !important;
    color: #fff !important;
}

.logo_text {
    color: #0a6ea5
}

.shop-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.shop-card:hover {
    transform: translateY(-3px);
}

.shop-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.item_description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    box-orient: vertical;
    line-clamp: 4;

    overflow: hidden;
    text-overflow: ellipsis;
}

.details_link {
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.details_link:hover {
    color: #084298;
    transform: translateX(4px);
}

.double_line_height {
    height: 3.2rem;
}

i.bi.bi-geo-alt-fill {
    color: #084298;
}

i.bi.bi-calendar-event {
    color: #11a30d;
}

.card-img-fixed {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.text-truncate-2 {
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.link-hover-move {
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-hover-move:hover {
    transform: translateX(4px);
}

.item-highlight {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.item-highlight:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.img-zoom-wrapper {
    overflow: hidden;
    border-radius: 0.5rem;
}

.zoom-img {
    transition: transform 0.4s ease;
}

.img-zoom-wrapper:hover .zoom-img {
    transform: scale(1.05);
}

.custom-breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.custom-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    padding: 0 0.5rem;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #0a6ea5;
    text-decoration: none;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.hamburger-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.gallery img {
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.03);
}

.gallery {
    gap: 1.4rem !important;
}

.shop-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-info img {
    height: 20px;
}

.service-columns {
    column-count: 4;
    column-gap: 2rem;
}

.service-box {
    break-inside: avoid;
}

.forecast-container {
    display: flex;
    gap: 16px;
    font-family: sans-serif;
}

.forecast-day {
    border-right: 1px solid #eee;
    padding: 10px;
    flex: 1;
    text-align: center;
}

.forecast-day:last-child {
    border-right: none;
}

.weather-icon {
    height: 48px;
    margin-bottom: 6px;
    margin-top: 6px;
}

.meta-icon {
    width: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.meta {
    font-size: 14px;
    margin-top: 4px;
    color: #444;
}

.temperature {
    font-size: 24px;
    font-weight: bold;
}

.weather_description {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.rounded-lg {
    border-radius: 20px;
}

.fish-carousel::-webkit-scrollbar {
    height: 6px;
}

.fish-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.fish-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.custom-link {
    color: inherit;
    text-decoration: none;
}

.service_type {
    height: 50px;
}

.custom-link:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

#map {
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.usp_box img {
    width: 40px;
}

.fish_type_container {
    width: 160px;
    height: 130px;
}

img.fish_type {
    max-width: 100%;
    height: 65px;
    object-fit: contain;
}

.spot-image {
    height: 200px;
    object-fit: cover;
}

.map-container {
    height: 100%;
    min-height: 400px;
}

.header_section {
    height: 60vh;
    background-size: cover !important;
    background-position: center !important;
}

.event_box {
    background-size: cover !important;
    background-position: center !important;
}

ul#search-results {
    z-index: 1000;
}

.header_section h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.custom-border {
    border-width: 1.5px;
}

.search-container {
    max-width: 500px;
}

.services-dropdown {
    min-width: 300px;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.fish-dropdown {
    min-width: 250px;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.scrollable-dropdown {
    min-width: 250px;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.blog_image {
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

.text_body {
    text-align: justify;
}

.map_spot {
    max-width: 200px;
    height: auto;
    margin-bottom: 5px;
}

.leaflet-popup-content {
    width: auto !important;
    max-width: 250px;
    min-width: 150px;
}

.leaflet-popup-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.distance-filter {
    min-width: 260px;
}

.distance-range {
    width: 150px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

@media (max-width: 767px) {

    .usp_box img {
        width: 25px;
    }

    .service_type {
        height: 45px;
    }

    .weather-icon {
        height: 30px;
    }

    .recommened_holder span {
        text-align: left;
    }

    .service-columns {
        column-count: 1 !important;
    }

    h1.w-50 {
        width: 100% !important;
    }

    #mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 1rem;
        z-index: 1000;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        transition: all 0.3s ease;
    }

    #mainNav.show {
        display: flex !important;
    }

    #mainNav a {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: background-color 0.2s;
    }

    #mainNav a:hover {
        background-color: #f0f0f0;
    }
}