:root {
    --bg1: #fcfbfb;
    --bg2: rgb(0, 0, 0);
    --body: #000000;
    --white: #fafafa;
    --font-family: 'Helvetica', sans-serif;
}

html{
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: var(--white);

}

body {
    font-family: var(--font-family);
    color: var(--body);
    line-height: 1.8;
    background-color: var(--white);
    margin: 0;
    padding: 0;
    background-size: cover;
    height: 100vh;
    overflow: auto;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    color:  rgb(48, 48, 48)
}

h1 {
    text-transform: uppercase;
}

a {
    color: var(--body);
    text-decoration: none;
}


p {
    color: rgb(58, 58, 58);
    font-weight: 600;
}

img {
    width: 100%;
}

section {
    padding: 4rem 0;
}


/* NAVBAR */
.navbar {

    background: linear-gradient(to bottom, #000000, #00000011);
    letter-spacing: 1px;
    transition: padding-top 0.5s;



}

.navbar .navbar-nav .nav-link.active {
    color: var(--white);
}



.navbar .navbar-nav .nav-link {
    color: var(--white);
    position: relative;
    text-decoration: none;
    transition: color 0.5s;
}

.navbar .navbar-nav .nav-link:hover {
    color: rgb(255, 253, 253);
}
.nav-link:hover {
    cursor: pointer;
}
.navbar .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(255, 253, 253);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-brand {
    font-family: 'Karma', serif;
    font-size: 32px;



}
.navbar.dark-background {
    background: linear-gradient(to bottom, #000000, #000000b4);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-brand.bounce-on-hover:hover {
    animation: bounce 1.5s;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* HERO */
.home p {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* BTN */

.booking-button {
    padding: 12px 36px;
    font-family: 'Karma', serif;
    font-size: 20px;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
}

.booking-brand {
    background-color: var(--white);
}

.booking-brand:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

@media (max-width: 767px) {
    .booking-brand {
        background-color: white;
        color: black;
    }

    .booking-brand:hover {
        background-color: transparent;

    }
}

/* ABOUT */

.about {
    position: relative;
    border-bottom: 1px solid black;
    letter-spacing: 1px;


}

.about-div {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin-top: 60px;
}

.about-header-div {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    position: relative;
    overflow: hidden;
}



.about-div h1 {
    text-transform: none;
}

.about::after {
    content: "";
    width: 25%;
    height: 100%;
    background-color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.about .first-img {
    position: relative;
    z-index: 1;
    transform: translateZ(40px);
    box-shadow: -20px 20px 20px rgba(0, 0, 0, 0.5);
}


.about h1 {
    margin-top: 16px;
    margin-bottom: 24px;
}

.about .signature {
    width: 85%;
    margin-bottom: 10px;
}

/* SERVICE*/
.services {
    background: var(--white);
    letter-spacing: 1px;
    position: relative;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-card {
    box-shadow: 10px 10px 10px hsla(0, 0%, 0%, 0.1);
    margin-bottom: 35px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 10px 10px 20px hsla(0, 0%, 0%, 0.6);
}

.service-icon {
    width: 100px;
    height: 100px;
}

.service {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
}

.service p {
    margin-top: 24px;
    margin-bottom: 24px;
}

h4 {
    /* border-top: 1px solid black; */

    border-bottom: 1px solid black;
    text-align: center;
    padding-top: 9px;
}


.cta-btns .btn-service {
    background-color: white;
    border: 2px solid black;
    color: black;
    transition: background-color 0.4s, color 0.4s;
    margin-top: 20px;
}

.cta-btns .btn-service:hover {
    background-color: black;
    color: white;
}

.booking {
    background-position: center;
    letter-spacing: 1px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin-bottom: 20px;
}

.booking form {
    /* background-color: var(--white); */
    padding: 32px;
}

.booking form .form-control {
    border-radius: 0;
    margin-top: 16px;
    outline: none;
    box-shadow: none;
}

.booking form input {
    height: 58px;
    outline: none;
    box-shadow: none;
}

/* FOOTER */

.footer {

    padding-top: 50px;
    letter-spacing: 1px;
}

footer a {
    text-decoration: none; /* Odstraní podtržení odkazů */
    color: inherit; /* Nastaví barvu textu na výchozí barvu (děděnou) */
}

.footer-top {
    padding-bottom: 60px;
}

.box-footer {
    border-right: 2px solid black;
}

.footer-bottom {
    padding-top: 30px;
    padding-bottom: 10px;
    border-top: 1px solid black;
    background-color: rgb(26, 25, 25);
    /* text: white; */
}

.map {
    width: 100%;

    box-shadow: 15px 15px 15px rgba(0, 0, 0, 0.923);

}

.error {
    width: 100%;
    background: linear-gradient(to left, #1b1f3473, #9fa0a100), url('../img/hero.webp');
    background-position: center;
    min-height: 100%;
    background-position: center;
    background-size: cover;
    letter-spacing: 1px;
}



@media (max-width: 767px) {
    .service-card {
        width: calc(100% - 20px);
        /* 100% šířka pro každou kartu na mobilních zařízeních */
    }


}

@media (max-width: 991px) {
    .box-footer {
        border-right: none;
        /* Skryje pravý okraj na tabletech a telefonech */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .service-card {
        width: calc(50% - 20px);
        /* 50% šířka pro každou kartu na tabletech */
    }
}

@media screen and (max-width: 414px) {

    /* Příklad pro iPhone 12 Pro */
    .cta-btns {
        display: flex;
        flex-direction: column;
        /* Tlačítka budou pod sebou */
    }

    .cta-btns a {
        margin: 10px 0;
        /* Přidejte potřebný odsazení mezi tlačítky */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}





@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }


}

.reveal{
    position: relative;
    transform: translateY(80px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active{
    transform: translateY(0px);
    opacity: 1;
}

.to-top {
    position: fixed;
    top: 80%;
    bottom: 50px;
    right:16px;
    width:80px;
    height:80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:42px;
    color:#1f1f1f;
    text-decoration: none;
    opacity:0;
    pointer-events: none;
    transition: all .4s;
  }

  .to-top.active {
    bottom:60px;
    right:10px;
    pointer-events: auto;
    opacity:1;
  }

  .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.small-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}



  /* Admin */


  .gradient-custom {
    /* fallback for old browsers */
    background: #6a11cb;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, rgb(87, 87, 87), rgb(249, 251, 255));

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, rgb(86, 85, 87), rgb(241, 242, 243))
    }

/* Pagination */
    .pagination .page-link {
        color: black;
    }


    .pagination .page-item.active .page-link {
        background-color: black;
        border-color: black;
        color: white;
    }


    .pagination .page-link:hover {
        background-color: grey;
        color: white;
    }

    .pagination .page-link:focus {
        box-shadow: none;
        outline: none;
    }


    /* Modal */

    .btn-close:focus {
        outline: none;
        box-shadow: none;
    }

    .form-select:focus{
        outline: none;
        box-shadow: none;
    }

    .first-img {
        width: 100%;
        height: auto;
        max-width: 526px;
    }

    .signature {
        width: 100%;
        height: auto;
        max-width: 383px;
    }


