@import url('https://fonts.googleapis.com/css2?family=Asimovian&display=swap');

/* =============================
   Global Reset & Base Styles
   ============================= */

/* Reset some default browser styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth font rendering */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Body defaults */
body {
  font-family: "Asimovian", sans-serif;
  line-height: 1.6;
  color: #333;
  background: url("../assets/green-texture.jpg");
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 0.5em;
  font-weight: 600;
}

/* Paragraphs */
p {
  margin-bottom: 1em;
  max-width: 70ch;
}

/* Links */
a {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #005fa3;
}

/* Images */
img {
  max-width: 100%;
  display: block;
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  background: #0077cc;
  color: white;
  font-size: 1rem;
  transition: background 0.3s;
}
button:hover {
  background: #005fa3;
}

/* Lists */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1em;
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.flex {
  display: flex;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

/* Footer always at bottom if content is short */
main {
  flex: 1;
  width: 60%;
  margin: auto;
  color: antiquewhite;
  padding: 2rem 0;
}

/* Icon Divider */
.icon-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 1rem;
}

.icon-divider span {
  flex: 1;
  height: 2px;
  background: #ccc;
}

.icon-divider .icon {
  font-size: 1.5rem;
}
