*{
    margin: 0;
    padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, 
                #E8E9EA 50%,
                #6efda9 75%,
                #bbfefd 100%);
}

.navbar nav {
  transition: all 0.3s ease;
  transform: translateY(-100%);
}

.navbar.active nav{
  transform: translateY(0%);
}

nav{
    background-color: #1a1a18;
    position: fixed;
    width: 100vw;
    padding: 0.5rem 0;
    z-index: 1000;
    top: 0;
    left: 0;
}

.EUframe nav {
  background-color: #fefefe;
}

.EUframe img {
  height: 50px;
}

.EUframe nav {
  transition: all 0.3s ease;
  transform: translateY(0%);
}

.EUframe.deactive nav {
  transform: translateY(-100%);
}

.EUframe a {
  padding: 0;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color :#FEFDFF;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #979797;
}

nav li:first-child{
    margin-right: auto;
    align-items: center;
}
.logo img {
    height: 30px;
}

.sidebar {
  position: fixed;
  display: none;
  width: 200px;
  height: 100vh;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #1a1a1850;
  backdrop-filter: blur(10px);
  flex-direction: column;
  right: 0;
  top: 0;
  padding: 0.5rem 0;
}

.navlitems {
  cursor: pointer;
}

@media (max-width: 768px) {
  .navlitems {
    display: none;
  }

  .EUframe img {
    height: 40px;
  }
}

@media (min-width: 768px) {
  nav li:last-child {
    display: none;
  }
}


.hero {
    width: 100%;
    height: 100vh;
    z-index: 2;
    position: relative;
    background-color: #FEFDFF;
}

.scrolltrap {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
    z-index: 2;
    position: relative;
}

.scrolltrap {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
}

.scrolltrap.active {
  position: absolute;
}

.hero0 {
    opacity: 0;
    background-position: center;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero0.active{
    opacity: 1;
    z-index: 1;
}

.hero h1{
    color: #1a1a18;
    font-size: 80px;
    font-weight: 300;
    text-align: center;
    z-index: 1;
}

.hero h2{
    vertical-align: top;
    color:#1a1a18;
    font-size: 35px;
    font-weight: 400;
    text-align: center;
    z-index: 1;
}

.hero img{
    z-index: 1;
    margin-top: 20%;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 50px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .hero img {
        margin-top: 20%;
    }
}



.hero0:nth-child(1) {background-image: url(resources/Ice-Cream.jpg);}
.hero0:nth-child(2) {background-image: url(resources/Baked-Goods.jpg);}
.hero0:nth-child(3) {background-image: url(resources/Sweets.jpg);}

.history {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100vh;
  padding: 5vh 10vw;
  padding-top: 15vw;
}

.history-left {
  flex: 1;
  max-width: 40%;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
  
.history-left h1 {
  font-size: 4vw;
  margin-bottom: 1rem;
}

.history-left .bold {
  font-weight: bold;
}

.text-box {
  width: 100%;
  height: 50vh;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}







.history-right {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.img-main {
  width: 40vw;
  height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background-position: center;
  background-size: cover;
  background-image: url(resources/working.jpg);
}

.img-overlay {
  width: 30vw;
  height: 40vh;
  position: absolute;
  bottom: -100px;
  left: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background-image: url(resources/sweet-logo.jpg);
  background-position: center;
  background-size: cover;
}

@media (max-width: 650px){
    .history {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 5vh 5vw;
    }
    
    .history-left, .history-right {
        max-width: 100%;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .history-left h1 {
      margin-top: 60px;
    }
    
    .img-main, .img-overlay {
        width: 80vw;
        height: auto;
    }
}

.content {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 60px;
  justify-content: space-between;
}

.content-left, .content-right {
  padding: 5vh 0;
  display: flex;
  gap: 1vw;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  
}



.content-svg line{
  stroke: #ccc;
  stroke-width: 2;
  transition: stroke 1s ease-in-out, stroke-width 1s ease-in-out;
}

.content-svg circle{
  stroke: #ccc;
  stroke-width: 2;
  transition: stroke 1s ease-in-out, stroke-width 1s ease-in-out;
}

.content-svg.is-visible line{
  stroke:#92a567;
  stroke-width: 6;
}

.content-svg.is-visible circle{
  stroke:#92a567;
  stroke-width: 6;
}

.content-left {
  flex-direction: row;
  
}

.content-right {
  flex-direction: row-reverse;
}

.box, .ca {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 1.2s ease-out;
  will-change: opacity, visibility;
}


.content-left div{transform: translateX(10vh);} 


.content-right div{transform: translateX(-10vh);}  

.box.is-visible, .ca.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.ca{
  height: 90vh;
  width: 50vw;
  overflow: hidden;
  animation: s;
  background-position: center;
  background-size: cover;
  border-radius: 15px;
}

.ca.a {background-image: url(resources/bread.jpg);}
.ca.b {background-image: url(resources/pizza.jpg);}
.ca.c {background-image: url(resources/baked.jpg);}
.ca.d {background-image: url(resources/sweet-goods.jpg);}


.box{
  min-height: 90vh;
  width: 30vw;
  background-color: #979797;
}
 
@media (max-width: 768px) {
  
    .content-svg{
        height: 50vh;
        max-height: 250px;
    }

  .ca {
      height: 50vh;
      max-height: 250px;
  }
  
  .box {
      display: none;
  }
  
  
}

.catering {
  max-width: 100vw;
  height: 90vh;
  padding: 50px 0;
  overflow: hidden;
}

.grid-div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 90vh;
  width: 120vw;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.grid-item{
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  background-color: #979797;
  background-position: center;
  background-size: cover;
}

.grid-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.item1 {
  grid-column: 1;
  grid-row: 1/ 3;
  background-image: url(resources/ChristmassSweets.jpg);
}

.item2 {
  grid-column: 2;
  grid-row: 1;
  background-image: url(resources/CakeCatering.jpg);
}

.item3 {
  grid-column: 2/4;
  grid-row: 2;
  background-image: url(resources/ColdCakes.jpg);
}

.item4 {
  grid-column: 3/5;
  grid-row: 1;
  background-image: url(resources/Tsourekia.jpg);
}

.item5 {
  grid-column: 4;
  grid-row: 2;
  background-image: url(resources/SweetsCatering.jpg);
}

@media (max-width: 768px) {
  .grid-div {
    grid-template-columns: 2fr 2fr 2fr 2fr;
    grid-template-rows: 2fr 2fr 2fr;
    width: 200vw;
    height: 90vh;
  }
  
  .grid-item {
    min-height: 30vh;
  }
  
  
}

.catering h1{
  position: relative;
  justify-self: center;
  margin-top: -90vh;
  color: #1a1a18;
  font-size: 25vw;
  font-weight: 300;
  text-align: center;
  z-index: 1;
  width: auto;
  pointer-events: none;
}

.catering button {
  left: 50vw;
  transform: translate(-50%);
  font-size: 4vw;
}

.catering img {
  height: 4vw;
}

.catering button:hover {
  transform: translateX(-50%)
}

@media (max-width: 768px) {
  .catering h1{
    font-size: 15vw;
    margin-top: -70vh;
  }

    .catering {
      padding-bottom: 0px;
    }
}

.reviews{
  overflow: hidden;
}

.reviews h1 {
  position: relative;
  color: #1a1a18;
  font-size: 10vw;
  margin: auto;
  font-weight: 200;
  text-align: center;
  z-index: 1;
  width: auto;
  pointer-events: none;
}

.reviews-slide {
  width: 300vw;
  height: 70vh;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  transition: transform 0.3s ease-out;
}

.reviews-slide.ac{
  transform: translateX(100% / 3);
}

.reviews-slide.acac {
  transform: translateX((100% / 3) * 2);
}

.rev{
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  background-color: #FEFDFF;
  height: 80%;
  width: 90vw;
  margin: 0 20vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.rev h1 {
  padding: 10px;
  margin: 15px 0 auto 0;
  font-size: 50px;
  font-weight: 700;
}

.rev h2 {
  padding: 30px;
  margin: auto;
  margin-bottom: auto;
  text-align: center;
  align-self: center;
}

.ritem1 h2{
  font-size: 50px;
}

.ritem2 h2 {
  font-size: 30px;
}

.ritem3 h2 {
  font-size: 60px;
}

@media (max-width: 798px) {
  .reviews {
    margin-top: -20vh;
  }

  .reviews-slide {
    max-height: 90px;
  }
  .rev {
    width: 100vw;
  }

  .rev h1 {
    font-size: 10px;
    margin: auto 0 0 0;
    padding: 2px;
  }

  .rev h2 {
    font-size: 7px;
    padding: 2px;
  }

}

.footer {
  display: flex;
  height: 500px;
  justify-content: space-between;
  bottom: 0;
  width: 100vw;
  background-color: #1a1a18;
  color: #FEFDFF;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: left;
  height: auto;
}

.footer-left ul {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: start;
}

.footer-left li {
  height: 50px;
}

.footer-left a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color :#FEFDFF;
  transition: color 0.3s ease;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 60vw;
}

.map {
  width: 90%;
  bottom: 50%;
  height: 440px;
  border-radius: 40px;
  margin: auto 180px 40px 80px;
  overflow: hidden;
  box-shadow: black 0px 0px 10px 0px;
  top: 0;
}

@media (max-width: 768px) {
  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .footer-left li {
    padding-left: 0;
  }

  .footer-left ul{
    justify-content: center;
    align-items: center;
  }

  .map {
    height: 220px;
    margin: 40px 0;
    width: 130%;
  }
}

.catering button {
  position: relative;
  background-color:#92a567;
  color: #1a1a18;
  font-weight: 300;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: black 0px 0px 5px 0px;
  z-index: 2;
}



h1{
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h2 {
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
}

h3 {
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
}

a {
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.map-info * {
  font-family: 'uniform', sans-serif;
}

.map-info h3 {
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 15px;
  color: #1a1a18;
}

.map-info p {
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 15px;
  color: #1a1a18;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  max-height: 70vh;
  max-width: 500px;
  
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  cursor: pointer;
}