/*-- Mobile First CSS --*/

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  font-style: normal;
}

.bg {
  position: fixed;
  top: 55%;
  left: 50%;
  width: 200%;
  height: 200%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(0.50);
  transform-origin: center center;
  z-index: -1;
}

header,
main {
  position: relative;
}

main {
  padding-top: 58px;
}

#home,
#about-us,
#giveaway,
#contact-us {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 47, 47, 0.5);
  z-index: 1;
}

#home>* {
  position: relative;
  z-index: 2;
}

#about-us>* {
  position: relative;
  z-index: 2;
}

#giveaway>* {
  position: relative;
  z-index: 2;
}

nav {
  background-color: #3C2F2F;
  height: 58px;
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 1000;
  top: 0;
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.nav-icon img {
  height: 48px;
  width: 48px;
  cursor: pointer;
  padding: 5px;
}

/* Default menu hidden on mobile */
.menu {
  display: none;
  flex-direction: column;
  background: #333;
  position: absolute;
  top: 55px;
  right: 0;
  left: 0;
  text-align: center;
  padding: 1rem 0;
}

.menu.show {
  display: flex;
}

.hamburger {
  margin-left: auto;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* hide menu items on mobile as they should only be shown on desktop */
.menu {
  display: none;
}

.home-page-center-logo img {
  display: block;
  margin: 0 auto;
  max-width: 170px;
  height: 170px;
}

.center-wrap {
  text-align: center;
}

.homepage-title {
  color: white;
  font-size: 2rem;
  text-transform: uppercase;
}

.open-hours-sign {
  display: flex;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 270px;
}

.open-sign {
  background-color: rgba(60, 47, 47, 0.7);
  color: white;
  text-align: center;
  padding: 0px 20px 20px 20px;
  border: 2px solid white;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  width: 170px;
  height: 120px;
}

.open-sign h1 {
  font-size: 2rem;
  font-weight: bold;
}

.divider {
  height: 1px;
  background: white;
  margin: 10px auto;
  width: 60%;
}

.open-sign p {
  margin: 5px 0;
  font-size: 1.1rem;
}

/* About us */
.aboutus-title {
  background-color: white;
  padding: 30px;
  font-size: 2rem;
  margin: 0px;
}

.about-us-card-container {
  background-color: #3C2F2F;
  padding: 50px 0 50px 50px;
}

.about-us-gallery {
  background-color: #fff;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20%;
  padding: 7% 10% 7% 10%;
}

.giveaway-title {
  color: white;
  padding: 30px;
  font-size: 2rem;
  margin: 0px;
}

.giveaway-text {
  color: white;
  padding: 0 30px;
  font-size: 1.125rem;
  margin: 0px;
  font-family: "Lexend Deca", sans-serif;
  font-style: normal;
}

section {
  scroll-margin-top: 58px;
}

.instagram-logo {
  z-index: 2;
}

.giveaway-container {
  background-color: #3C2F2F;
}

.giveaway-images {
  display: flex;
  height: calc(100vh - 500px);
}

h3.privacy-policy {

  margin-bottom: 0;
}

.privacy-policy {
  cursor: pointer;
  color: white;
  font-family: "Lexend Deca", sans-serif;
  font-style: normal;
}

.giveaway-images img {
  width: 50%;
  object-fit: cover;
}

.sign-up-container {
  padding: 40px 40px 10px 40px;
}

#contact-us {
  background-color: #3C2F2F;
}

.contact-us-title {
  color: white;
  font-size: 2rem;
  padding-top: 36px;
}

.location-container h1,
.location-container h2,
iframe {
  position: relative;
  z-index: 2;
}

.contact-us-subtitle {
  color: white;
  font-size: 1.5rem;
  margin: 50px;
}

.location-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 47, 47, 0.5);
  z-index: 1;
}

.location-container {
  position: relative;
  background: url("/assets/images/location-img_copy.jpg") no-repeat center center;
  background-size: cover;
  min-height: 488px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
  overflow: hidden;
}

footer {
  height: 315px;
}

.center-wrap-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.policy-wrap {
  min-height: auto;
}

/* giveaway */
.signup-form {
  background-color: #5C6159;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.signup-form h2 {
  margin-top: 0;
}

.signup-form p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 5px 10px;
}

.input-wrapper .icon {
  font-size: 1.125rem;
  margin-right: 8px;
  color: #555;
}

.input-wrapper input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  padding: 8px 0;
}

.subscribe-btn {
  display: inline-block;
  background-color: #777;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

input {
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  font-style: normal;
}

.subscribe-btn:hover {
  background-color: #666;
}

.about-us-gallery img {
  height: 40%;
  width: 40%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem;
}

.card {
  flex: 0 0 300px;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 1rem;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  min-height: 310px;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #333;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.privacy-page h1,
.privacy-page p {
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
  color: white;
}

.privacy-page ul {
  margin-left: 15%;
  margin-right: 15%;
  list-style-position: inside;
  text-align: left;
}

.privacy-page li {
  margin-bottom: 5px;
  text-align: left;
  color: white;
}

.privacy-page main section {
  background-color: #2B2727;
  padding-top: 25px;
  min-height: calc(100vh - 62px);
}

.overlay.privacy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 47, 47, 0.5);
  z-index: 0;
  pointer-events: none;
}

.back-to-home-btn {
  color: white;
  text-decoration: none;
}

/* DESKTOP NAVIGATION */
@media (min-width: 1024px) {
  .hamburger {
    display: none; /* hide burger on desktop */
  }

  .menu {
    margin-left: auto;
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    gap: 3rem;
    padding: 0 50px 0 0;
    text-transform: uppercase;
  }
}