/* styles.css
   Minimal, modern responsive layout for the Momentum landing page.
   Customize the --accent color and font sizes below.
*/

:root{
  --bg: #ffffff;
  --surface: #f7f8fb;
  --text: #1f2933;
  --muted: #6b7280;
  --accent: #03b3a9; /* teal-ish accent */
  --accent-700: #029589;
  --radius: 12px;
  --container: 1100px;
  --shadow: 0 6px 18px rgba(31,41,51,0.06);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  font-size:16px;
}

/* container */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--text);
}

.hero input {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 200px;
}

.hero button {
  background: var(--accent);
  border: none;
  color: white;
  padding: 8px 14px;
  margin-left: 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}
.hero button:hover { 
  background: var(--accent-dark); 
}

/* Main card */

.main2, .hero {
  padding-left: 5%;
  padding-right: 5%;
}

.card {
  width: 100%;
  background: var(--surface);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Controls: inline task input + buttons */
#controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#nameInputArea {
    margin-top: 50px;
    margin-bottom: 50px;
}

.card {
    margin-top: 50px;
}



#taskInput {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

button.action {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: var(--accent);
  color: white;
  transition: 0.2s;
}
button.action:hover { 
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(3,179,169,0.4);
}

/* Task list items */
ul { list-style: none; padding: 0; margin: 20px 0; }
li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 1rem;
  background: #fefefe;
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
li div {
  display: flex;
  align-items: center; 
  gap: 12px;
}

/* Custom checkbox as Momentum style */
.checkbox {
  width: 36px;
  height: 36px;
  border: 2px solid #dfe6ea;
  border-radius: 8px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.checkbox.checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.checkbox:hover {
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(3,179,169,0.4);
}


/* Delete button */
.delete {
  cursor: pointer;
  color: var(--muted);
  font-weight: bold;
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
.delete:hover {
  color: red;
  transform: scale(1.3);
}

input[type="text"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: calc(100% - 20px);
  margin-bottom: 10px;
}

.no-tasks {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-top: 20px;
}

@media (max-width: 1000px) {
  .hero h1 { font-size: 1.7rem; }
  .card { padding: 20px; max-width: 95%; }
  input[type="text"], .hero input { width: 100%; }
}


.streaks {
  display: flex;
  justify-content: center;
  align-items: center;
}

.streak-image {
  width: 70px;
}

/* footer */
.site-footer{
  background:var(--accent);
  color:white;
  padding:28px 0 14px;
  padding-top: 50px;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.footer-title {
    color: var(--text);
    font-weight: bold;
    font-size: 55px;
}

.footer-subtitle {
    color: var(--text);
    font-weight: lighter;
    font-size: 25px;
}

.footer-div {
    margin-top: 50px;
    margin-bottom: 70px;
}

.footer-div2 {
    margin-top: 50px;
    margin-bottom: 20px;
}