body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    background-color: #000;
}



.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #111;
    padding: 15px 0;
    height: 60px;
    
   
} 

.nav-home {
    color: #ff3333; 
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease; 

}

.nav-menu {
   color: #f39c12; 
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s ease; 

}

.nav-events {
   color: #27ae60; 
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s ease; 

}

.nav-gallery {
   color: #ff3333; 
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s ease; 

}

.nav-orderCake {
   color: #f39c12; 
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s ease; 

}

.nav-merch {
   color: #27ae60; 
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s ease; 

}

.nav-contact {
   color: #ff3333; 
   text-decoration: none;
   font-weight: 500;
   font-size: 16px;
   transition: color 0.3s ease; 

}

.navbar a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        
    }
    .navbar a {
        padding: 5px 10px 0;
        font-size: 10px;
    }
}



 .ticker-container {
  position: fixed; 
  bottom: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  background-color: black;
  z-index: 999;
}

 .ticker-text {
  position: absolute;
  white-space: nowrap;
  font-size: 20px;
  font-weight: bold;
  color: red;
  animation: scroll-left 10s linear forwards;
  display: none;
  padding-left: 100%;
}

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



 #menu-section {
  background: url('images/gallery19.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  
}

.menu-title {
  color: #fff8e7;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-top: 20px; 
  margin-bottom: 30px;
}

.menu-frame {
  background-color: rgba(255, 250, 240, 0.05);
  border: 1px solid rgba(255, 215, 160, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 215, 160, 0.1);
  padding: 40px;
  width: 90%;
  max-width: 600px;
  color: #fcebd4;
  font-family: 'Georgia', serif;
}

.menu-frame h2 {
  color: #ffdba3;
  border-bottom: 1px solid rgba(255, 215, 160, 0.2);
  padding-bottom: 6px;
  margin-top: 25px;
  font-size: 22px;
}

.menu-frame ul {
  list-style-type: none;
  padding: 0;
}

.menu-frame li {
  margin: 10px 0;
  font-size: 16px;
}



#event-section {
  background-color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 20px;
}

.event-title {
  color: #fff8e7;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 30px;
  line-height: 1;
}

.event-frame {
  background-color: rgba(255, 250, 240, 0.05);
  border: 1px solid rgba(255, 215, 160, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 215, 160, 0.1);
  padding: 40px;
  width: 90%;
  max-width: 600px;
  color: #fcebd4;
  font-family: 'Georgia', serif;
}

.event-frame h2 {
  color: #ffdba3;
  border-bottom: 1px solid rgba(255, 215, 160, 0.2);
  padding-bottom: 6px;
  margin-top: 10px;
  font-size: 22px;
}

.event-frame ul {
  list-style-type: none;
  padding: 0;
}

.event-frame li {
  margin: 10px 0;
  font-size: 16px;
}



.gallery-section {
  padding: 40px;
  text-align: center;
  color: white;
  font-family: 'Playfair Display', serif;
}

.gallery-title {
  color: #fff8e7;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0 20px;
  }
  
  .gallery-grid img {
    height: 200px;
  }
  
  .nav-arrow {
    font-size: 40px;
    padding: 8px;
  }
  
  .prev-arrow {
    left: 25px;
  }
  
  .next-arrow {
    right: 25px;
  }
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 255, 0.6); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Lightbox image */
.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  border-radius: 10px;
  border: 1px solid rgba(0, 123, 255, 0.6); 
  
}


/* Close button */
.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover {
  color: #ff3333;
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 10px;
  border-radius: 8px;
  display: block !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.nav-arrow:hover {
  color: #ff3333;
  background-color: rgba(0, 0, 0, 0.9);
  border-color: #ff3333;
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: 100px;
}

.next-arrow {
  right: 100px;
}



.language-selector {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column; /* Stack flags vertically */
    gap: 15px;
    z-index: 1001;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.flag-btn {
    width: 40px;
    height: 40px;
    font-size: 25px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}


.flag-btn:hover {
    transform: scale(1.1);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
}


.flag-btn.active {
    border: 2px solid #00ffff;
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(0, 255, 255, 0.3),
        0 0 45px rgba(0, 255, 255, 0.1);
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(0, 255, 255, 0.5),
            0 0 30px rgba(0, 255, 255, 0.3),
            0 0 45px rgba(0, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    }
}


.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}


.overlay-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  top: 40%;
  color: #ff3333;
  padding: 40px 20px;
}

.overlay-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', 'Noto Sans Thai', serif !important;
}

.overlay-content p {
  font-size: 1.2rem;
  opacity: 0.8;
  font-family: 'Playfair Display', 'Noto Sans Thai', serif !important;
}



#contact-section {
  padding: 40px;
}

.contact-title {
  color: #fff8e7;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-top: 30px; 
  margin-bottom: 30px;
  text-align: center;
}

#map-section {
  flex: 1; /* map takes remaining space */
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 40px;
  border: 1px solid rgba(0, 123, 255, 0.6); overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.3);
  
}

#map-section iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 6px;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}


.contact-info {
    text-align: center;
    color: #fff8e7;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-top: 30px; /* Gap between map and text */
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Prevents text from touching the screen edge on small devices */
}

.contact-info strong {
    color: #3352ff; /* Highlights labels in red */
}



.credit-container {
    text-align: center;
    margin: 30px auto 0;
    margin-top: 0px;
    font-size: 14px;
    line-height: 1.8;
    width: 45%;
    max-width: 450px;
    transform: translateX(0);
    padding-bottom: 40px;
    padding: 25px;
}

.credit-container h3 {
    margin: 15px 0;
    font-size: 18px;
    letter-spacing: 3px;
    color: #ffd7a0; /* matches the golden tone */
}

.credit-container a {
    color: #ffd7a0;
    text-decoration: none;
    font-weight: bold;
}

.credit-container a:hover {
    text-decoration: underline;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .credit-container {
    width: 92,5%;        /* make the container wider */
    max-width: 95%;    /* let it expand more */
    font-size: 10px;   /* optional: slightly larger text for readability */
    padding: 30px;     /* give a little breathing room */
  }
}



.merch-title {
  color: #fff8e7;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-top: 70px; 
  margin-bottom: 30px;
  text-align: center;
}


.merch-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Gallery Items */
.merch-item {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.6); 
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease;
}

.merch-item:hover {
    transform: translateY(-5px);
}

.merch-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Info */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-info h3 {
        font-size: 1rem;
    }
}


.site-footer {
    text-align: center;
    color: red;              /* Text color */
    font-size: 14px;
    padding: 15px 10px;
    background-color: transparent; /* Keep background transparent or change as needed */
    font-family: 'Helvetica Neue', sans-serif;
    min-height: 80px;
}


#404-section {
  background: url('images/img49.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}



