/*@import url('https://fonts.googleapis.com/css2?family=Amarante&family=Fira+Sans+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    font-family: "Public Sans", serif;
    font-weight: 800;
}

section {
    margin-top: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.sectionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    position: relative;
    width: 100%;
}

.sectionHeader h1 {
    text-transform: uppercase;
    font-size: 64px;
    font-family: "Oswald", serif;
    font-weight: 600;
    z-index: 1;
    background-color: #fff;
    padding: 30px 40px 30px 0;
}

.sectionHeader .section-button {
    font-family: "Oswald", serif;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 54px;
    font-size: 24px;
    border: 3px solid #ffffff;
    background-color: black;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1; 
}

.sectionHeader .section-button img {
    margin-left: 10px;
    filter: invert(1);
    width: 25px;
    transition: filter 0.3s ease;
}
.sectionHeader a{
    text-decoration: none;
}

.sectionHeader .section-button:hover {
    background-color: white;
    color: black;
    border-color: black;
}

.sectionHeader .section-button:hover img {
    filter: invert(0);
}

.sectionHeader::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0px;
    height: 4px;
    background-color: rgb(239, 239, 239);
    z-index: 0;
}

.sectionHeader h1,
.sectionHeader .section-button {
    position: relative;
}

.divider{
    margin: 20px 0 20px 0;
   color: rgb(239, 239, 239);
   border: 2px solid;
}

.titleHeader{
    margin: 10px 0 10px 0;
}

.titleText{
    font-weight: 500;
}

.titleList {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 15px;
}

.titleList li {
    margin: 8px 0 8px 0;
    font-weight: normal;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 80000000;
}

.fullscreen-menu.active {
    opacity: 1;
    pointer-events: all;
}

.fullscreen-menu a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    margin: 15px 0;
}

#close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

/* ------------------------- Navbar */
nav {
    text-transform: uppercase;
    top: 0;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.home {
    width: 100%;
    position: fixed;
    background-color: transparent;
    color: white;
}

nav.home.scrolled {
    background-color: white;
    color: black;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

nav.home.scrolled #hamburger{
    color: black;
}


nav.static {
    position: static;
    background-color: white;
    color: black;
}

nav .nav-container {
    width: 100%;
    padding: 20px;
    max-width: 1200px; 
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

nav ul {
    list-style: none;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    font-family: "Oswald", serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
    color: white;
    transition: all 0.3s;
}

nav.static ul li a {
    color: black;
}

nav ul li a:hover {
    filter: opacity(70%);
}

nav.static  #hamburger{
    color: black;
}

#rezervace {
    background-color: rgb(234, 50, 93);
    padding: 8px 15px;
    border-radius: 24px;
    color: white;
}

nav.home.scrolled ul li a {
    color: black;
}

nav.scrolled #rezervace {
    color: white;
}

nav img {
    width: 30px;
    height: auto;
    filter: invert(1);
    transition: all 0.3s;
}
#logoImg {
    width: auto;
    height: 50px;
}

#hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: white;

}

nav.home.scrolled img,
nav.static img{
    filter: invert(0);
}

.badge {
    background-color: rgb(234, 50, 93);
    color: white;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}

#notifikace-btn {
    position: relative;
}

#notif-section {
    position: relative;
}

#notif-section-small{
    display: none;
}

#notifikace-dropdown {
    position: absolute;
    right: 0;
    top: 65px;
    background: rgb(235, 235, 235);
    border: 1px solid #bdbdbd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 500px;
    padding: 10px;
    color: black;
    display: none;
    z-index: 999;
}

#notifikace-seznam {
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
}

#notifikace-dropdown button {
    width: 100%;
    margin-top: 10px;
    padding: 5px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}

#notifikace-dropdown button:hover {
    background: #555;
}

.hidden {
    display: none !important;
}

#notifikace-btn.active + .dropdown-menu {
    display: block;
}

#notifikace-seznam{
    display: flex;
    flex-direction: column;
}


#notif-section-small #notifikace-dropdown {
    position: fixed;
    top: 95px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

#notif-section-small-static #notifikace-dropdown{
    top: 95px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ------------------------- Carousel */
/*    background: linear-gradient(to bottom right,rgb(16, 66, 55) 20%, #6da996 60%, #0d2f30 125%);*/
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background: linear-gradient(to bottom right,rgb(14, 14, 14) 20%, #2f2f2f 60%, #0d0d0d 125%);
    margin-bottom: 30px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    padding: 30px;
}

.carousel-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1175px;
}

.carousel-left {
    position: relative;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: start;
    color: rgb(255, 255, 255);
    z-index: 2;
}

.carousel-left h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;

    font-family: "Oswald", serif;
    font-weight: 600;
    text-transform: uppercase;
}
.carousel-left h2{
    text-transform: uppercase;
    color: #d7d7d7;
}

.carousel-left p {
    font-size: 24px;
    margin-bottom: 20px;
    color: #d7d7d7;

    font-family: "Public Sans", serif;
    font-weight: 400;
}

.carousel-button {
    text-transform: uppercase;
    display: inline-block;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 0;    
}

.carousel-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgb(234, 50, 93);
    z-index: -1;
    transition: width 0.4s ease;
}

.carousel-button:hover {
    color: rgb(255, 255, 255);
}

.carousel-button:hover::before {
    width: 100%;
}

.carousel-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    z-index: 1;
}
.carousel-right img {
    height: 700px;
    object-fit: cover;
}

/* ------------------------- Služby */
#sluzby {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.sluzba {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    height: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sluzba::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 0;
    transition: background 0.3s ease;
}

.sluzba h1 {
    font-family: "Oswald", serif;
    position: relative;
    z-index: 1;
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.8em;
    text-align: center;
}

.hidden-text {
    position: relative;
    z-index: 1;
    font-size: 0.9em;
    text-align: justify;
    line-height: 1.3;
    color: white;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease;
    padding: 0 30px;
}

.sluzba:hover .hidden-text {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
}

.sluzba:hover .arrow-icon {
    opacity: 0;
}

.arrow-icon {
    transition: opacity 0.2s ease;
    filter: invert();
    width: 30px;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    50% {
        transform: translateY(10px) translateX(-50%);
    }
}

/* ------------------------- Galerie */
#galerie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galImg {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f3f3f3;
}

.galImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------- Galerie / podstránka*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.image-container {
    position: relative;
    aspect-ratio: attr(data-width) / attr(data-height);
    overflow: hidden;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container:hover img {
    transition: all 0.3s;
    filter: brightness(80%);
}

body.modal-open {
    overflow: hidden;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    position: relative;
    animation: lightboxZoom 0.3s ease-in-out;
}

.delete-button {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 45px;
    padding: 20px;
    cursor: pointer;
    opacity: 0.7;
    z-index: 10;
}

.arrows-container {
    position: absolute;
    bottom: 50%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow {
    color: white;
    font-size: 40px;
    padding: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.arrow-left {
    position: absolute;
    left: 0;
}

.arrow-right {
    position: absolute;
    right: 0;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px black;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #bbb;
}

.delete-form {
    display: flex;
}

.image-container:hover .delete-form {
    display: block;
}

#floatingButton {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
}

#floatingButton:hover {
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: black;
    cursor: pointer;
}

.modal-close:hover {
    color: #c0392b;
}
#drop-zone.dragover {
    border: 2px dashed #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

#drop-zone {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin: 10px 0;
    cursor: pointer;
}

#drop-zone.dragover {
    background-color: #e0f7fa;
}

#image-preview-container {
    margin-top: 20px;
    text-align: center;
}

#image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

/* ------------------------- O mně */

#about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

#aboutText{
    text-align: justify;
}

#aboutText h2 {
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 20px;
}

#aboutText p{
    font-size: 20px;
    font-weight: 200;
}

#aboutText #signature {
    margin: 25px auto 0; /* auto = horizontální centrování */
    max-width: 55%; /* responzivní šířka */
    width: auto; /* přizpůsobí se obsahu */
    height: auto; /* zachová poměr stran */
    display: block; /* umožní centrování přes margin: auto */
}
/* ------------------------- Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    color: white;
    background-color: black;
    margin-top: 150px;
}

footer h3 {
    margin: 10px 0 15px;
    font-weight: 700;
}

footer p {
    color: #bbb;
    font-weight: 500;
}

footer img {
    filter: invert();
    width: 50px;
}

#footerContainer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

#footerLeft {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 500px;
}

.footer-box {
    padding: 20px 0;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
}

.informace a{
    color: white;
}

.informace a p{
    color: white;
    font-weight: 500;
}

#mapa {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.gmap_iframe {
    width: 100%;
    height: 100%;
}

#footerCredits {
    text-align: center;
    margin-top: 30px;
    padding: 10px 0;
    width: 100%;
}

#footerCredits span {
    font-size: 14px;
    color: #bbb;
}

#footerCredits a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

#footerCredits a:hover {
    text-decoration: underline;
}

/* ------------------------- Rezervace */

.form-content {
    flex: 2;
    display: flex;
    flex-direction: column;
}

form input{
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    padding: 20px;
}

form h1{
    margin-bottom: 40px;
}

form button:hover{
    cursor: pointer;
    filter: opacity(0.6);
}

form label{
    font-weight: 300;
}

form label span{
    color: rgb(234, 50, 93);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group input {
    width: 100%;
    box-sizing: border-box;
}

#service{
    cursor: pointer;
    padding: 50px;
    font-size: 20px;
}

#service option{
    font-size: 18px;    
}

.form-button{
    color: white;
    background-color: black;
    border: none;
    padding: 10px;
    font-size: 20px;
    transition: all 0.3s;
    text-transform: uppercase;
}

#submitReservation{
    height: 60px;
    width: 100%;
}

.rezervace-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.rezervace-container h2 {
    text-align: center;
}

.rezervace-container select {
    padding: 10px;
    margin-bottom: 15px;
}

.form-content,
.calendar,
.time-selection {
    margin-bottom: 20px;
}

.week-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 13px;
    width: 100%;
    margin-top: 10px;
}

.day-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border: none;
    border-radius: 8px;
    width: 160px;
    margin-bottom: 10px;
    cursor: pointer;
}

.day-option .day-name {
    font-size: 16px;
    font-weight: 700;
}

.day-option .day-date {
    font-size: 18px;
    margin-top: 5px;
}

.day-option.selected,
.time-option.selected {
    background: #4c6feb;
    color: white;
}

.day-option.disabled {
    background: #fafafa;
    color: #c1c1c1;
    cursor: not-allowed;
}

.time-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.time-section {
    margin-bottom: 20px;
}

.time-section h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

.time-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-option {
    width: 80px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    background-color: #f7f7f7;
    margin-bottom: 5px;
}

#selected-info {
    margin-top: 10px;
    font-weight: bold;
}

/* ------------------------- Login / Register */

.login-container{
    display: flex;
    gap: 50px;
}

.login {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    font-size: 20px;
    flex: 1;
}

.login label input{
    margin-top: 20px;
}

.login #forgot, #souhlas{
    color: black;
}

.password-container {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-60%);
    cursor: pointer;
    width: 25px;
    height: 25px;
}

.password-container input {
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
}

.toggle-password:hover{
    cursor: pointer;
}

/* ------------------------- ceník */
.cenik-kategorie {
    margin-top: 30px;
    margin-bottom: 30px;
}

.cenik-kategorie h2 {
    display: flex;
    align-items: center;
    font-size: 22px;
    cursor: pointer;
    gap: 15px;
    background: #000000;
    color: white;
    padding: 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.cenik-kategorie h2:hover {
    background: #333333;
}

.cenik-kategorie h2 img {
    width: 50px;
    margin-right: 10px;
    filter: invert();
}

.cenik-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.cenik-kategorie.open .cenik-content {
    max-height: 500px;
    opacity: 1;
}

table {
    width: 100%;
    margin-top: 10px;
    border: 2px solid #c1c1c1;
    border-radius: 12px;
    border-spacing: 0;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    font-weight: 300;
    border-bottom: 2px solid #ddd;
}

th {
    font-weight: 800;
    background-color: #f5f5f5;
}

tr:last-child td {
    border-bottom: none; 
}

.cenik-info p {
    font-weight: 400;
    color: #7a7a7a;
    margin-left: 30px;
    margin-top: 10px;
    font-size: 14px;
}

/* ------------------------- pjofil*/
.side-menu {
    width: 250px;
    flex-shrink: 0;
    color: black;
    margin-bottom: 150px;
}

.side-menu ul {
    list-style: none;
}

.side-menu ul li {
    margin-bottom: 10px;
}

.side-menu ul li a {
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: #ddd 2px solid;
    color: black;
    font-size: 18px;
    display: block;
    padding: 10px;
    transition: all 0.3s;
}



.side-menu ul li a:hover {
    opacity: 0.7;
}
.profile-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.side-profile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-profile-container input {
    width: 100%; 
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.profile-buttons{
    display: flex;
    justify-content: space-between;
}

#deleteAccountBtn{
    background-color: rgb(234, 50, 93);
}

.reservation-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    overflow: hidden;
}

.reservation-table th, 
.reservation-table td {
    padding: 16px;
    border-bottom: 1px solid #000000;
    text-align: left;
    width: auto;
}

.reservation-table th {
    background-color: #000000;
    color: white;
    font-weight: bold;
}

.reservation-table tr:hover {
    background-color: #f1f1f1;
}

.cancel-button {
    background-color: rgb(234, 50, 93);
    color: white;
    border: none;
    padding: 12px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.cancel-button:hover {
    opacity: 0.7;
}

.contact-container {
    display: flex;
    align-items: center;
    gap: 150px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
}

.contact-image {
    width: 300px;
    flex-shrink: 0;
}

.contact-image img {
    width: 100%;
    display: block;
}

.side-profile-container textarea {
    width: 100%;
    max-width: 100%;
    font-size: 1.2em;
    border: 1px solid #ccc;
    resize: none;
}

.form-button {
    display: block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.form-button:hover {
    background-color: #444;
}

.arrow-down {
    width: 10px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 8px;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-header {
    background: #f5f5f5;
    padding: 15px;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.dropdown-header:hover{
    transition: all 0.3s;
    background-color: #e8e8e8;
}

.dropdown-header img {
    width: 125px;
    height: 125px;
    border-radius: 5px;
    margin-right: 15px;
    object-fit: cover;
}

.dropdown-header .info {
    flex-grow: 1;
}

.dropdown-header #selected-service {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
}

.dropdown-header #selected-desc {
    font-weight: 600;
    font-size: 18px;
    color: #666;
}

.dropdown-header #selected-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #9b9b9b;
}

.dropdown-list {
    display: none;
    position: absolute;
    width: 100%;
    background: white;
    border: none;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-item {
    display: flex;
    padding: 10px;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background: #e8e8e8;
}

.dropdown-item img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    margin-right: 15px;
    object-fit: cover;
}

.dropdown-item .info {
    display: flex;
    flex-direction: column;
}

.dropdown-item .title {
    font-weight: bold;
    font-size: 20px;
}

.dropdown-item .desc {
    font-weight: 600;
    font-size: 16px;
    color: #666;
}

.dropdown-item .price-time {
    font-weight: 800;
    margin-top: 5px;
    font-size: 14px;
    color: #9b9b9b;
}



.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 999999999;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.popup-content h3 {
    margin-top: 0;
    font-size: 22px;
}

.popup-content p {
    font-size: 18px;
    margin: 10px 0;
}

#popup-details {
    font-size: 16px;
    margin-bottom: 20px;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
}

#popup-confirm {
    background: black;
    color: white;
    width: 45%;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

#popup-cancel {
    background: rgb(234, 50, 93);
    color: white;
    width: 45%;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

#popup-confirm:hover,
#popup-cancel:hover {
    opacity: 0.7;
}

.popup-content textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

.popup-content textarea:focus {
    border-color: #d9534f;
    outline: none;
    box-shadow: 0 0 5px rgba(217, 83, 79, 0.5);
}

.popup-content label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}



.forgot-password-section{
    margin-bottom: 400px;
}


.small-nav-section{
    display: none;
    flex-direction: row;
    gap: 30px;
}



.error-message {
    color: red;
    font-size: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

#error404{
    font-size: 3em;
    font-weight: 600;
}


#logoSmall{
    display: none;
    width: 40px;
}

@media (max-width: 1250px) {
    .menu-items {
        display: none;
    }
    .small-nav-section{
        display: flex;
        flex-direction: row;
        gap: 30px;
    }

    #hamburger {
        display: flex;
    }   

   #notif-section-small{
        display: block;
    }

    #about #aboutImg img {
        margin-top: 0;
        width: 100%;
    }
}


#galerieSipka img{
    width: 50px;
    display: none;
}

@media (max-width: 1024px) {

    #hamburger {
        display: block;
    }

    #logoImg{
        display: none;
    }

    #logoSmall{
        display: flex;
    }

    .menu-items #notif-section {
        display: block;
    }
    
    .carousel .carousel-left p{
        align-items: center;
        display: none;
    }

    #viceButton {
        display: none;
    }

    .week-row{
        justify-content: center;
        align-items: center;
    }

    .day-option {
        width: 100px;
    }

    #galerieSipka, #galerieSipka img{
        display: flex;
        z-index: 1;
        background-color: #fff;
        padding: 10px;
    }

    #about {
        flex-direction: column;
        gap: 20px;
    }

    #aboutText img{
        width: 100%;
    }

    #sluzby {
        flex-direction: column;
        gap: 20px;
    }

    .sluzba {
        flex: 1 1 100%;
        height: auto;
        min-height: 500px;
        padding: 50px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sluzba h1{
        font-size: 2em;
    }

    .hidden-text{
        font-size: 0.8em;
        text-align: justify;
    }

    .arrow-icon {
        display: none;
    }

    #galerie {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-image {
        display: none;
    }

    #footerContainer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #footerLeft {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }


    #mapa {
        margin-top: 20px;
        height: 400px;
        width: 100%;
    }

    .login-container {
        flex-direction: column;
    }

    .login {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .profile-container .side-menu{
        width: 100%;
        margin-bottom: -20px;
    }

    .profile-container {
        flex-direction: column;
    }

    

    .reservation-table {
        width: 100%;
        border-collapse: collapse;
    }

    .reservation-table th, 
    .reservation-table td {
        padding: 10px;
        font-size: 14px;
        text-align: center;
    }

    .reservation-table th {
        font-size: 16px;
    }

    .reservation-table td {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .cancel-button {
        font-size: 14px;
        padding: 10px 10px;
    }


    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .reservation-table {
        width: 100%;
        border-collapse: collapse;
        display: table;
    }

    .reservation-table th,
    .reservation-table td {
        padding: 10px;
        font-size: 14px;
        text-align: center;
        white-space: nowrap;
    }

    .reservation-table th {
        font-size: 16px;
    }

    .reservation-table td {
        word-wrap: break-word;
        max-width: 150px;
        text-overflow: ellipsis;
    }

    .cancel-button {
        font-size: 14px;
        padding: 10px 10px;
    }
}			