@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Noto+Sans+Thai:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Thai', sans-serif;
  background: #100b07;
  color: #f8f1e8;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 8, 5, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(210, 160, 90, 0.28);
}

.logo {
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: 18px;
  color: #e5b46d;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #fff7ec;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.95;
}

nav a:hover {
  color: #e5b46d;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  background-image: url("images/hero-surf.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 7, 5, 0.9) 0%,
    rgba(10, 7, 5, 0.72) 42%,
    rgba(10, 7, 5, 0.45) 72%,
    rgba(10, 7, 5, 0.58) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 42px;
  background: rgba(20, 13, 8, 0.62);
  border: 1px solid rgba(229, 180, 109, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.eyebrow {
  font-family: 'Cinzel', serif;
  color: #e5b46d;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 600;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

p {
  font-size: 17px;
  line-height: 1.9;
  color: #f7eadb;
}

.hero-actions {
  margin-top: 34px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn.primary {
  background: #e5b46d;
  color: #140d08;
}

.btn.primary:hover {
  background: #f2c986;
  transform: translateY(-2px);
}

.btn.secondary {
  background: #fff7ec;
  color: #1a1009;
  border: 1px solid rgba(155, 106, 50, 0.55);
}

.btn.secondary:hover {
  background: #e5b46d;
  color: #140d08;
  transform: translateY(-2px);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  margin-bottom: 16px;
  background: #06C755;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(6, 199, 85, 0.22);
  transition: 0.25s ease;
}

.contact-btn:hover {
  background: #05b64d;
  transform: translateY(-2px);
}

.section {
  padding: 110px 8%;
  background: #f4eadc;
  color: #1a1009;
}

.section p {
  color: #3f3025;
  max-width: 850px;
}

.section .eyebrow {
  color: #8a5a25;
}

.section.dark,
.section.dark-alt {
  position: relative;
  background:
    linear-gradient(rgba(16, 11, 7, 0.86), rgba(16, 11, 7, 0.86)),
    url("images/hero-surf.jpg");
  background-size: cover;
  background-position: center;
  color: #f8f1e8;
}

.section.dark p,
.section.dark-alt p {
  color: #f0ddc7;
}

.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  padding: 34px;
  border-radius: 24px;
  background: #fff8ef;
  border: 1px solid rgba(130, 88, 43, 0.18);
  box-shadow: 0 20px 50px rgba(56, 34, 15, 0.12);
}

.card h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #6b411c;
  font-weight: 600;
}

.card p {
  color: #3f3025;
  line-height: 1.8;
}

.contact {
  text-align: center;
}

.contact p {
  margin: 0 auto 8px;
  color: #3f3025;
}

.contact .btn {
  margin-top: 28px;
}

footer {
  padding: 26px 8%;
  text-align: center;
  background: #0b0704;
  color: #d2b58f;
  font-size: 14px;
}

.menu-pdf-box,
.menu-header {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.menu-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b411c, #1a1009);
  color: #fff7ec;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid rgba(229, 180, 109, 0.55);
  box-shadow: 0 18px 45px rgba(56, 34, 15, 0.22);
  transition: 0.25s ease;
}

.menu-pdf-btn::before {
  content: "☕";
  font-size: 18px;
}

.menu-pdf-btn::after {
  content: "→";
  font-size: 18px;
  transition: 0.25s ease;
}

.menu-pdf-btn:hover {
  background: linear-gradient(135deg, #e5b46d, #9b6a32);
  color: #140d08;
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(56, 34, 15, 0.32);
}

.menu-pdf-btn:hover::after {
  transform: translateX(4px);
}

.gallery-slider {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.photo-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff8ef;
  box-shadow: 0 20px 50px rgba(56, 34, 15, 0.12);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease;
}

.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #06C755;
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}

.line-btn:hover {
  background: #05b64d;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .navbar {
    padding: 18px 6%;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 110px 6% 60px;
    background-position: center;
  }

  .hero-content {
    padding: 28px;
  }

  .section {
    padding: 80px 6%;
  }

  .cards,
  .gallery-slider {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .photo-card {
    height: 230px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn,
  .contact-btn {
    width: 100%;
  }
}

/* ================================
   Lucky Reward Wheel
================================ */

.reward-section {
  position: relative;
  background:
    radial-gradient(circle at top, rgba(16, 96, 112, 0.55), rgba(16, 11, 7, 0.95) 60%),
    url("images/hero-surf.jpg");
  background-size: cover;
  background-position: center;
  color: #f8f1e8;
  text-align: center;
}

.reward-section p {
  color: #f0ddc7;
  margin-left: auto;
  margin-right: auto;
}

.reward-section .eyebrow {
  color: #e5b46d;
}

.reward-box {
  max-width: 540px;
  margin: 42px auto 0;
  padding: 34px;
  border-radius: 28px;
  background: rgba(20, 13, 8, 0.72);
  border: 1px solid rgba(229, 180, 109, 0.42);
  backdrop-filter: blur(10px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.reward-input {
  width: 100%;
  max-width: 300px;
  padding: 15px 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(229, 180, 109, 0.4);
  border-radius: 999px;
  background: #fff8ef;
  color: #1a1009;
  text-align: center;
  font-size: 16px;
  outline: none;
}

.reward-input:focus {
  border-color: #e5b46d;
  box-shadow: 0 0 0 4px rgba(229, 180, 109, 0.16);
}

.wheel-wrap {
  position: relative;
  width: 285px;
  height: 285px;
  margin: 34px auto;
}

.wheel-pointer {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid #e5b46d;
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.45));
  font-size: 0;
}

.wheel {
  position: relative;
  width: 285px;
  height: 285px;
  border-radius: 50%;
  border: 8px solid #e5b46d;
  background: conic-gradient(
    #0e7c86 0deg 90deg,
    #e5b46d 90deg 180deg,
    #6b411c 180deg 270deg,
    #f4eadc 270deg 360deg
  );
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.45),
    inset 0 0 35px rgba(0, 0, 0, 0.25);
  transition: transform 3.5s cubic-bezier(.12,.78,.18,1);
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.45);
}

.wheel-center {
  position: absolute;
  width: 92px;
  height: 92px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #100b07;
  border: 3px solid #e5b46d;
  border-radius: 50%;
  color: #e5b46d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 2;
}

.wheel-label {
  position: absolute;
  font-size: 18px;
  font-weight: 800;
  z-index: 3;
  text-shadow: 0 2px 5px rgba(0,0,0,.4);
}

/* ช่องบนขวา */
.label-1 {
  top: 58px;
  right: 54px;
  left: auto;
  transform: rotate(45deg);
}

.label-2 {
  top: 145px;
  right: 48px;
  left: auto;
  transform: rotate(-35deg);
}

.label-3 {
  bottom: 70px;
  left: 52px;
  right: auto;
  transform: rotate(45deg);
}

.label-4 {
  top: 62px;
  left: 50px;
  right: auto;
  transform: rotate(-42deg);
}

.reward-result {
  margin-top: 22px;
  font-size: 21px;
  font-weight: 700;
  color: #e5b46d !important;
}

.reward-note {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.8;
  color: #f0ddc7 !important;
}

@media (max-width: 900px) {
  .reward-box {
    padding: 26px 20px;
  }

  .wheel-wrap,
  .wheel {
    width: 250px;
    height: 250px;
  }

  .wheel-center {
    width: 78px;
    height: 78px;
  }

  .wheel-label {
    font-size: 16px;
  }

  /* 5% */
  .label-1 {
    top: 45px;
    right: 42px;
    left: auto;
    transform: rotate(45deg);
  }

  /* 10% */
  .label-2 {
    top: 120px;
    right: 28px;
    left: auto;
    transform: rotate(-35deg);
  }

  /* ฟรีเค้ก */
  .label-3 {
    bottom: 55px;
    left: 48px;
    right: auto;
    transform: rotate(45deg);
  }

  /* ฟรีน้ำ */
  .label-4 {
    top: 52px;
    left: 42px;
    right: auto;
    transform: rotate(-42deg);
  }
}
/* QR Code Reward */
.qr-box {
  margin-top: 20px;
  text-align: center;
}

.qr-title {
  color: #e5b46d;
  font-size: 16px;
  margin-bottom: 12px;
}

#qrcode {
  display: flex;
  justify-content: center;
  align-items: center;
}

#qrcode img,
#qrcode canvas {
  border: 8px solid #fff8ef;
  border-radius: 12px;
  background: #fff8ef;
}
@media (max-width: 900px) {
  .wheel-wrap,
  .wheel {
    width: 250px !important;
    height: 250px !important;
  }

  .wheel-center {
    width: 78px !important;
    height: 78px !important;
  }

  .wheel-label {
    font-size: 16px !important;
    font-weight: 800 !important;
    z-index: 10 !important;
  }

  .label-1 {
    top: 42px !important;
    right: 48px !important;
    left: auto !important;
    bottom: auto !important;
    transform: rotate(45deg) !important;
  }

  .label-2 {
    top: 124px !important;
    right: 36px !important;
    left: auto !important;
    bottom: auto !important;
    transform: rotate(-35deg) !important;
  }

  .label-3 {
    top: auto !important;
    bottom: 60px !important;
    left: 50px !important;
    right: auto !important;
    transform: rotate(45deg) !important;
  }

  .label-4 {
    top: 54px !important;
    left: 44px !important;
    right: auto !important;
    bottom: auto !important;
    transform: rotate(-42deg) !important;
  }
}
@media (max-width: 900px) {
  .label-4 {
    color: #2b1707 !important;
    text-shadow: none !important;
  }
}