/*---menu start----*/

div#aside {
	
}

#menu {
	position: fixed;
    z-index: 99999;
    top: 28px;
    left: 90px;
	transition: all 1s ease-out;
	opacity: 1;
	font-size: 19px;
    line-height: 27px;
}

.aside-section {
  top: 0;
  bottom: 0;
  position: fixed;
	z-index: 10000;
}

.aside-left {
  
  width: 100%;
  left: 0;
  background: linear-gradient(270deg, #c7a766, #c7a766, #c7a766);
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.aside-right {
  display: none;
  width: 50%;
  right: 0;
  background-color: #fcfcfc;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.aside-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    /* margin-top: 150px; */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    height: 100%;
    width: max-content;
}

.aside-content {
    position: relative;
    color: white;
    /*text-align: center;*/
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.aside-content a {
    color: #454545;

}

.aside-list li {
  margin-bottom: 20px;
}

.aside-anchor::after {
  content: "";
  position: absolute;
  bottom: 0;
  background-color: #c7a766;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 3px;
}

.aside-anchor::before {
  border-radius: 3px;
  content: "";
  position: absolute;
  bottom: 0;
  background-color: #fff;
  left: 0;
  height: 2px;
  z-index: 1;
  width: 50%;
  -webkit-transition: transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
}

.aside-anchor:hover:before {
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
}

.aside-anchor {
  padding-bottom: 7px;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  position: relative;
  /* font-weight: 500; */
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ div#aside .aside-left {
  transform: translateY(0%);
}

input[type="checkbox"]:checked ~ div#aside .aside-right {
  transform: translateY(0%);
}

input[type="checkbox"]:checked ~ label .bar {
  background-color: #505050;
}

input[type="checkbox"]:checked ~ label .top {
  -webkit-transform: translateY(0px) rotateZ(45deg);
  -moz-transform: translateY(0px) rotateZ(45deg);
  -ms-transform: translateY(0px) rotateZ(45deg);
  -o-transform: translateY(0px) rotateZ(45deg);
  transform: translateY(0px) rotateZ(45deg);
}

input[type="checkbox"]:checked ~ label .bottom {
  -webkit-transform: translateY(-15px) rotateZ(-45deg);
  -moz-transform: translateY(-15px) rotateZ(-45deg);
  -ms-transform: translateY(-15px) rotateZ(-45deg);
  -o-transform: translateY(-15px) rotateZ(-45deg);
  transform: translateY(-15px) rotateZ(-45deg);
}

input[type="checkbox"]:checked ~ label .middle {
  width: 0;
}

input[type="checkbox"]:checked ~ #menu {
  opacity: 0;
}

.middle {
  margin: 0 auto;
}

 label#mylabel {
  top: 10px;
  display: inline-block;
  padding: 7px 10px;
  background-color: transparent;
  cursor: pointer;
  margin: 10px;
  z-index: 99999999;
  position: fixed;
	/*width:100px;*/
  left: 29px;
}

.bar {
  display: block;
  background-color: #505050;
  width: 30px;
  height: 3px;
  border-radius: 5px;
  margin: 5px 0;
  transition: background-color 0.4s ease-in, transform 0.4s ease-in,
    width 0.4s ease-in;
}


.aside-list span, .aside-list span a {
	padding-bottom: 7px;
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    position: relative;
    font-weight: 500;
} 


.aside-list span a.active::before {
    border-radius: 3px;
    content: "";
    position: absolute;
    bottom: 0;
    background-color: #fff;
    left: 0;
    height: 3px;
    z-index: 1;
    width: 100%;
    -webkit-transition: transform 0.2s ease-in-out;
    -o-transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
}

@media (min-width: 992px)  { 
	.aside-left {
    
    width: 50%;
    background: linear-gradient(270deg, #c7a766, #c7a766, #c7a766);
  }
  .aside-right {
    display: block;
    width: 50%;
    background-color: #fcfcfc;
  }
}

@media (max-width: 991px) {
	.aside-left {
	  /* Ensure background stays consistent on smaller screens */
	  background: linear-gradient(270deg, #c7a766, #c7a766, #c7a766);
	}
	.aside-right {
	  background-color: #fcfcfc;
	}
	input[type="checkbox"]:checked ~ label .bar {
    background-color: #fff;
    }
    /* λέξη MENU */
    input[type="checkbox"]:checked ~ label #menu {
        color: #fff;
    }
    .aside-anchor {
    font-size: 26px;
    }
    .aside-list span, .aside-list span a {
    font-size: 24px;
    }
}

@media (max-width: 575px) {

  label#mylabel {
    left: 10px;
}
#menu {
  left: 70px;

}
	
	.aside-anchor {
    font-size: 24px;
    }
    .aside-list span, .aside-list span a {
    font-size: 22px;
    }
    
    .aside-list li {
    margin-bottom: 19px;
    }
    .aside-anchor::before {
    height: 2px;
    }
    .aside-list span a.active::before {
    height: 2px;
   }
}    

/* Book Now button specific styling */
body.book-only .aside-left {
  display: none;
}

body.book-only .aside-right {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  body.book-only .aside-right {
    width: 50%;
    right: 0;
  }
}

/* Close button styling */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #505050;
  z-index: 99999;
  display: none; /* Κρύβουμε το κουμπί από προεπιλογή */
}

.close-btn:hover {
  color: #c7a766;
}

/* Εμφανίζουμε το κουμπί μόνο όταν το body έχει την κλάση book-only */
body.book-only .close-btn {
  display: block;
}

/*---menu ends----*/