* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Sarabun', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* Logo */
.logo img {
    max-width: 600px;
  height: auto;
  display: block;
  margin: 10px auto;
}

/* Running text marquee */
.font-run {
  background: #006699;
  color: white;
  padding: 8px 0;
}

.marquee p {
  text-align: center;
  font-size: 16px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  overflow: hidden;
}

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

/* Nav */
.nav {
  background: #003366;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav ul li:hover {
  background: #0055aa;
}

.nav ul li ul {
  display: none;
  position: absolute;
  background: #003366;
  top: 100%;
  left: 0;
  min-width: 180px;
}

.nav ul li:hover ul {
  display: block;
}

.nav ul li ul li a {
  padding: 10px 15px;
}

/* Picture title */
.picture-title {
  background: #0055aa;
  color: white;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
}

.picture-title h2, .picture-title h3, .picture-title h5 {
  font-weight: 600;
}

/* Picture grid */
.picture-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 15px;
  background: white;
}

.picture-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.picture-item img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #333;
  color: white;
  margin-top: 30px;
}

.footer-top-con {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px 10px;
}

.footer-top-item {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-top-item h6, .footer-top-item p {
  margin-bottom: 8px;
}

/* Facebook iframe responsive */
.fb-page {
  max-width: 100%;
}

/* iframe map responsive */
.footer-top-item iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* Back to Top button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 14px;
  border: none;
  outline: none;
  background-color: #0055aa;
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

#myBtn:hover {
  background-color: #333;
}

/* Responsive Nav Stack on mobile */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
  }
  .nav ul li ul {
    position: static;
  }
}

