html {
    scroll-behavior: smooth;
}
body {
    color: #000000;
    margin: 0;
    padding: 0;
}
body.no-scroll {
    overflow: hidden;
    /* position: fixed;
    width: 100%;
    height: 100vh; */
    touch-action: none;
    -webkit-overflow-scrolling: none;
}
a {
 text-decoration: none;
 color: #040;
 transition: all 0.2s ease-in-out;
}
a:hover {
 color: #400;
}
button {
    padding: 11px 20px;
    background-color: #040;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 10px 20px;
    text-transform: uppercase;
}
button:hover {
    opacity: 0.8;
}
input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.btn {
 display: inline-block;
 cursor: pointer;
 font-size: 0.8em;
 font-weight: 600;
 background-color: #040;
 color: #fff !important;
 border-radius: 3px;
 transition: all 0.2s ease-in-out;
 padding: 10px 20px;
 text-transform: uppercase;
}
.btn:hover {
 opacity: 0.8;
}
.totop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    font-size: 1.5em;
    height: 30px;
    padding: 5px 10px;
    display: none;
    z-index: 99;
    background-color: #040;
    color: #fff !important;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.6;
}
.totop:hover {
    background-color: #060;
}
.phone {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 5px 10px;
    z-index: 99;
    background-color: #040;
    color: #fff !important;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.6;
}
.phone:hover {
    background-color: #060;
}
.phone img {
    height: 30px;
    filter: invert(95%) sepia(100%) saturate(14%) hue-rotate(213deg) brightness(104%) contrast(104%);
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 10;
}
.visible {
    background-color: rgba(250,255,250,1);
}
#header .logo {
    position: absolute;
    left: 10px;
    top: 0;
    z-index: 100;
    display: none;
}
#header .logo img {
    height: 20px;
    margin-top: 15px;
}
#header .menu, #header .hamburger {
    position: absolute;
    right: 10px;
    top: 0;
    transform: translateY(40%);
    font-family: Arial, Helvetica, sans-serif;
    transition: .25s ease-in-out;
}
#header .menu a {
    font-size: small;
    display: inline-block;
    text-transform: uppercase;
    padding: 5px;
    margin: 0 5px;
}
#main {
    position: relative;
    overflow: hidden;
}
section {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-image 0.5s ease;
    scroll-margin-top: 50px;
    min-height: 96vh;
    align-content: center;
}
#main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-linear-gradient(top, rgba(128,0,0,1), rgba(128,0,0,1));
    background-image: -moz-linear-gradient(top, rgba(128,0,0,1), rgba(128,0,0,1));
    background-image: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,1));
    pointer-events: none;
    z-index: 1;
    animation: fadeGradient 2s ease forwards;
}
#home, #footer {
    background-image: url('/img/bg/blatensky-dvur.jpg');
}
#restaurace {
    background-image: url('/img/bg/restaurace.jpg');
}
#catering {
    background-image: url('/img/bg/catering.jpg');
}
@keyframes fadeGradient {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}
#main > * {
    position: relative;
    z-index: 2;
}
#footer img.soc {
    width: 30px;
    filter: invert(46%) sepia(0%) saturate(0%) hue-rotate(198deg) brightness(87%) contrast(95%);
    margin: 10px 5px;
    transition: all 0.2s;
    cursor: pointer;
}
#footer img.soc:hover {
    filter: invert(66%) sepia(0%) saturate(0%) hue-rotate(198deg) brightness(87%) contrast(95%);
}
#content, #footer {
 font-family: Oswald, sans-serif;
 margin: 0 auto;
 font-size: 20px;
 text-align: center;
}
#footer {
    padding: 20px 0;
    min-height: auto;
}
#footer img, #content img, #content iframe {
 width: 96%;
}
#home {
    height: 100vh;
    position: relative;
}
#home .logo {
    width: 80%;
    max-width: 500px;
    display: block;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -50px;
    animation: slideDown 0.5s ease-out;
}
@keyframes slideDown {
    0% {
        top: 0;
        opacity: 0;
    }
    100% {
        top: 40%;
        opacity: 1;
    }
}
#home .links {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
}
#home .btn{
    position: relative;
    margin: 0 10px;
}
#home .menu {
    left: 0;
    animation: slideLeft 1s ease-out;
}
#home .accom {
    right: 0;
    animation: slideRight 1s ease-out;
}
#home .next {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    animation: slideUp 2s ease-out;
    font-weight: 600;
}
@keyframes slideUp {
    0%, 50% {
        bottom: -50px;
        opacity: 0;
    }
    75% {
        bottom: 50px;
        opacity: 1;
    }
    80% {
        bottom: 35px;
        opacity: 1;
    }
    85% {
        bottom: 50px;
        opacity: 1;
    }
    90% {
        bottom: 45px;
        opacity: 1;
    }
    100% {
        bottom: 50px;
        opacity: 1;
    }
}
@keyframes slideLeft {
    0%, 50% {
        left: -100vw;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}
@keyframes slideRight {
    0%, 50% {
        right: -100vw;
        opacity: 0;
    }
    100% {
        right: 0;
        opacity: 1;
    }
}
#menu {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-color: #FFF;
  padding: 20px 0;
}
section .text {
    max-width: 800px;
    padding: 10px;
    margin: 0 auto;
}

.hamburger {
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: none;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* Aktivní stav */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 45%;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 45%;
}
.hamburger.active {
    right: 20px !important;
}


.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f1f1f1;
    color: #555;
    padding: 20px;
    text-align: center;
    z-index: 9999;
    font-size: 14px;
    border-top: 1px solid #ddd;
}
.cookie-notice-buttons {
    margin-top: 10px;
}
.cookie-notice button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
}
.cookie-notice button.secondary {
    background: #f1f1f1;
    color: #555;
    border: 1px solid #ddd;
}
.cookie-notice button:hover {
    opacity: 0.9;
}
.cookie-settings {
    display: none;
    margin: 10px auto 0;
    padding: 10px;
    background: #fff;
    border-radius: 3px;
    width: fit-content;
}
.cookie-settings div {
    text-align: left;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 768px) {
#home, #footer {
    background-image: url('/img/bg/blatensky-dvur-mob.jpg');
}
#restaurace {
    background-image: url('/img/bg/restaurace-mob.jpg');
}
#catering {
    background-image: url('/img/bg/catering-mob.jpg');
}
#home {
    max-height: 400px;
}
#home .logo {
    margin-top: -20px;
    max-width: 300px;
}
#home .links {
    top: 70%;
}
#home .next {
    display: none;
}
#header .menu a {
    display: none;
    transition: transform 0.3s ease-in-out;
}
#header .hamburger {
    display: block;
    top: 7px;
}
#header .menu.active {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    display: block;
    padding: 50px 0;
    background-color: #FFF;
    /* transform: translateX(100%); */
    transform: none;
}
#header .menu.active a {
    display: block;
    line-height: 200%;
    font-size: large;
}
.phone {
    top: 5px;
    right: 60px;
    bottom: auto;
    left: auto;
    background-color: transparent;
}
.phone img {
    filter: none;
}
.phone span {
    display: none;
}
}
