/* Base styles */
@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/recoleta-semibold-webfont.woff2') format('woff2'),
       url('../fonts/recoleta-semibold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-text: hsl(80, 48%, 18%);
  --color-text--light: hsl(70, 9%, 40%);
  
  --color-green--dark: hsl(123, 38%, 24%);
  --color-green--light: hsl(81, 48%, 65%);
  --color-green--light--hover: hsl(81, 48%, 45%);

  --color-yellow: hsl(61, 100%, 80%);

  --color-yellow--bg: hsl(60, 100%, 90%);
  --color-yellow--lightest: hsl(60, 100%, 95%);

  --color-dark-green--bg: hsl(123, 37%, 88%);
  --color-light-green--bg: hsl(80, 100%, 91%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth !important;
}

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--color-text);
  background-color: var(--color-yellow--bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-green--dark);
  font-family: "Recoleta", serif;
  font-style: normal;
  font-stretch: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0;
}

h1 {
  font-size: 4.5rem;
  text-shadow: -3px 3px 0px var(--color-green--light);
  line-height: 1.2;
}

h2 {
  font-size: 3rem;
  text-shadow: -2px 2px 0px var(--color-green--light);
}

a {
  color: var(--color-text);
  text-decoration-color: rgba(108, 111, 93, .5);
  transition: text-decoration-color 120ms ease-in;
}

a:hover {
  text-decoration-color: var(--color-text);
}

.button {
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--color-green--light) 0%, color-mix(in srgb, var(--color-green--light) 90%, white) 100%);
  box-shadow: 0 4px 6px -1px rgba(38, 84, 40, 0.1), 0 2px 4px -1px rgba(38, 84, 40, 0.06);
  margin-bottom: 5rem;
  transition: all 0.2s ease-in-out;
  border: 3px solid rgba(38, 84, 40, 0.2);
  cursor: pointer !important;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.product-form .button {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px -1px rgba(38, 84, 40, 0.15), 0 4px 6px -1px rgba(38, 84, 40, 0.1);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-green--light) 90%, white) 0%, var(--color-green--light) 100%);
  border-color: rgba(38, 84, 40, 0.2);
}

.button:focus {
  outline: none;
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-green--dark);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px -1px rgba(38, 84, 40, 0.1), 0 1px 2px -1px rgba(38, 84, 40, 0.06);
  border-color: rgba(38, 84, 40, 0.15);
}

/* Utility classes */
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

main:focus {
  outline: 0;
}

.hidden {
  display: none !important;
}

/* Newsletter form */
.newsletter-form {
  width: 100%;
}

.newsletter-form__field-wrapper {
  display: flex;
  gap: 1rem;
}

.newsletter-form__message {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.newsletter-form__message--success {
  color: var(--color-green--dark);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
  padding: 1rem 0;
}

.newsletter-form__message--success svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  color: var(--color-green--dark);
}

.newsletter-form__button {
  font-size: 1.25rem;
  padding: 1rem 2rem;
  width: 100%;
  margin: 1rem 0 0 0;
}

/* Responsive styles */
@media (max-width: 70rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3rem;
    text-shadow: -2px 2px 0px var(--color-green--light);
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 55rem) {
  body {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
  }
} 