html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #f7efe6 0, #e8d8c8 40%, #e0d0c0 100%);
  color: #3b3026;
  line-height: 1.6;
}

.page-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 96px 24px 48px;   
}



.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(90deg, #5b3b24, #70452a);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
}




.logo {
  font-weight: 700;
  color: #fdf7f0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: space-around;
  width: 100%;
  padding: 0;    
}


.top-nav a {
  color: #fdf7f0;
  text-decoration: none;
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 0px;
  border-radius: 0px;
  background: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.top-nav a:hover {
  background: rgba(28, 16, 10, 0.5);
  transform: translateY(-1px);
}


.hero {
  background: #d4c4b7;
  border-radius: 18px;
  padding: 40px 28px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid #c7b7a7;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #3b2414;
}

.hero p {
  font-size: 0.95rem;
  color: #6a5744;
}


.form-section {
  background: #fdf9f4;
  border-radius: 14px;
  padding: 24px 26px 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(166, 137, 104, 0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.form-section h2 {
  font-size: 1.2rem;
  color: #4b3522;
  margin-bottom: 6px;
}

.section-intro {
  font-size: 0.9rem;
  color: #7a6551;
  margin-bottom: 14px;
}


form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4b3522;
}


input,
select,
textarea {
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #d5c2aa;
  font-size: 0.95rem;
  font-family: 'Quicksand', system-ui, sans-serif;
  background: #fdf7f0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #c48b45;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(196, 139, 69, 0.35);
}


fieldset {
  border-radius: 10px;
  border: 1px solid rgba(125, 96, 63, 0.3);
  padding: 12px 12px 10px;
}

legend {
  padding: 0 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #4b3522;
}


.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #3b3026;
}

.checkbox-label input,
.radio-label input {
  width: auto;
  margin-top: 0;
}


#sugar {
  width: 100%;
  margin-top: 10px;
}

#sugarValue {
  font-weight: 700;
  color: #c48b45;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Quicksand', system-ui, sans-serif;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: #5b3b24;
  color: #fff;
  box-shadow: 0 4px 12px rgba(91, 59, 36, 0.45);
}

.btn.primary:hover {
  background: #4b2f1d;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(91, 59, 36, 0.6);
}

.btn.secondary {
  background: #f4ede3;
  color: #4b3522;
  border: 1px solid #d5c2aa;
}

.btn.secondary:hover {
  background: #e6d8c7;
}



.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #7a6551;
  padding: 16px 12px 28px;
}



@media (max-width: 900px) {
  .top-nav {
    padding: 0 16px;
  }

  .page-content {
    padding: 88px 16px 40px;
  }

  .hero {
    padding: 32px 18px 26px;
  }

  .form-section {
    padding: 20px 18px 22px;
  }
}


@media (max-width: 640px) {
  .top-nav {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px 10px;
    gap: 6px;
  }

  .logo {
    font-size: 0.8rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .top-nav a {
    font-size: 0.75rem;
    padding: 4px 9px;
  }

  .page-content {
    padding: 110px 12px 32px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .form-section h2 {
    font-size: 1.05rem;
  }
}
