:root {
    --color-forest-dark: #1a2e1a;
    --color-forest-default: #2d4a2d;
    --color-forest-light: #4f774f;
    --color-earth: #5d4037;
    --color-sand: #e6dec1;
    --color-warm-orange: #d97706;
    --color-stone-50: #fafaf9;
    --color-stone-600: #57534e;
    --color-stone-800: #292524;
}

nav {
    background-color: #20c997;
}

footer {
    border-top: black thin solid;
    padding: 10px;
    background-color: rgb(233,236,239);
    color: var(--color-stone-600);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-stone-50);
    color: var(--color-stone-800);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Merriweather', serif;
}

/* specialni */
.rounded-4xl {
    border-radius: 2.5rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

.object-fit-cover {
    object-fit: cover;
}

/* barvicky */
.text-forest-dark {
    color: var(--color-forest-dark) !important;
}

.text-warm-orange {
    color: var(--color-warm-orange) !important;
}

.text-stone-600 {
    color: var(--color-stone-600) !important;
}

.text-sand {
    color: var(--color-sand) !important;
}

.bg-forest-dark {
    background-color: var(--color-forest-dark) !important;
}

.bg-stone-50 {
    background-color: var(--color-stone-50) !important;
}

.bg-warm-orange {
    background-color: var(--color-warm-orange) !important;
}

/* Hero Section */
.hero-section {
    height: 50vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background-color: rgba(26, 46, 26, 0.3);
    /* forest-dark / 30 */
    mix-blend-mode: multiply;
}

.hero-gradient-top {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.hero-gradient-bottom {
    background: linear-gradient(to top, #fafaf9 0%, rgba(250, 250, 249, 0.8) 50%, transparent 100%);
}

/* Animace */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* card hover effect */
.location-card .img-container {
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 4px solid white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.location-card:hover .img-container {
    transform: scale(1.05) rotate(-1deg);
}

.location-card .green-overlay {
    background-color: rgba(45, 74, 45, 0.1);
    transition: background-color 0.3s ease;
}

.location-card:hover .green-overlay {
    background-color: transparent;
}

.location-card .card-title {
    transition: color 0.3s ease;
}

.location-card:hover .card-title {
    color: var(--color-warm-orange) !important;
}

.transition-image {
    transition: opacity 0.3s ease-in-out;
}

/* quote */
.quote-mark {
    position: absolute;
    top: -0.75rem;
    left: -1.5rem;
    font-size: 3rem;
    color: #d6d3d1;
    /* stone-300 */
    line-height: 1;
}

.prose-lg p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5em;
    font-weight: 300;
}

body.modal-open {
    overflow: hidden;
}

.modal-custom {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-custom.flex {
    display: flex;
}

.modal-backdrop-custom {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 46, 26, 0.9);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content-custom {
    position: relative;
    width: 100%;
    max-width: 72rem;
    height: 80vh;
    background: black;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-nav-btn {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.modal-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}