html {
    scroll-behavior: smooth;
    background-color: black;
  }
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
}
/* TESTIMONIALS */
.navLinks ul li:nth-child(4),
.footerAsideLeft ul li:nth-child(4){
    display: none;
}

body {
    background-color: black;
    color: #fff9ed;
}
.nav-toggle { 
    display: none; 
}
.hamburger {
     display: none; 
    }
.close-btn {
     display: none; 
    }

/* header */
header {
    /* outline: 1px solid red; */
    margin: 0;
    width: 100%;
    background-color: black;
    display: grid;
    grid-template-rows: 150px;
    grid-template-columns: 30% 70%;
    grid-template-areas:
        "logo nav";
}

.logo {
    grid-area: logo;
}

.logo img {
    width: 28%;
}

div .navLinks {
    height: 100%;
    grid-area: nav;
}

header .navLinks {
    justify-self: flex-end;
    align-content: center;
}

div.navLinks ul {
    /* outline: 1px solid grey; */
    display: flex;
    flex-direction: row;
    list-style: none;
}

div.navLinks ul>li {
    padding: 20px;
    text-decoration: none;
}

div.navLinks ul li a {
    text-decoration: none;
    color:#fff9ed;
    font-family: 'Courier New', Courier, monospace;
    /* font-weight: lighter; */
    font-size: 26px;
}

div.navLinks ul li a img {
    height: 30px;
    position: relative;
    bottom: 4px;
}

.navLinks ul li::after {
    content: "";
    width: 0;
    height: 2px;
    background: #fff9ed;
    display: flex;
    margin: -4px 0 0 0;
    transition: 0.5s;

}

.navLinks ul li:hover::after {
    content: "";
    width: 105%;
}
.navLinks li:nth-child(3):hover::after{
    content: "";
    width: 0;
}

.navLinks a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #fff9ed;

}

/* videos */
h1 {
    text-align: center;
    margin: 5% 0 3% 0;
    color: #fff9ed;
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;

}

.video-gallery {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 5%;
    row-gap: 40px;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 40px;
}

.video-thumb {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    height: auto;
    display: block;
}


.glightbox {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }


/* Overlay effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(227, 91, 91, 0.9);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Label εμφανίζεται στο hover */
.video-label {
    position: absolute;
    color: #fff9ed;
    font-weight: bold;
    opacity: 0;
    /* transform: translateY(10px); */
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 20px;
    text-align: center;
}

/* Hover Effects */
.glightbox:hover .overlay {
    opacity: 1;
}

.glightbox:hover .video-label {
    opacity: 1;
}

/* up button */
 .upBut {
    display: none; 
    position: fixed;
    bottom: 10%;
    right: 3%;
    z-index: 1001 !important;
  }

  .upBut a{
    z-index: 1001;
  }
  
  .upBut img {
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .upBut img:hover {
    transform: scale(1.2);
  }
  


/* Footer */
footer {
    margin-top: 5%;
    border-radius:20px 20px 0 0;
    height: 220px;
    width: 100%;
    display: grid;
    grid-template-rows: 90% 10%;
    grid-template-columns: 33% 33% 33%;
    grid-template-areas:
        "left center right"
        "copy copy copy";
    justify-content: center;
    align-content: center;
    justify-items: center;
    background-color: black;
    color: #fff9ed;
    
}

/* menu */
footer .footerAsideLeft {
    grid-area: left;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.footerAsideLeft ul li {
    line-height: 2;
    list-style: none;

}

.footerAsideLeft ul li a {
    text-decoration: underline;
    color:#fff9ed;
    font-family: 'Courier New', Courier, monospace;
    font-weight: lighter;
    font-size: 18px;
}
.footerAsideLeft img{
    height: 35px;
}

/* logo */
footer .footerCenter {
    color: #fff9ed;
    grid-area: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    border-right: 0.1px solid #fff9ed;
    border-left: 0.1px solid #fff9ed;
    height: 90%;
}


footer .footerCenter p {
    justify-self: flex-start;
    align-self: center;
    position: relative;
    bottom: 10px;
}

footer .footerCenter img {
    justify-self: flex-start;
    align-self: center;
    overflow: hidden;
    max-width: 40%;
    min-width: 30%;
    height: auto;
}

/* contact */
footer .footerAsideRight {
    grid-area: right;
    justify-content: center;
    align-content: center;
}


.btn {
    cursor: pointer;
    border: none;
    padding: 7px 20px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #fff9ed;
    color: black;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    
}

.btn:not(.more) {
    padding: 10px 25px;
}

.Featured a,
footer a {
    display: inline-block;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: black;
}


.btn1:hover {
    transform: scale(0.90);
}

.btn1:active {
    transform: scale(0.70);
}


/* copyright */
footer .copyright {
    grid-row: 2/3;
    grid-column: 2/3;
    color: #fff9ed;
    font-weight: 100;

}

/* responsive mobile*/
@media screen and (max-width: 700px) {
    body {
        background-color: black;
    }

    /* burger */
  .hamburger {
    display: block;
    width: 32px; 
    height: 24px;
    position: fixed; 
    top: 25px;
    right: 20px;
    cursor: pointer;
    z-index: 1002;
    
  }
  .hamburger span {
    position: absolute; left: 0; right: 0; height: 5px;
    background:#fff9ed;
    border-radius: 2px;
    transition: .3s;
  }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 10px; }
  .hamburger span:nth-child(3) { top: 20px; }

  /* Nav Drawer */
.navLinks {
    position: fixed;
    inset: 0;
    transform: scale(0);
    transform-origin: top right;
    transition: transform .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    z-index: 1001;
  }
  .navLinks ul {
    display:flex;
    flex-direction: column !important;
  } 

  /* When checked -> show menu */
   .nav-toggle:checked ~ .navLinks {
    transform: scale(1);
   }

  /* Turn burger into X */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg); top: 10px;
    background:#fff9ed;
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
    background:#fff9ed;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg); top: 10px;
    background:#fff9ed;
  }

      .logo img {
        width: 100%;
        height: auto;
        margin: auto;
    }



    /* videos  */
    .video-label {
        position: absolute;
        color: white;
        font-weight: bold;
        opacity: 1;
        transition: all 0.3s ease;
        z-index: 2;
        font-size: 20px;
        justify-self: start;
        align-self: flex-start;
        padding: 10%;
    }
    /* footer */
    footer{
        height: 370px;
        display: grid;
        grid-template-rows: 135px 120px 60px 55px;
        grid-template-columns: 100%; 
        grid-template-areas:
            "menu"
            "logo"
            "contact"
            "copy";
    }


    footer .footerAsideLeft {
        grid-row: 1/2;
        grid-column: 1/2;
        padding: 0 0;
    }

    .footerAsideLeft ul{
        display: flex;
        flex-flow: row wrap;
        justify-content:space-around;
        align-content: space-between;
    }

    .footerAsideLeft ul>li{
        width: 50%;
        height: 37px;
        text-align: center;
    }

    footer .footerCenter{
        grid-row: 2/3;
        grid-column: 1/2;
        display: flex;
        flex-direction: column;
        justify-self: center;
        border: 0;
    }

    footer .footerAsideRight{
        grid-row: 3/4;
        grid-column: 1/2;

    }


    footer .copyright{
        grid-row: 4/5;
        grid-column: 1/2;
    }

    footer .footerCenter p{
        text-align: center;
    }

}

@media screen and (min-width: 701px) and (max-width: 1200px) {

 /* MENU  */
    header{
        display: flex;
        flex-direction: column;
        text-align: center;
        z-index: 2001;
        }


    header .logo img{
        height: 120px;
        width: auto;
    }

    header .navLinks {
        justify-self: flex-end;
        justify-items: center;
        background-color: black;
    }
    
    .video-label {
        position: absolute;
        color: white;
        font-weight: bold;
        opacity: 1;
        transition: all 0.3s ease;
        z-index: 2;
        font-size: 20px;
        justify-self: start;
        align-self: flex-start;
        padding: 10%;
    }

    footer .footerCenter p{
        text-align: center;
    }
}
