* {
    box-sizing: border-box;
}

a,
a:visited {
    color: #2e6f6a;
    text-decoration: none;
}

a:hover {
    color: #1f5f5a;
    text-decoration: underline;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #eef7ee, #d9f1d4, #b2e2b2);
    color: #2e6f6a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
    color: #2e6f6a;
}

.navbar.bg-white {
    background: rgba(255, 255, 255, 0.68) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 14px rgba(60, 120, 90, 0.08);
    border-bottom: 1px solid rgba(46, 111, 106, 0.08) !important;
    position: relative;
    z-index: 1050;
}

.navbar-brand {
    gap: 0.5rem !important;
    display: flex;
    align-items: center;
    min-width: 0;
}

.navbar-brand img {
    width: auto;
    height: 64px;
    max-width: 100%;
    display: block;
}

.navbar-brand span {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #ffcb05;
    -webkit-text-fill-color: #ffcb05;
    text-shadow:
        2px 2px 0 #2a75bb,
        -2px -2px 0 #2a75bb,
        2px -2px 0 #2a75bb,
        -2px 2px 0 #2a75bb;
    letter-spacing: 1px;
    font-size: 1.9rem;
    line-height: 1;
}

.navbar .nav-link {
    color: #2e6f6a;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    transition: 0.2s ease;
}

.navbar .nav-link:hover {
    background: rgba(127, 207, 122, 0.14);
    color: #2e6f6a;
    text-decoration: none;
}

.navbar .nav-link.active {
    background: rgba(127, 207, 122, 0.24);
    color: #2e6f6a !important;
    box-shadow: inset 0 0 0 1px rgba(127, 207, 122, 0.3);
}

.navbar > .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-toggler {
    flex-shrink: 0;
}

header.bg-white {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding-top: 2.8rem !important;
    padding-bottom: 2.2rem !important;
}

header::after {
    content: "";
    display: block;
    height: 40px;
    margin-top: 1.5rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(201, 227, 198, 0.35) 100%
    );
    pointer-events: none;
}

header .row {
    justify-content: center;
}

header .col-lg-8 {
    max-width: 980px;
    text-align: center;
}

.main-hero-title {
    font-size: 2.7rem;
    line-height: 1.2;
    font-weight: 700;
    color: #2e6f6a;
    margin-bottom: 1.25rem;
}

header .lead {
    font-size: 1.22rem;
    line-height: 1.75;
    color: #355f5a;
    max-width: 920px;
    margin: 0 auto 1.4rem auto;
}

header p.mb-0 {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #355f5a;
    max-width: 860px;
    margin: 0 auto;
}

footer.bg-white,
.card {
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 20px rgba(60, 120, 90, 0.12);
}

.modal-content {
    background: #f8fdf7 !important;
    border: 1px solid rgba(46, 111, 106, 0.12);
    box-shadow: 0 12px 28px rgba(60, 120, 90, 0.18);
    border-radius: 24px;
}

footer.border-top,
.navbar.border-bottom {
    border-color: rgba(46, 111, 106, 0.12) !important;
}

.card {
    border-radius: 24px;
    overflow: hidden;
}

.card .card-body {
    color: #2e6f6a;
}

.card-title {
    color: #2e6f6a;
}

.card-text,
.text-muted {
    color: #476b67 !important;
}

.clickable-card {
    cursor: pointer;
}

.clickable-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-card:hover,
.clickable-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.clickable-card:active {
    transform: translateY(-1px);
}

.pokedex-thumb-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1rem 0 1rem;
}

.pokedex-thumb {
    width: 78%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
}

.mini-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 14px;
    border: 2px solid #7fcf7a;
    background: #b8f0b3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: bold;
    color: #2e6f6a;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(60, 120, 90, 0.12);
    transition: transform 0.2s ease;
}

.mini-circle::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(127, 207, 122, 0.55);
}

.btn-success {
    background-color: #2e6f6a;
    border-color: #2e6f6a;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #245853;
    border-color: #245853;
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-info {
    color: #2e6f6a;
    border-color: #2e6f6a;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: #2e6f6a;
    border-color: #2e6f6a;
    color: #fff;
}

.news-btn {
    color: #2e6f6a;
    font-weight: 600;
    transition: all 0.25s ease;
    background: linear-gradient(180deg, #ffffff, #f8fffb);
    border: 1px solid rgba(46, 111, 106, 0.18);
}

.news-btn:hover {
    color: #1f5f5a;
    background: linear-gradient(180deg, #ffffff, #eefaf5);
    transform: translateY(-3px);
    box-shadow: 0 .6rem 1.2rem rgba(0,0,0,.10);
}

.news-btn:active {
    transform: translateY(-1px);
}

/* KARUZEL */

.multi-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.multi-carousel .multi-carousel-item {
    flex: 0 0 calc((100% - 40px) / 3);
    margin: 0;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(60, 120, 90, 0.08);
}

.multi-carousel .multi-carousel-item img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.45);
}

.multi-carousel .multi-carousel-item figcaption {
    font-size: 0.95rem;
    color: #476b67;
    text-align: center;
    padding-top: 10px;
    margin: 0;
}

.carousel-btn {
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: #2e6f6a;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(60, 120, 90, 0.12);
}

.carousel-btn:hover {
    background: rgba(184, 240, 179, 0.9);
    transform: scale(1.06);
}

@media (max-width: 991.98px) {
    .multi-carousel .multi-carousel-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 575.98px) {
    .multi-carousel {
        gap: 10px;
    }

    .carousel-track {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .multi-carousel .multi-carousel-item {
        flex: 0 0 100%;
        padding: 10px;
    }

    .multi-carousel .multi-carousel-item img {
        height: 240px;
    }

    .multi-carousel .multi-carousel-item figcaption {
        font-size: 0.9rem;
    }
}

.modal-header {
    border-bottom: 1px solid rgba(46, 111, 106, 0.12);
}

.modal-title {
    color: #2e6f6a;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1.5rem;
}

.modal-body {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .modal-body {
        max-height: 65vh;
        padding: 1rem;
    }
}

.modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 111, 106, 0.2);
}

.card {
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

a.card,
button.card,
.card.event-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

a.card:hover,
button.card:hover,
.card.event-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(60, 120, 90, 0.16);
    cursor: pointer;
}

a.card:active,
button.card:active,
.card.event-card:active {
    transform: translateY(-2px);
}

a.card:focus-within,
button.card:focus-within,
.card.event-card:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(46, 111, 106, 0.15),
                0 12px 24px rgba(60, 120, 90, 0.16);
}

a.card:hover .mini-circle,
button.card:hover .mini-circle,
.card.event-card:hover .mini-circle {
    transform: scale(1.06);
}

.tips-card-img {
    aspect-ratio:3/4;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    background: #f8f8f8;
    padding:12px 12px 0 12px;
}

.card-body{
    text-align:center;
}

.gallery-trigger .card-img-top {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-thumb,
.gallery-trigger .card-img-top {
    width: 72%;
    aspect-ratio: 3 / 4;
    height: auto !important;
    object-fit: cover;
    display: block;
    margin: 1rem auto 0 auto;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background: rgba(0, 0, 0, 0.04);
}

.image-thumb:hover,
.gallery-trigger:hover .card-img-top {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

footer a {
    font-weight: bold;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 54px;
    }

    .navbar-brand span {
        font-size: 1.5rem;
    }

    .main-hero-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 42px;
    }

    .navbar-brand span {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .main-hero-title {
        font-size: 1.95rem;
        line-height: 1.25;
    }

    header .lead,
    header p.mb-0 {
        font-size: 1rem;
    }

    header.bg-white {
        padding-top: 2rem !important;
        padding-bottom: 1.4rem !important;
    }

    header::after {
        height: 24px;
        margin-top: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 36px;
    }

    .navbar-brand span {
        font-size: 0.95rem;
    }

    .main-hero-title {
        font-size: 1.35rem;
    }

    .card {
        border-radius: 20px;
    }

    .modal-content {
        border-radius: 18px;
    }

    .mini-circle {
        width: 56px;
        height: 56px;
        font-size: 0.9rem;
    }
}