/* ============================================================
   BASE STYLES
   Element-level defaults (typography, links, forms, tables)
   Uses CSS variables from variables.css
   ============================================================ */

/* Document */
html {
  font-size: 100%; /* 16px base */
}

body {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: var(1rem);
  line-height: 1.5;
  color: var(--color-text, #222);
  background-color: var(--color-background, #fff);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-3, 1rem);
  color: var(--blue);
}

h1, h2, h3, h4, h5{ font-size: clamp(2rem, 5vw, 3rem); }


/* Paragraphs */
p {
  margin: 0 0 var(--space-4, 1.5rem);
  font-size: var(--font-size-1);
   letter-spacing: 0.02em;
   text-align: center;
    height: auto;

}

/* Links */
a {

  color: var(--orange-mid);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  font-size: var(--font-size-1);
}

a:hover,
a:focus {
  color: var( --orange-light);
  text-decoration: none;
}
a:visited{color: var(--orange-mid);}

/* Lists */
ul, ol {
  margin: 0 0 var(--space-4, 1.5rem) var(--space-5, 2rem);
  padding: 0;
}

li {
  margin: 0 0 var(--space-2, 0.5rem);
}

/* Blockquotes */
blockquote {
  margin: var(--space-4, 1.5rem) 0;
  padding-left: var(--space-4, 1.5rem);
  border-left: 3px solid var(--color-border, #ccc);
  color: var(--color-text-muted, #555);
  font-style: italic;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--space-4, 1.5rem);
}

th, td {
  border: 1px solid var(--color-border, #ddd);
  padding: var(--space-2, 0.5rem) var(--space-3, 1rem);
  text-align: left;
}

/* Forms */
input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  background-color: var(--color-form-bg, #fff);
  border: 1px solid var(--color-border, #ccc);
  padding: var(--space-2, 0.5rem);
  border-radius: 4px;
}


/* ===========================
   Universal Button Styles
   =========================== */
.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  display: inline-block;
  padding: clamp(0.2rem, 1vw, 0.5rem) clamp(0.3rem, 1vw, 1.5rem);
  padding: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--orange-mid);
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  /* Only transition what you need */
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

/* Hover state – lighter gradient */
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Active/Pressed state – darker + slight shrink */
.btn:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
  background: var(--orange-dark);
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(255, 140, 66, 0.25);
  color: #fff;
}

.btn:visited,
button:visited {
  color: #fff;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

