html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: #fff;
  font-family: "Barlow", "Helvetica Neue", Helvetica, Arial, "Segoe UI", "Roboto", sans-serif;
  overflow: auto;
}

/* Full design canvas wrapper */
#design-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

#design-content {
  width: 100%;
  margin: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  min-height: 100vh;
}

/* Background image section */
#hback {
  background: url('/img/budamillhome.jpg') no-repeat center top;
  background-size: cover;
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
}

#hback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55vh; 
  background-color: rgba(60, 163, 242, 0.13);
  mix-blend-mode: darken;
  pointer-events: none;
  z-index: 1;
}

#hback-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  z-index: 2;
}

#navbar {
  background: transparent;
  padding: 1rem 1.7rem;
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  width: 100%;
  box-sizing: border-box;
}

#logo {
  width: 115px;
  height: 60px;
  background: url('/img/budamilllogo.png') center/contain no-repeat;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #6d6868;
  font-size: .8rem;
}

.nav-links li a:hover {
  color: #f52e04;
}

#social-icons {
  display: flex;
  gap: 0.5rem;
}

#social-icons a {
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

#social-icons img {
  width: 24px;
  height: 24px;
  display: block;
}

#social-icons a:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
}

#hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* --- Stay Awhile --- */
#stayawhile {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  max-width: 450px;
}

#carousel {
  flex: 0 0 auto;
  width: 100%;
  height: 200px;
  background: #fff;
  overflow: hidden;
  margin: .5rem 0 0 0;
}

#carousel-track {
  display: flex;
  height: 100%;
  gap: 0.5rem;
  justify-content: center;
  animation: scroll 20s linear infinite;
}

#carousel-track img {
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.contact-info {
  text-transform: uppercase;
}

#address-block {
  position: relative;
  float: right;
  bottom: 14rem;  
  right: 3rem;
  color: white;
  font-size: 1.1rem;
  line-height: 2.6rem;
}

#footer_insta {
  position: absolute;
  left: -3.5rem;  
  top: 1rem;
}

#footer_insta img {
  width: 24px;
  height: 24px;
  display: block;
}

#footer_fbook {
  position: absolute;
  left: -6.5rem;  
  top: 1rem;
}

#footer_fbook img {
  width: 24px;
  height: 24px;
  display: block;
}

/* --- Responsive breakpoints --- */
@media (max-width: 1024px) {
  #logo img {
    max-width: 100%;
    max-height: 50px;
  }
  #stayawhile {
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
  }
}

@media (max-width: 900px) {
  html, body {
    overflow: auto;
  }

  #design-content {
    width: 100vw;
    height: auto;
    min-height: 100vh;
  }

  #hback {
    background-size: cover;
    background-attachment: scroll;
    min-height: calc(100vh - 150px);
  }

  #navbar {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: auto;
  }

  #hamburger {
    display: flex;
    order: 1;
  }

		#logo {
			order: 2;
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
			width: 100px;
			height: 50px;
		}

  #social-icons {
    order: 3;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  #social-icons img {
    width: 20px;
    height: 20px;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    list-style: none;
    gap: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 200;
  }

  .nav-links.show {
    display: flex !important;
    background: white;
  }

  .nav-links li a {
    color: #000;
    font-weight: bold;
  }

  #stayawhile {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
  }

  #carousel {
    height: 150px;
  }
}

@media (max-width: 600px) {
  #logo {
    width: 80px;
    height: 38px;
  }
}

/* Portrait orientation */
@media screen and (orientation: portrait) {
  #design-content {
    width: 100vw;
    height: auto;
    min-height: 100vh;
  }

  #hback {
    background-size: cover;
    min-height: 80vh;
  }
}