:root {
    --color-placeholder: grey;
    --color-dark: #693EFE;
    --color-light: #d9d4ff;
    --color-white: white;
    --color-grey: #d8d8da;
    --color-side-light: #D3FE3E;
    --color-side-dark: #afd332;

    --header-height: 7.5rem;

    --section-offset: 50px;
    --section-side-padding: 20px;
    --section-light: white;
    --section-dark: #cce0ff;

    --min-sm: 576px;    /*small*/
    --min-md: 768px;    /*medium*/
    --min-lg: 992px;    /*large*/
    --min-xl: 1200px;   /*x-large*/
    --min-xxl: 1400px;  /*xx-large*/

    /* Color Theme Swatches in Hex */
    --color1: #BFBFBF;
    --color2: #140DD9; 
    --color3: #110BBF; 
    --color4: #0D088C; 
    --color5: #0B0F59; 

    --button-light: white;
    --button-dark: var(--color4);
    --button-hover-light: var(--color1);
    --button-hover-dark: var(--color2);

    --color-header: var(--color5);
    --color-footer: var(--color5);
}

/* GLOBAL */
* {
	margin: 0;
	padding: 0;
    font-family: Helvetica, Arial, sans-serif;
}

body,html {
    height: 100%;
    scroll-behavior: smooth;
    font-size: 1em;
    position: relative;
}

main {
    padding-bottom: 100px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.content-max-width {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.content-padding {
    padding-left: var(--section-side-padding);
    padding-right: var(--section-side-padding);
}

.non-clicable {
    cursor: default;
    user-select: none;
    pointer-events: none;
}


.button-basic {
    display: inline-block;
    width: auto;
    height: 45px;
    background-color: var(--button-dark);
    border-radius: 100vh;
    text-align: center;
    line-height: 45px;
    padding: 0px 25px 0 24px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.button-basic--button{
    line-height: 0;
    border: 0;
}

.button-basic--button-href{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.button-basic:hover {
	transition-duration: 0.4s;
	background-color: var( --button-hover-dark);
    cursor: pointer;
}

.button-basic--light{
	background-color: var( --button-light);
    color: black;
}

.button-basic--light:hover{
	background-color: var(--button-hover-light);
}

.mgt-5{
    margin-top: 5px;
}
.mgt-10{
    margin-top: 10px;
}
.mgt-15{
    margin-top: 15px;
}
.mgt-20{
    margin-top: 20px;
}

.mgl-5{
    margin-left: 5px;
}
.mgl-10{
    margin-left: 10px;
}
.mgl-15{
    margin-left: 15px;
}
.mgl-20{
    margin-left: 20px;
}

.mgb-5{
    margin-bottom: 5px;
}
.mgb-10{
    margin-bottom: 10px;
}
.mgb-15{
    margin-bottom: 15px;
}
.mgb-20{
    margin-bottom: 20px;
}

.pdt-5{
    padding-top: 5px;
}
.pdt-10{
    padding-top: 10px;
}
.pdt-15{
    padding-top: 15px;
}
.pdt-20{
    padding-top: 20px;
}


.pdl-5{
    padding-left: 5px;
}
.pdl-10{
    padding-left: 10px;
}
.pdl-15{
    padding-left: 15px;
}
.pdl-20{
    padding-left: 20px;
}


.flex-row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.flex-column {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}
.flex-2 {
    flex: 2;
}
.flex-3 {
    flex: 3;
}
.flex-4 {
    flex: 4;
}


.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.gap-40 {
    gap: 40px;
}

.gap-50 {
    gap: 100px;
}

.gap-row-20 {
    row-gap: 20px;
}

.gap-row-30 {
    row-gap: 30px;
}

.gap-row-40 {
    row-gap: 40px;
}

.gap-row-50 {
    row-gap: 50px;
}

.flex-start{
    justify-content: start;
}

.flex-right{
    justify-content: right;
}

.flex-left{
    justify-content: left;
}

.flex-center{
    justify-content: center;
}

.align{
    align-items: center;
}
.margin-align{ 
    margin: auto;
}
/* HEADER */

.header {
    background: var(--color5);
    width: 100%;
    position: absolute;
    z-index: 2000;
    color:white;
}

.header--transp{
    top: 0;
    width: 100%;
    background: none;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),40%,rgba(255,0,0,0));
}

.header--transp::after {
    background: hsla(0,0%,100%,.5);
    bottom: -1px;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
  }

.logo-img{    
    background-color: white;
    -webkit-mask: url(/zs2425/11/Projekt_server_side_skupina_11/assets/img/logoipsum.svg) no-repeat center;
    mask: url(/zs2425/11/Projekt_server_side_skupina_11/assets/img/logoipsum.svg) no-repeat center;
    width: 100px;
    mask-size: 70px;
    aspect-ratio: 1;
}

.logo{
    font-weight: bold;
    font-size: 30px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    fill: white;
    left:0;
    margin: 0;
    z-index: 3000;
}

.header .logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


hr .rounded {
    border-top: 8px solid #bbb;
    border-radius: 100vh;
}


.header .logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2500;
    padding-left: 50px;
    padding-right: 50px;
}

.checkbtn {
    font-size: 30px;
    color: white;
    order: 1;
    margin-right: 20px;
    z-index: 3000;
    cursor: pointer;
  }

#check {
    display:none;
}

#check:checked ~ ul {
    right: 0;
}

#check:checked ~ .checkbtn {
    position: fixed;
    right: 50px;
}

#check:checked ~ .logo {
    position: fixed;
    left: 50px;
}

nav ul {    
    list-style: none;
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--color-dark);
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    gap:20px;
    font-size: 1.5em;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    font-size: 95%;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 5px;
    color: white;
}
  
nav ul li a:hover {
    background-color: #f5f5f5;
    color: black;
    transition-duration: 0.4s;
}

.disable-nav{
    pointer-events: none;
    display: none;
}

.teaser__image{
    height: 700px;
    background-color: rgb(0, 0, 0);
}

.teaser__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: top;
    display:block;
    opacity: 0.8;
}
.teaser__container{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 180px;
}




/* SECTIONS */
.new-section {
    padding-top: var(--section-offset);
    padding-bottom: var(--section-offset);
}



.new-section--teaser{
    margin-top: 0;
    padding: 0;
}

.new-section--first {
    margin-top: calc(var(--header-height) + var(--section-offset));
    margin-bottom: var(--section-offset);
}


.with-decoration .new-section:nth-child(odd){
    background-color: var(--section-light);;
}
    
.with-decoration .new-section:nth-child(even){
    background-color: #EFF0FE;
}


/* FOOTER */
footer {
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: var(--color-footer);
    color: white;
}

.socials{
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}

.socials__part{
    display: flex;
    margin: 5px;
    flex: 1;
    align-items: center;
    color:white;
}

.socials__part ul a:hover {
	transition-duration: 0.4s;
	color: black;
}

.socials__part--middle{
    flex: 2;
    justify-content: center;
}

.socials__part--right{
    justify-content: right;
    gap: 40px;
}

.socials__part--right a{
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    color: white;
}
.socials__part--right a:hover{
    transition-duration: 0.4s;
    color: var(--color1);
    font-size: 27px;
}

.logo__footer{
    display: flex;
    color: white;
    align-items: center;
    text-decoration: none;

}

footer ul{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer ul li {
    margin-left: 1.5rem;
}

footer ul li a {
    text-decoration: none;
    color: white;
    font-size: 95%;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 5px;
}

.aside_footer{
    margin-top: 25px;
    padding-bottom: 25px;
}

/* SEARCHBAR */
.search-container {
    display: none;
	position: relative;
	height: 45px;
	width: 45px;
}

.button:hover {
	transition-duration: 0.4s;
	background-color: white;
	color: black;
}

.mglass {
	display: inline-block;
	pointer-events: none;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
}

.search-button {
    background-color: var(--button-light);
    border-radius: 100vh;
	font-size: 14px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	color: black;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	position: absolute;
	font-size: 22px;
	width: 45px;    
	z-index: 2500;
}

.search-button:hover{
	transition-duration: 0.4s;
	background-color: var(--button-hover-light);
}

.search-expand {
    position: absolute;
    display: none;
    align-items: center;
    color: black;
    height: 45px;
    right: 25px;
	z-index: 2300;
    border: none;
    background-color: var(--button-light);
    border-radius: 100vh;
}

.expanded{    
    width: 350px;
    display: flex;
}

.search-close{
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
	z-index: 2600;
    cursor: pointer;
}

.search-bar {    
    border: none; /* Optional: Remove border if present */
    /*box-shadow: inset 0 0 0 1px #444;*/
    border-radius: 100vh 0px 0px 100vh;
    height: 100%;
    width: 100%;
    padding-left: 20px;
    outline: none;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.mobile{
    height: 50px;
    width: 100%;
    padding-right: 20px;
}

.search-bar-mobile{
    height: 50px;
    width: 400px;
    border-radius: 100vh 0px 0px 100vh;
    border: none;
    outline: none;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding-left: 20px;
}
.button-basic--mobile{   
    height: auto;
    width: 150px;;
    border-radius: 0 100vh 100vh 0;
    border: none;
}

/* HOMEPAGE */
.reserve__text {
}

.reserve__country{
    border-radius: 100vh;
}

.reserve__input{    
    outline: none;
    border-radius: 100vh;
    border-style: solid;
    border-color: rgb(212, 212, 212);
    border-width: 1px;
    padding-left: 20px;
    padding-right: 20px;
    height: 40px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.reserve__select-conainer {
    display: grid;
    grid-template-columns: 1fr;
}

.reserve__form{    
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;  
}

.reserve__button {
    right:0px;
}


/* WHO ARE WE */
.section__container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-auto-flow: column;
    text-align: center;
    margin-top: 30px;
    row-gap: 20px;
}
.section__container .flex-column {
    justify-content: start;
}

/* PORT BLOCK */
.port__container{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 40px;
    row-gap: 40px;
    margin-top: 20px;
}


.port__rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-white);
    padding: 5px;
    border-radius: 5px;
}

.port__rating p{
    padding-left:10px;
}

.card{
    position: relative;
    display: flex;
    flex-direction:  column;
    justify-content: start;
    border-radius: 20px;box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.card__img{
    height:200px;
    width: 100%;
    border-radius: 0 0 20px 20px;
}

.card a{
    text-decoration: none;
    color: var(--color2);
}
.card a:hover{
    color: var(--color4);
    transition-duration: 0.4s;
}

.card__img img{   
    height: 100%;
    width: 100%;
    object-fit:cover;
    object-position: top;
    display:block;
    border-radius: 10px;
}

.card__info{
    display:flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 0 0 20px 20px;
    padding: 20px;
}

.port__button{
    margin-top: 20px;
}


/* FAQ */

.faq__block{
    padding: 20px;
    width: 100%;
    background-color:  var(--section-light);
    border-radius: 20px;
    border: none;
    outline: none;
}

.faq__icon{
    width: 250px;
}

/* SEARCH SITE*/
.search{
    display: grid;
    grid-template-columns: auto;
}

.search__filter{

}

.checkbox-container{
    display: grid;
    grid-template-columns: auto;
    row-gap: 30px;
    gap: 30px;
}

.search__filter-block {
    /*width: 250px;*/
    background-color:  var(--color-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.search input:focus{
    outline: 2px solid var(--color4);
}

.serach__container{
    padding-left: 0;
    margin-top: 50px;
}

.serach__dropdown {
    width: 100px;
    height: 25px;
    padding-left: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.serach__results{
    display: grid;    
    grid-template-columns: 1fr;
    gap: 40px;
    row-gap: 40px;
}

/* SEARCH V2 */
.filter{
    display: flex;
    flex-direction: column;
    gap:40px;
    justify-content: space-between;    
}

.filter__section{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap:20px;
}

.filter input:focus{
    outline: 2px solid var(--color4);
}

.filter__checkbox{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
    row-gap: 20px;
}

.filter__buttons{
    display:flex;
    flex-direction: column;
    justify-content: start;
    gap:20px;
}
.serach__results_v2{
    display: grid;    
    grid-template-columns: 1fr;
    gap: 40px;
    row-gap: 40px;
}

.filter-search{
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.filter-search__{
    display: flex;
    flex-direction: column;
    justify-content: start;
}


/* PORT */
.port__img-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto auto;
    gap:50px;
    row-gap: 20px;
    grid-template-areas: 
    "mainImg mainImg"
    ". .";
}

.port__img-block{   
    border-radius: 20px;
    background-color: var(--section-dark);
    height: 100%;
    width: 100%;
}

.port__img-block img{  
    height: 100%;
    width: 100%;
    object-fit:cover;
    object-position: top;
    display:block;
    border-radius: 10px;
}

.port__img--main{
    grid-area: mainImg;
    aspect-ratio: 1;
}
.port__img--side{
    aspect-ratio: 1;
}

.port_available{
    border-radius: 100vh;
    padding: 5px;
    width: auto;
    aspect-ratio: 1;
    background-color: var(--button-color);
    color:white;
}

.port_unavailable{
    border-radius: 100vh;
    padding: 5px;
    width: auto;
    aspect-ratio: 1;
    background-color: red;
    color:white;
}

.checked {
    color: orange;
}

.port__date{
    display: grid;
    grid-template-columns: 1fr;
    gap:50px;
}

.port__dropdown{
    border-radius: 100vh;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    cursor: pointer;
}


.port__price{
    aspect-ratio: 1;
    background-color: white;
    border-radius: 20px; 
    padding: 20px;   
    text-align: center;
    max-width: 300px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.price{
    font-size: 50px;
    color: var(--color2);
}

.port__amanities{
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    row-gap: 20px;
}

.port__other-info{
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: start;
}

.port__contanct{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;

}
.port__contanct .flex-row{
    justify-content: left;
}

/* PORT V2 */
.port{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.fa-check {
    color: white;
    background-color: var(--color5);
}

.port__img-grid{
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto;
    gap:20px; 
    row-gap: 20px;
    margin-bottom: 40px;
    grid-template-areas: 
    "mainImg mainImg"
    ". .";
}

.port__info{
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.port .port__img--main{
    aspect-ratio: 0;
}

.port__reserve{
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.port__reserve p{
    font-size: 50px;
    font-weight: bold;
    color: var(--color2)
}

.port__reserve-block-big{
    flex:1;
}
.port__reserve-block-small{
    flex:1;
}

.port__reserve-gird{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
    gap: 20px;
}

/* CONTACT */
.contact{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact__text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    flex:1;
}


.contact__form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--color-white);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    border-radius: 20px;
    padding: 20px;
    flex:1;
}

.contanct__message{
    min-height: 200px;
    border-radius: 20px;
    box-sizing: border-box;
    width: 100%;
    resize: none;
    padding: 20px;
}

.contanct__message:focus, .contact__form input:focus{
    outline: 2px solid var(--color4);
}

.contact a{
    font-size: 25px;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: var(--color2);
    border-radius: 10px;
    height: 50px;
    width: 50px;
    line-height: 50px;
}
.contact a:hover{
    transition-duration: 0.4s;
    color: var(--color1);
    font-size: 27px;
}

/* RESERVATION */
.reservation{
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

.reservation__field{
    border-radius: 100vh;
    height: 45px;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--section-light);
    line-height: 45px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: solid;
    border-width: 1px;
    border-color: rgba(136, 136, 136, 0.534);
}

/* ABOUT */
.about__container{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 30px;
}


.about__img{
    width: 100%;
    aspect-ratio: 1;
}

.about__img img{   
    height: 100%;
    width: 100%;
    object-fit:cover;
    object-position: top;
    display:block;
    border-radius: 20px;
}

/* PAYMENT*/
.pay__container{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 30px;
}

/* CHECKBOX */
.checkbox-wrapper .control {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 18px;
}
.checkbox-wrapper .control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.checkbox-wrapper .control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
}
.checkbox-wrapper .control:hover input ~ .control__indicator,
.checkbox-wrapper .control input:focus ~ .control__indicator {
    background: #ccc;
}
.checkbox-wrapper .control input:checked ~ .control__indicator {
    background: #2aa1c0;
}
.checkbox-wrapper .control:hover input:not([disabled]):checked ~ .control__indicator,
.checkbox-wrapper .control input:checked:focus ~ .control__indicator {
    background: #0e647d;
}
.checkbox-wrapper .control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.checkbox-wrapper .control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.checkbox-wrapper .control input:checked ~ .control__indicator:after {
    display: block;
}
.checkbox-wrapper .control--checkbox .control__indicator:after {
    left: 8px;
    top: 4px;
    width: 3px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-wrapper .control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}



/* ACCORDION */
.faq {
	background-color: transparent;
	border: 1px solid #9FA4A8;
	border-radius: 10px;
	padding: 30px;
	position: relative;
	overflow: hidden;
	margin: 20px 0;
	transition: 0.3s ease;
}

.faq.active {
	background-color: #fff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.1);
}



.faq-title {
	margin: 0 35px 0 0;
}

.faq-text {
	display: none;
	margin: 30px 0 0;
}

.faq.active .faq-text {
	display: block;
}

.faq-toggle {
	background-color: transparent;
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	padding: 0;
	position: absolute;
	top: 30px;
	right: 30px;
	height: 30px;
	width: 30px;
}

.faq-toggle:focus {
	outline: none;
}

.faq.active .faq-toggle {
	background-color: #9FA4A8;
}

.faq-toggle .fa-times {
	display: none;
}

.faq.active .faq-toggle .fa-times {
	display: block;
}

.faq-toggle .fa-chevron-down {
	color: #83888E;
}

.faq.active .faq-toggle .fa-chevron-down {
	display: none;
}

@media (min-width: 600px){
    .section__container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        text-align:start;
    }
    .section__container .flex-column {
        justify-content: space-between;
    }

    .port__container{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .reserve__select-conainer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .about__container{
        flex-direction: row;
    }
    .pay__container{
        flex-direction: row;
        
    }
    
    .port__amanities{
        grid-template-columns: auto auto auto;
    }

    .port__contanct{
        flex-direction: row;
        justify-content: space-between;
    
    }
    .port__contanct .flex-row{
        justify-content: space-between;
    }
    .port__date{
        grid-template-columns: 1fr 1fr 2fr;
        grid-auto-rows: 1fr;
    }
    /* Alešovo */
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .settings-section {
        padding-right: 0;
        border-right: none;
    }

    /* search-v2*/
    
    .filter__checkbox{
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .serach__results_v2{
        grid-template-columns: 1fr 1fr;
    }
    
    .filter-search{
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
    }

    /*port v2*/
    .port__reserve-gird{
        grid-template-columns: 1fr 1fr;
        grid-template-columns: auto;
        grid-template-areas: 
          ". ."
          "big big";
        
    }

    .port__reserve-gird-big{
        grid-area: big;
    }

    
    .port__reserve{
        flex-direction: row;
        align-items: center;
    }
    .port__reserve-block-big{
        flex:2;
    }
    .port__reserve-block-small{
        flex:1;
    }

    /* contanct */
    .contact{
        flex-direction: row;
    }    
}

@media (min-width: 920px){ 
    .checkbtn {
        font-size: 30px;
        color: white;
        cursor: pointer;
        display: none;
    }

    nav ul{
        flex-direction: row;
        justify-content: flex-start;
        position: static;
        top: auto;
        right: auto;
        background-color: transparent;
        width: auto;
        height: auto;
        align-items: center;
        transition: all 0s ease 0s;
        gap:normal normal;
        font-size: 1em;      
    }
    .mobile{
        display: none;
    }
    .search-container{
        display: block;
    } 
    .section__container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }
    .port__container{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .socials{
        align-items: normal;
        flex-direction: row;
        height: 150px;
    }
    
    .serach__results{ 
        grid-template-columns: 1fr 1fr;
    }
    .search{
        display: grid;
        grid-template-columns: auto auto;
    }
    
    .search__filter-block {
        width: 250px;
    }
    .checkbox-container{
        display: grid;
        grid-template-columns: auto;       

    }    
    .serach__container{
        padding-left: 50px;
        margin-top: 0;
    }
    .port__img-container{
        grid-template-columns: 2fr 1fr 1fr;
        grid-auto-rows: 1fr;
        grid-template-areas: 
        "mainImg . ."
        "mainImg . .";
    }
    .port__other-info{
        flex-direction: row;
        justify-content: space-between;
    }
    .port__amanities{
        grid-template-columns: auto auto auto auto;
    }   
    
    /* serach_v2*/
    
    .filter__section{
        flex-direction: row;
        justify-content: space-between;
    }       
    
    .filter__checkbox{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    
    .filter__buttons{
        flex-direction: row;
        justify-content: end;
    }
    /* port v2 */
    .port{
        flex-direction: row;
    }
    .port__img-grid{
        margin-bottom: 0;
    }
    .port__info--big{
        padding-left: 40px;
    }
}







/*LOGIN/Register*/

/* Stylování pro kontejner formuláře */

.form-container {
    margin-top: 0px;
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    color: #5A4DBB;
}
.form-container h1 {
    color: #5A4DBB;
}

/* Zarovnání formuláře doprostřed stránky */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    background-color: var(--section-light); /* Nebo jakoukoli barvu pozadí */
    padding: 20px; /* Pro případ menších obrazovek */
    
}


/* Odkaz na registraci */
.ales form a {
    color: #007bff;
    text-decoration: none;
}

.ales form a:hover {
    text-decoration: underline;
}
/*hover tlacitka*/
/* Styl pro zaoblené tlačítko */
.rounded-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #5A4DBB; /* Primární barva tlačítka */
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px; /* Zaoblení rohů */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Jemný stín */
    transition: all 0.3s ease; /* Plynulý přechod pro hover */
}

.rounded-button:hover {
    background-color: #6C63FF; /* Barva tlačítka při najetí myší */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Zvýšený stín při hover */
    transform: translateY(-2px); /* Mírný pohyb nahoru */
}
/*owner/customer dashboard*/


.dashboard-container {
    max-width: 1200px;
    margin: auto;
}

/* Welcome Section */
.welcome-section {
    margin-top: 10.5rem;
    margin-bottom: 10rem;
}

.welcome-table {
    width: 100%;
}

.welcome-text h1 {
    font-size: 26px;
    color: #5A4DBB;
    text-align: left;

}
/* Styl pro omezení šířky buňky */
.welcome-text {
    max-width: 130px; /* Maximální šířka buňky */
    padding: 10px; /* Přidání vnitřního odsazení */
    text-align: left; /* Zarovnání textu doleva */
    word-wrap: break-word; /* Zalamování textu na nových řádcích */
    line-height: 1.5; /* Zlepšení čitelnosti textu */
}

.welcome-text p {
    color: #6c6c6c;
    line-height: 1.6;
    text-align: left;
}
.welcome-image{
    text-align: right;
}
.welcome-image img {
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
}
.ports-section{
    margin-bottom: 1rem;
}
/* Ports Section */
.ports-section h2 {
    color: #5A4DBB;
    font-size: 22px;
    margin-bottom: 1rem;
}
.ports-section h3 {
    color: #5A4DBB;
    font-size: 16px;
    margin-bottom: 1rem;
}

.ports-section p {
    text-align: left;
    margin-bottom: 1rem;
}

.port-card {
    background-color: #f4f4ff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.port-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-button {
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

/* Berths */
.berth {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Register Section */
.register-port form {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}


/* History Section */
.history-item {
    padding: 15px;
    background-color: #f4f4ff;
    border-radius: 8px;
    margin-top: 15px;
}
/* Kontejner tabulky */
.table-container {
    background: #f7f7fc;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: #bbbbbb solid 1px;
    margin-bottom: 3rem;
}

/* Základní styl tabulky */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.custom-table td {
    padding: 15px;
    vertical-align: middle;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}
.image-cell{
    background: #e3e0fe;
    border-radius: 12px;
    padding: 20px;
    width: 350px;
}
/* Obrázek vlevo */
.image-cell img {
    width: 340px;
    height: auto;
    border-radius: 8px;
    margin: auto;
}

/* Portní informace */
.port-info {
    font-size: 16px;
    font-weight: 600;
    color: #4f4dbd;
}

/* Informace o berth */
.berth-info {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.berth-info span {
    font-size: 12px;
    color: #6e6b7b;
}
.berth-date strong {
    color: #4f4dbd;
    font-size: 14px;
}

/* Stav buňky */
.status {
    text-align: right;
    font-weight: bold;
    background: #fff;
    width: 50px;
}

.status.reserved {
    color: #e63946;
}
.status.reserved span {
    color: black;
}
.status.available span {
    color: black;
}

.status.available {
    color: #2a9d8f;
}

/* Tlačítko "Edit" */
.edit-button {
    background: #4f4dbd;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    position: absolute; /* Přidání absolutního zarovnání */
    top: 10px; /* Vzdálenost od horního okraje buňky */
    right: 10px; /* Vzdálenost od pravého okraje buňky */
    width: 70px;
    text-align: center;
}
.edit-cell {
    position: relative; /* Pro správné zarovnání tlačítka */
    width: 60px; /* Nastavte požadovanou šířku */
    text-align: right; /* Zajistí, že tlačítko zůstane zarovnáno doprava */
    padding: 0; /* Volitelně odstraní nadbytečné mezery */
}


.edit-button:hover {
    background: #6c63ff;
}


.table-container input {
    width: 90%;
    border-radius: 12px;
}
.table-container label {
    color: #5A4DBB;
    text-align: left;
}
.table-container th a{
    position: relative; /* Pro použití absolutního zarovnání v rámci této buňky */
    text-align: right; /* Zarovnání obsahu doprava */
    vertical-align: bottom; /* Zarovnání obsahu buňky dolů */

}
.nameport{
    color: #5A4DBB;
}
.nameport strong{
    color: #5A4DBB;
    font-size: 12px;
}
.earned {
    font-family: 'Arial', sans-serif; /* Písmo, které odpovídá vzhledu */
    font-size: 16px; /* Základní velikost textu */
    color: #6C63FF; /* Barva textu */
    display: flex; /* Pro správné umístění částí vedle sebe */
    align-items: baseline; /* Zarovnání na úroveň textu */
    gap: 8px; /* Vzdálenost mezi prvky */
    justify-content: right;
}

.earned .amount {
    font-weight: bold; /* Tučné písmo pro hodnotu */
    font-size: 24px; /* Větší velikost textu pro zvýraznění hodnoty */
}

.earned .per-day {
    font-size: 14px; /* Menší velikost textu pro vedlejší informaci */
    color: #999; /* Světlejší barva pro méně důležitý text */
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 40px;
    align-items: center;
    margin: auto;
}

.pagination button {
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}
/*register a new port*/

.container-register {
    max-width: 600px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 22px;
    margin: 150px auto;
}
.container-register h1{
    color: #5A4DBB;
}

.description {
    color: #6C6C6C;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;

}
/* Form Styles */
.register-form .form-row {
    margin-bottom: 16px;
}

.register-form label {
    font-size: 14px;
    font-weight: bold;
    color: #5A4DBB;
    display: block;
    margin-bottom: 8px;
}

.register-form input,
.register-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #DDD;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
}

.register-form input:focus,
.register-form textarea:focus {
    border-color: #6C63FF;
    box-shadow: 0 0 4px rgba(108, 99, 255, 0.4);
}

.register-form .submit-button {
    background-color: #6C63FF;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s;
}

.register-form .submit-button:hover {
    background-color: #564FCF;
}
textarea {
    max-width: 100%;
    max-height: 150px;
    min-height: 150px;
    min-width: 100%;
}
/*Account settings*/
/* Container for the settings page */
.settings-container {
    max-width: 1100px;
    margin: 150px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Title */
.settings-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #5a4dbb;
    text-align: left;
}

/* Grid Layout */
.settings-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px 40px;
    align-items: start;
}

/* Left Side Sections */
.settings-section {
    padding-right: 20px;
    border-right: 1px solid #ddd;
    justify-items: left;
}

/* Section Titles */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #5a4dbb;
}

/* Individual setting item */
.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #f4f4ff;
    border: 2px solid #e3e0fe;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

/* Hover effect for items */
.settings-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Setting details */
.settings-detail {
    flex: 1;
    margin-right: 20px;
}

/* Labels and values */
.settings-label {
    font-size: 14px;
    font-weight: bold;
    color: #888;
    min-width: 500px;
    text-align: left;
}

.settings-value {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    text-align: left;
}

/* Buttons */
.settings-button {
    background-color: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100px;
}

.settings-button:hover {
    background-color: #5947d4;
}

/* Right Side Descriptions */
.description {
    align-self: start;
}

/* Description Headings */
.description h3 {
    font-size: 16px;
    font-weight: bold;
    color: #5A4DBB;
    margin-bottom: 8px;
}

/* Description Paragraphs */
.description p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    text-align: left;
}

.ales--form h1 {
    margin-bottom: 1em;
    color: #333;
    text-align: center;
}

.ales form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.ales form input {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ales button {
    width: 100%;
    padding: 0.7em;
    background-color: #5A4DBB;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.ales button:hover {
    background-color: #6C63FF;
}

.ales--form p {
    text-align: center;
}

/* Odkaz na registraci */
.ales form a {
    color: #007bff;
    text-decoration: none;
}

.ales form a:hover {
    text-decoration: underline;
}

/* Dropdown oprava */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background-color: #fff;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

/* Aktivace dropdownu */
.dropdown:hover .dropdown-menu {
    display: block;
}

.form-radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.form-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.success-message {
    color: #2ecc71; /* nebo 'green' */
    font-weight: bold;
    font-size: 16px;
    margin-top: 1rem;
}

.error-message {
    color: red; 
    font-weight: bold;
    font-size: 16px;
    margin-top: 1rem;
}





