/* Basic reset and full-screen sections */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400; /* Regular weight */
}

section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: white;
}

#hem {
  background: #c33764; /* fallback colour. Make sure this is just one solid colour. */
  background: -webkit-linear-gradient(
      rgba(29, 38, 113, 0.8),
      rgba(195, 55, 100, 0.8)
    ),
    url("/images/boba.jpg");
  background: linear-gradient(rgba(29, 38, 113, 0.8), rgba(195, 55, 100, 0.8)),
    url("/images/boba.jpg"); /* The least supported option. */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#oppetider {
  background: #c33764; /* fallback colour. Make sure this is just one solid colour. */
  background: -webkit-linear-gradient(
      rgba(29, 38, 113, 0.8),
      rgba(195, 55, 100, 0.8)
    ),
    url("/images/boba.jpg");
  background: linear-gradient(rgba(29, 38, 113, 0.8), rgba(195, 55, 100, 0.8)),
    url("/images/boba.jpg"); /* The least supported option. */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#kontakt {
  background: #c33764; /* fallback colour. Make sure this is just one solid colour. */
  background: -webkit-linear-gradient(
      rgba(29, 38, 113, 0.8),
      rgba(195, 55, 100, 0.8)
    ),
    url("/images/boba.jpg");
  background: linear-gradient(rgba(29, 38, 113, 0.8), rgba(195, 55, 100, 0.8)),
    url("/images/boba.jpg"); /* The least supported option. */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.column-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.column {
  flex: 1;
}

.left-column {
  padding-right: 2rem;
}

.left-column h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.left-column p {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.left-column img {
  max-width: 100%;
  height: auto;
}

.opening-hours {
  color: #fdad00;
  font-weight: bold;
}

.opening-hours p:nth-child(even) {
  color: #fff;
}

.right-column img {
  max-width: 100%;
  height: auto;
  border: solid 1rem white;
}

.black-bg p {
  background-color: #0e0e0e;
  padding: 0.5rem;
  margin: 0.5rem 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 4rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.black-bg-h2 h2 {
  font-size: 3rem;
  background-color: #0e0e0e;
  padding: 0.5rem 2rem;
  margin: 0.5rem 2rem 2rem 2rem;
  width: fit-content;
}
.black-bg-h2 h3 {
  font-size: 2rem;
  background-color: #0e0e0e;
  padding: 0.5rem 2rem;
  margin: 0.5rem 2rem 2rem 2rem;
  width: fit-content;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
  .column-container {
    max-width: 1200px;
    padding: 0 2rem;
  }
  .black-bg p {
    font-size: 2rem;
  }
}
@media screen and (max-width: 768px) {
  section {
    font-size: 1rem;
  }
  .column-container {
    flex-direction: column;
    text-align: center;
    padding: 0 2rem;
  }

  .left-column {
    padding-right: 0;
    margin-bottom: 2rem;
    font-size: 1rem;
    text-align: left;
  }
  .left-column h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .left-column p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .right-column img {
    max-width: 80%;
  }
  .opening-hours {
    justify-content: center;
  }

  .black-bg-h2 h2 {
    font-size: 1.5rem;
    padding: 0.5rem 2rem;
    margin: 0.5rem auto 0.5rem auto;
  }
  .black-bg-h2 h3 {
    font-size: 1rem;
    background-color: #0e0e0e;
    padding: 0.5rem 2rem;
    margin: 0.5rem auto 2rem auto;
    width: fit-content;
  }
  .black-bg p {
    font-size: 1.6rem;
  }
}

/* Navigation styles */
.navbar {
  position: fixed;
  width: 100%;
  background-color: #0e0e0e;
  color: white;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 1rem;
  height: 100px;
}

.logo img {
  max-height: 70px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  font-weight: bold;
}

.nav-links li {
  height: 100%;
  margin: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  list-style: none;
}

.nav-links a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  list-style: none;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  border-top: 5px solid #0e0e0e;
}
.nav-links a:hover {
  color: #fdad00;
  border-top: 5px solid #fdad00;
}

.social-links {
  display: flex;
}

.social-icon {
  color: white;
  font-size: 1.5rem;
  margin-left: 1rem;
  text-decoration: none;
  font-size: 1.5rem;
}
.social-icon i {
  padding-right: 0.8rem;
}

.social-icon:hover {
  color: #fdad00;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding-top: 0.5rem;
  }

  .nav-toggle-label {
    display: block;
    cursor: pointer;
    padding: 1rem;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: white;
    height: 2px;
    width: 2rem;
    position: relative;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 7px;
  }

  .nav-toggle-label span::after {
    top: 7px;
  }

  .nav-links {
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .social-links {
    display: none;
  }

  .nav-toggle:checked ~ .social-links {
    display: flex;
    flex-basis: 100%;
    justify-content: center;
    padding: 1rem 0;
  }

  .social-icon {
    font-size: 1.5rem;
  }
}

/* Desktop styles */
@media screen and (min-width: 769px) {
  .nav-toggle-label {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}

/* Footer styles */
footer {
  background-color: #0e0e0e;
  color: white;
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Responsive footer */
@media screen and (max-width: 768px) {
  .footer-container:nth-child(even) {
    flex-direction: column;
  }
  .footer-container a {
    margin-bottom: 1rem;
  }
  .footer-container p {
    margin-bottom: 1rem;
  }
  .footer-space {
    display: none;
  }
}

/* Small section styles */
.small-section {
  height: 30vh; /* Half the height of full sections */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: #0e0e0e; /* Light gray background */
  color: #fff;
  font-size: 2.3rem;
}
.yellow-bg p {
  background-color: #fdad00;
  padding: 0.5rem;
  margin: 0.5rem 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.pink-bg p {
  background-color: #ff1b70;
  padding: 0.5rem;
  margin: 0.5rem 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.small-section p {
  max-width: 600px;
  line-height: 1.6;
  font-weight: 700;
}
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 3s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-up.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Adjust main sections to account for small sections */
#hem,
#oppetider,
#kontakt {
  height: 100vh;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .small-section {
    height: auto;
    min-height: 30vh;
    font-size: 1.2rem;
  }
}
