@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap");

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

body {
  font-family: "Noto Sans Thai", sans-serif;

  color: #333;
}

.hero-section img {
  width: 100%;
}
.mobile-banner {
    display: none;
}
.content-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.main-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #8b4513;
  font-weight: 300;
  letter-spacing: 2px;
}

.description {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.form-container {
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
}

.form-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #8b4513;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  border-color: #8b4513;
  outline: none;
  box-shadow: 0 0 10px rgba(139, 69, 19, 0.2);
}

.project-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.project-option {
  width: 100%;
  height: 350px;
  background-color: #f4e5c1;
  border: 4px solid #f8f8f8;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.4);
  position: relative;
}

.project-option:hover {
  border-color: #d4d4d4;
}

.project-option.selected {
  border-color: #f37a21;
  border: 4px solid #f37a21;
}
.project-option.selected::after {
  content: "✔";
  position: absolute;
  bottom: 5px;
  right: 5px;
  color: white;
  background-color: #f37a21;
  border-radius: 50%;
  font-size: 14px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.project-option input[type="radio"] {
  margin-right: 1rem;
  accent-color: #8b4513;
  display: none;
}
.project-img {
  position: relative;
}
.project-option img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.project-name {
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-top: 5px;
}
.project-desc {
  text-align: center;
  width: 100%;
  padding: 0 5px;
}
.project-price {
  text-align: center;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translate(-50%);
}
.project-link {
  position: absolute;
  top: -15px;
  right: 0;
  transform: translateY(50%);
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.project-detail-img {
  filter: invert(1);
  width: 24px !important;
  height: 24px !important;
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.submit-btn.loading {
  color: transparent;
}

.submit-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 1rem;
  display: none;
}
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.consent-group input[type="checkbox"] {
  margin-top: 0.2rem;
  transform: scale(1.2);
  accent-color: #8b4513;
}

.consent-label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.privacy-link {
  color: #8b4513;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-link:hover {
  color: #d2691e;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
}

.close-modal:hover {
  color: #333;
}
.modal h1 {
  font-size: 24px;
}
.modal h2 {
  font-size: 22px;
  margin-top: 1.5rem;
}
.modal h3 {
  font-size: 18px;
  margin-top: 1rem;
}

.modal ul {
  margin-top: 1rem;
 font-size: 16px;
 list-style: none;
}

.thank-page {
  background-color: #f4e5c1;
  width: 100vw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #752b16;
  text-align: center;
  width: 90%;
}
@media (max-width: 768px) {
    .desktop-banner {
        display: none;
    }
    .mobile-banner {
        display: block;
    }
  .project-options {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
  }
  .logo-circle {
    width: 250px;
    height: 250px;
  }

  .venue-text {
    font-size: 2.5rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .main-heading {
    font-size: 2rem;
  }

  .coming-soon {
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
  }
}

.decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.decorative-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.decorative-circle:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 70%;
  right: 15%;
  animation: float 4s ease-in-out infinite reverse;
}

.decorative-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
