@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --white: white;
  --primary: #832519;
  --black: black;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-image: url('/assets/images/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  padding: 1rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  justify-content: flex-end;
  color: var(--white);
}

a {
  text-decoration: none;
  color: var(--white);

  &:hover {
    text-decoration: underline;
  }

  &.btn {
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    cursor: pointer;
    border: 1px solid var(--primary);
    transition: all .2s ease-in-out;

    &:hover {
      background-color: transparent;
      color: var(--primary);
      text-decoration: none;
    }
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .logotype {

    img {
      width: 60px;
    }
  }
}

main {
  

  .logotype-type {
    img {
      width: 50vw;
    }
  }

  .links {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    font-size: 10rem;
    line-height: .75;
    text-indent: -7px;
    flex: 1;
    margin-bottom: .5rem;
    border-bottom: 6px solid var(--white);

    a {
      &:hover {
        text-decoration: line-through;
      }
    }
  }
}

footer {
  margin-top: .5rem;
  border-top: 3px solid var(--white);
  padding-top: 1rem;
  font-size: 1rem;
  line-height: 1.2;

  
  .footer-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;

    .footer-left {
      display: flex;
    }
    

    .opening-hours {
      margin-right: 1rem;
      padding-right: 1rem;
      border-right: 3px solid var(--white);
    }

    .social-media {
      align-self: flex-end;
      display: flex;
      gap: .5rem;

      ion-icon {
        font-size: 1.75rem;
      }
    }
  }
}

@media screen and (min-width: 768px) {
  body {
  padding: 2rem;
}

a {
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}


header {
  padding: 2rem;

  .logotype {

    img {
      width: 60px;
    }
  }
}

main {
  

  .logotype-type {
    img {
      width: 40vw;
    }
  }

  .links {
    border-bottom: 6px solid var(--white);
    flex-direction: row;
    gap: 2.5rem;
    font-size: 16rem;
  }
}

footer {
  font-size: 1rem;
  
  .footer-content {
    align-items: center;
    flex-direction: row;
    font-size: 1.5rem;

    .footer-left {
      display: flex;
    }
    

    .opening-hours {
      margin-right: 2rem;
      padding-right: 2rem;
      border-right: 5px solid var(--white);
    }

    .social-media {
      align-self: flex-end;
      display: flex;
      gap: 1rem;

      ion-icon {
        font-size: 2rem;
      }
    }
  }
}
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  color: var(--black);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 0;
  border: none;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;

  &p {
    color: var(--black);
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}

.close {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: var(--primary);
}

.modal-body {
  padding: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .modal-header,
  .modal-body {
    padding: 16px;
  }
}


