:root {
  --bg-main: #FEFAE0;
  --bg-soft: #E9EDC9;
  --bg-accent: #CCD5AE;
  --highlight: #D4A373;
  --text-main: #3a3a3a;
}


[data-theme="dark"] {
  --bg-main: #1f1f1f;
  --bg-soft: #2a2a2a;
  --bg-accent: #3a3a3a;
  --highlight: #D4A373;
  --text-main: #f5f5f5;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
}


nav {
  background: var(--bg-accent);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h3 {
  font-weight: 600;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

nav button {
  margin-left: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: var(--highlight);
  color: #fff;
  cursor: pointer;
}

main {
  flex: 1;
  padding: 3rem 2rem;
}


.hero {
  background: var(--bg-soft);
  padding: 5rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 28px;
  background: var(--highlight);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: #6b705c;
  margin-bottom: 1.2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--highlight);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.pomodoro {
  background: var(--bg-soft);
  max-width: 420px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}


#timer {
  font-size: 3.2rem;
  font-weight: bold;
  margin: 1.5rem 0;
}

.pomodoro-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.pomodoro button {
  padding: 12px 22px;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: var(--highlight);
  color: #fff;
  transition: 0.2s ease;
}

.pomodoro button:hover {
  background: #b98a5a;
  transform: translateY(-2px);
}

.dashboard {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.task-input {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.task-input input {
  padding: 10px;
  width: 70%;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.task-input button {
  padding: 10px 16px;
  background: var(--highlight);
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

#taskList {
  list-style: none;
  padding: 0;
}

#taskList li {
  background: var(--bg-soft);
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  text-align: left;
}



.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.5rem;
}

.quiz-options button {
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--highlight);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
}

.quiz-options button:hover {
  background: var(--highlight);
  color: white;
}



footer {
  background: var(--bg-accent);
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
}
